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(core): Resolve bug sending transactions on polygon mainnet #923

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

RPate97
Copy link
Collaborator

@RPate97 RPate97 commented Aug 8, 2023

Purpose

Fixes an issue where the getGasPriceOverrides function returns a gas price that causes transactions to hang on polygon mainnet. This is due to an underlying bug in how Ethers interacts with Polygons implementation of EIP-1559. This issue has been natively resolved in Ethers v6, but migrating to the new Ethers version is non trivial so I've implemented a simple workaround. However, we should migrate to Ethers v6 when we have time for it as this workaround does not fully resolve the issue. This workaround simply makes it possible to send transactions on polygon using Ethers, but it's somewhat unreliable (I had to restart the core contract deployment process 3 times before it fully completed).

@github-actions github-actions bot added the core label Aug 8, 2023
@RPate97 RPate97 merged commit f070359 into develop Aug 8, 2023
2 checks passed
@RPate97 RPate97 deleted the pate/fix-polygon-mainnet branch August 8, 2023 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant