-
Notifications
You must be signed in to change notification settings - Fork 417
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
chore: tweaks to enroll non-evm warp routes #4447
base: main
Are you sure you want to change the base?
Conversation
|
chainsToGasCheck ?? chains, | ||
minGas, | ||
); | ||
// TODO: this should skip checks on non-evm chains |
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.
Why should we skip on non-evm?
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.
because the scripts just throw errors for non-evm chains - so whoever runs this script for non-evm chains should be warned that there's fewer checks, but still have the option to go ahead
Signed-off-by: pbio <[email protected]>
logGray(`Skipping balance check for non-EVM chain: ${chain}`); | ||
continue; | ||
} | ||
const address = multiProvider.getSigner(chain).getAddress(); |
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.
Hey @daniel-savu
I am trying to build the cli from source but due to line 22 being removed in this change, "address" becomes undefined and later in line 25 and 31 "address" is read. Resulting in a failed build, also there are a few unused variables which are logged during the build.
Can you please find time to check it once, thank you in advance.
minGas, | ||
skipConfirmation, | ||
); | ||
assertSigner(signer); |
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.
"signer " becomes undefined here
Description
Drive-by changes
Related issues
Backward compatibility
Testing