Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

review init #3

Merged
merged 10 commits into from
Apr 16, 2024
Merged

review init #3

merged 10 commits into from
Apr 16, 2024

Conversation

apoorvsadana
Copy link
Contributor

Reverts #2

@apoorvsadana apoorvsadana changed the title Revert "delete all" review init Apr 11, 2024
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/utils/deploy_utils.rs Outdated Show resolved Hide resolved
src/utils/deploy_utils.rs Outdated Show resolved Hide resolved
src/utils/arg_config.rs Outdated Show resolved Hide resolved
src/utils/utils.rs Outdated Show resolved Hide resolved
src/snos/lib.rs Outdated Show resolved Hide resolved
src/bridge_deploy_utils/lib.rs Outdated Show resolved Hide resolved
src/bridge_deploy_utils/lib/utils.rs Outdated Show resolved Hide resolved
src/bridge_deploy_utils/lib/constants.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/bridge/deploy_eth_bridge.rs Outdated Show resolved Hide resolved
src/bridge/helpers/eth_bridge.rs Outdated Show resolved Hide resolved
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's remove all unused constants

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move the constants used for tests in a new constants folder inside tests, otherwise it will create confusion. also, ig some constants like SN_GOERLI_CHAIN_ID, SPEC_VERSION, ANVIL_DEFAULT_PUBLIC_ADDRESS aren't being used

src/bridge/helpers/deploy_utils.rs Outdated Show resolved Hide resolved
src/felt/lib.rs Outdated Show resolved Hide resolved
src/bridge/contract_clients/config.rs Outdated Show resolved Hide resolved
src/bridge/contract_clients/config.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/bridge/contract_clients/config.rs Outdated Show resolved Hide resolved

sleep(Duration::from_secs(7)).await;

let address = get_contract_address_from_deploy_tx(&rpc_provider_l2, deploy_tx).await.expect("Error getting contract address from transaction hash");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you check this?

src/bridge/contract_clients/eth_bridge.rs Outdated Show resolved Hide resolved
src/bridge/deploy_erc20_bridge.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated
println!("{:?}", &args);

// args config
let config = ArgConfig::new(&args).unwrap_or_else(|err| {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how, we can just pass CliArgs? it's the same thing right?

src/tests/helpers.rs Outdated Show resolved Hide resolved
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move the constants used for tests in a new constants folder inside tests, otherwise it will create confusion. also, ig some constants like SN_GOERLI_CHAIN_ID, SPEC_VERSION, ANVIL_DEFAULT_PUBLIC_ADDRESS aren't being used

@ocdbytes ocdbytes merged commit 3a50b82 into main Apr 16, 2024
5 checks passed
@ocdbytes ocdbytes deleted the revert-2-delete_all branch April 16, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants