-
Notifications
You must be signed in to change notification settings - Fork 3
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
review init #3
Conversation
src/utils/constants.rs
Outdated
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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/utils/eth_bridge.rs
Outdated
|
||
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"); |
There was a problem hiding this comment.
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/main.rs
Outdated
println!("{:?}", &args); | ||
|
||
// args config | ||
let config = ArgConfig::new(&args).unwrap_or_else(|err| { |
There was a problem hiding this comment.
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/utils/constants.rs
Outdated
There was a problem hiding this comment.
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
Reverts #2