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

feat(forge): Add --priority-gas-price argument for forge script #5585

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

Sabnock01
Copy link
Contributor

Motivation

Currently, the estimated ETH_PRIORITY_GAS_PRICE used by forge script is unnecessarily large on L2's such as Optimism and Arbitrum. Resolves #5281

Solution

This PR adds an argument to manually set the priority gas price for forge script and uses that price if it is provided.

Additional context

@Sabnock01 Sabnock01 marked this pull request as ready for review August 10, 2023 12:51
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm,

merging+releasing this now, with followup improvements for L2

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.

feat(forge): make --priority-gas-price available in forge script
2 participants