b-harvest / Canto

GNU Lesser General Public License v3.0
3 stars 4 forks source link

bug: Keyring address issue causing tx failure #87

Closed dudong2 closed 3 months ago

dudong2 commented 3 months ago

discovered during canto/v8 qa for cosmos-sdk basic modules.

branch: v8/delevop

> cantod tx feegrant prune --from canto1mn099lymkssyqg82a7ekj6nkajhspynwjxmpt3 --gas-prices 10000000000000000acanto --home ~/Downloads/canto-snap --chain-id canto_7700-1 --keyring-backend test
Error: failed to convert address field to address: super-vali.info: key not found [cosmos/cosmos-sdk@v0.50.8/crypto/keyring/keyring.go:538]
failed to convert address field to address: super-vali.info: key not found [cosmos/cosmos-sdk@v0.50.8/crypto/keyring/keyring.go:538]

> cantod keys list --home ~/Downloads/canto-snap --keyring-backend test
- address: canto1mn099lymkssyqg82a7ekj6nkajhspynwjxmpt3
  name: super-vali
  pubkey: '{"@type":"/ethermint.crypto.v1.ethsecp256k1.PubKey","key":"Arn+uzlG3OehaJemKpjP8ErrNzXGDChJhOgTV0zqFAa7"}'
  type: local

as above, canto1mn099lymkssyqg82a7ekj6nkajhspynwjxmpt3 address exists in keyring, but tx broadcast is failed.