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

chore: tweaks to enroll non-evm warp routes #4447

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

daniel-savu
Copy link
Contributor

Description

Drive-by changes

Related issues

Backward compatibility

Testing

Copy link

changeset-bot bot commented Sep 6, 2024

⚠️ No Changeset found

Latest commit: 4aaa782

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

chainsToGasCheck ?? chains,
minGas,
);
// TODO: this should skip checks on non-evm chains
Copy link
Contributor

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?

Copy link
Contributor Author

@daniel-savu daniel-savu Sep 9, 2024

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

@jmrossy jmrossy changed the title chore: tweaks to enrol non-evm warp routes chore: tweaks to enroll non-evm warp routes Sep 10, 2024
@daniel-savu daniel-savu requested a review from ltyu as a code owner November 1, 2024 12:44
logGray(`Skipping balance check for non-EVM chain: ${chain}`);
continue;
}
const address = multiProvider.getSigner(chain).getAddress();

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.
image

minGas,
skipConfirmation,
);
assertSigner(signer);

Choose a reason for hiding this comment

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

"signer " becomes undefined here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

4 participants