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

Fix: hardcore gas price value for zksync #78

Merged
merged 4 commits into from
Jul 1, 2024

Conversation

stackman27
Copy link
Collaborator

No description provided.

}

// if chainId is zksync-testnet or mainnet use custom gasPrice to enforce legacy tx
if chainID.Cmp(big.NewInt(300)) == 0 || chainID.Cmp(big.NewInt(324)) == 0 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's avoid magic numbers. Can we pull in the chain-selectors repo or define these as top level variables?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added!

@stackman27 stackman27 merged commit 3cf83b7 into develop Jul 1, 2024
3 checks passed
@jkongie jkongie deleted the sish/specify-gas-price branch November 15, 2024 08:22
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