You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've experienced Error: error validating genesis file genesis.json: empty or nil coins for address error on validate-genesis cmd in one of our internal testnets. It found out to be with a module account, which had no tokens at the time of exporting the state (we tried to validate the exported genesis). I believe module accounts can be without any tokens so, this validation can be removed.
While digging through this, it's seems like it is not valid anymore to have this check on any address. Because x/feegrant and x/authz would allow authorizing accounts with no balances as well. So empty accounts are still valid there.
Proposal
Allow empty accounts in the genesis and remove the check in validate genesis
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary
We've experienced
Error: error validating genesis file genesis.json: empty or nil coins for address
error onvalidate-genesis
cmd in one of our internal testnets. It found out to be with a module account, which had no tokens at the time of exporting the state (we tried to validate the exported genesis). I believe module accounts can be without any tokens so, this validation can be removed.While digging through this, it's seems like it is not valid anymore to have this check on any address. Because
x/feegrant
andx/authz
would allow authorizing accounts with no balances as well. So empty accounts are still valid there.Proposal
Allow empty accounts in the genesis and remove the check in validate genesis
For Admin Use
The text was updated successfully, but these errors were encountered: