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

Error when broadcasting tx - insufficient fees #750

Open
vchong opened this issue Sep 16, 2023 · 5 comments
Open

Error when broadcasting tx - insufficient fees #750

vchong opened this issue Sep 16, 2023 · 5 comments

Comments

@vchong
Copy link
Contributor

vchong commented Sep 16, 2023

[09:01:25.601] Bot balance is 2000000 ujuno
[09:01:25.578] Running with options: {
  batchPageSize: 100,
  batchQueries: 25,
  batchTxs: 25,
  delegationsTimeout: 20000,
  queryTimeout: 5000,
  queryThrottle: 100,
  gasModifier: 1.1
}
[09:01:25.982] TX 1: Failed 1 messages - Error when broadcasting tx C6D95F76118E02CA8A5CFEDDE59647DA790C886E7BC2F7D62F8F1FF48AA62CB5 at height 0. Code: 13; Raw log: insufficient fees; got: 591ujuno required: 709ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9,17713ujuno: insufficient fee
[09:01:26.321] Autostake failed after 3 attempt(s)

@tombeynon Based on previous issues, "gas config is now imported from Chain Registry so issues like this should be fixed now"?

How can we increase the fees via networks.local.json?

Thanks!

@vchong
Copy link
Contributor Author

vchong commented Sep 16, 2023

Added "gasPrice": "0.1ujuno" in networks.local.json and it worked, based on https://github.com/cosmos/chain-registry/blob/master/juno/chain.json#L20 (0.075ujuno).

Does this mean that importing gas config from the Chain Registry doesn't always work?
Do you think that perhaps increasing gasModifier to 1.2 will help?

@vchong
Copy link
Contributor Author

vchong commented Sep 16, 2023

@tombeynon Do you know how the Chain Registry arrives at the gas value(s) for each chain?

@tombeynon
Copy link
Contributor

@vchong currently the REStake script doesn't import gas prices from Chain Registry - this needs to be implemented and doesn't take much work, so I'll keep this issue open and implement ASAP.

Chain Registry gas values are either provided by chain owners/users, or I believe a number were imported from Keplr.

@vchong
Copy link
Contributor Author

vchong commented Nov 11, 2023

Thanks for the reply! Is there a way to figure out the (restake default) gas prices currently used? Asking to figure out what to set in networks.local.json in case increases are required.

@tombeynon
Copy link
Contributor

@vchong the default is just 0.025 currently, adjusted based on the number of decimals the chain uses. It's not very smart!

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

No branches or pull requests

2 participants