kava icon indicating copy to clipboard operation
kava copied to clipboard

Use of --gas auto fails for delegations from validator vesting account

Open karzak opened this issue 5 years ago • 1 comments

Kava version: v0.3.0-rc1

To reproduce: kvcli tx staking delegate <kavavaloper...> 10ukava --from <validator-vesting-account-key> --gas auto

Transaction fails due to under-estimated gas.

karzak avatar Oct 18 '19 21:10 karzak

Related to https://github.com/cosmos/cosmos-sdk/issues/4938. This issue exists for all account types defined in cosmos-sdk, not just the validator vesting account. The workaround is to use -gas-adjustment and some positive multiplier. For delegation transactions, --gas-estimate 1.2 is sufficient.

karzak avatar Oct 18 '19 22:10 karzak