-
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
cast send: add --bump-fee
flag that resends with iteratively increasing gas price
#4454
Comments
we have |
@mattsse, I would like to pick this up. Could you give me some advice on how to solve this issue? |
@mattsse @Thegaram Just some pointers I thought about before starting this:
|
Just a note @hackermayor1 — #4874 will add some changes to cast send that might affect your PR. |
@Evalir any thoughts from the questions raised by @hackermayor1
|
Closing in favor of #1803 |
Hi @zerosnacks, these two seems to be different features. #1803 is a static, one-time multiplier, while this issue requests a way to automatically resend a transaction with a higher gas price. |
--bump-fee
flag that resends with iteratively increasing gas price
I'm interested! |
Assigned! Related: #9067, this is a static multiplier for I think the ability to specify a max limit as proposed is important for safety / control |
I agree, we should implement safeguards. I was thinking of the following:
|
Component
Cast
Describe the feature you would like
I'm using
cast send
extensively in some scripts. Sometimes they fail withreplacement transaction underpriced
. I suggest having a flag that allows bumping the gas price automatically so that the script can replace the stuck transaction.--bump-fee
. If the transaction encounters the above error, we try resending it with iteratively increasing gas price (e.g. +10%) until we succeed.--bump-fee <MAX_GAS_PRICE>
. Same as above but provide an upper limit.I can take a go at implementing this if you think this would be a useful feature.
Additional context
No response
The text was updated successfully, but these errors were encountered: