Closed yihuang closed 1 year ago
It's because using wrong network version of binary, since address is stored as bech32 strings in db, so with a wrong binary, the BaseAccount.GetAddress
fail to decode, then ignores the decode error and return an empty one.
Hello @yihuang would mind mentioning exactly what was your solution? Encountering exact same issue here with v0.46.6. Thanks!
Summary of Bug
When upgrading our testnet to cosmos-sdk 0.46, two users report the following error, while the other nodes work.
There's a nil value when iterating accounts, not sure if it's accidental db corruption, or some real issue.
A quick and dirty solution could be to ignore the nil value during migrating, but it might cause an app hash mismatch instead.
Version
0.46
Steps to Reproduce