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

[OPS-SCRIPTS] gas price settings ignored in deploy script #1812

Closed
d10r opened this issue Jan 25, 2024 · 1 comment
Closed

[OPS-SCRIPTS] gas price settings ignored in deploy script #1812

d10r opened this issue Jan 25, 2024 · 1 comment
Assignees
Labels
Type: Bug Something isn't working

Comments

@d10r
Copy link
Collaborator

d10r commented Jan 25, 2024

max priority fee is set to 0.001 gwei for base-mainnet in truffle-config.
When deploying a contract from the truffle console, that is applied, see https://basescan.org/tx/0x5172a997f121f34f969bda3c3611182f4734043d2ffc60b8931f0445fc15d719
When deploying contracts from the script deploy-framework.js, the truffle default of 2.5 gwei is used, see https://basescan.org/tx/0x808be37a96fca67887340b76182db5e420f590547a245f51eb8be6f476802ca3

This causes 2 issues:

  • massive overpaying (~5x) on Optimism-based L2s (maybe others too)
  • txs to Polygon getting stuck because there's an unofficial (?) minimal priority fee of 30 gwei required to reliably get through
@d10r d10r added the Type: Bug Something isn't working label Jan 25, 2024
@d10r d10r self-assigned this Jan 25, 2024
@d10r
Copy link
Collaborator Author

d10r commented Feb 7, 2024

This was fixed with a rather ugly workaround as part of #1780

@d10r d10r closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant