-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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): make --priority-gas-price
available in forge script
#5281
Comments
+1, I think this is very important, I've been deploying some contracts to optimism, and the default 3 Gwei tip is many orders of magnitude higher than the gas price of about 60 Wei, so it costed me infinitely more. |
Do you mind if I take this one next week @Evalir ? |
@Sabnock01 feel free to take this |
I just wasted $200 deploying contracts because of same issue on BASE (optimism based). This is really important. I'm forced to switch to Hardhat now until it's fixed. |
ditto |
Yesterday deployed to Arbitrum, the hack for now is to use --legacy --with-gas-price, which in Arbitrum is easy cause it's almost always 0.1 gwei, OP chains vary more so its trickier, but prob worth it until @Sabnock01 free us from the pain :) |
ah yikes @Evalir let's fix this |
Also when you do so, pls pls make sure you look at the chain you're interacting with. This should be a thing done across the board, to include More info here: https://twitter.com/ultrasecreth/status/1687785758755622912?s=20 |
Component
Forge
Describe the feature you would like
The
--priority-gas-price
flag seems to be available only for theforge create
command:https://book.getfoundry.sh/reference/forge/forge-create?highlight=priority#options
Running
forge script --help
does not list this flag:https://app.warp.dev/block/8XMHLZq19VYER8fe5XpURz
Additional context
Output of
forge --version
:The text was updated successfully, but these errors were encountered: