-
Notifications
You must be signed in to change notification settings - Fork 3.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
Keep increasing gas amount every time when unrevoke #1435
Comments
@cwgoes It eventually not only for unrevoke. Some other commands need more and more gas. I tried |
Thanks for reporting this. |
@sherry13131 please see if we have similar situation in our testnet. |
Alternatively, if you know the transaction hashes I can debug from those. |
This isn't quite correct; in some cases unrevoke will cause iteration over validators, which will consume additional gas. Likely the number of validators just increased between your successive unrevoke calls. We plan to have the CLI simulate transactions and choose an appropriate gas amount automatically. Closing in favor of #1246 since this is expected behavior, but please reopen if you run into any abnormal gas increases on your testnet. |
I have been revoked several time yesterday. I could unrevoke without the
--gas
flag before which means the default gas amount was enough to run the unrevoke. After a few unrevoke, I started to have to put the--gas
flag and I have to increase it every time. Otherwise, the transaction will be out of gas. I originally put 300000 and it works, then it has to be 350000 to be through, then 400000.The text was updated successfully, but these errors were encountered: