-
Notifications
You must be signed in to change notification settings - Fork 103
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
Validate genesis error: credit batch supply is incorrect #1660
Comments
Updated to include same error occurring with exported redwood state. |
Here is the credit batch throwing the error:
Tradable Balances + Escrowed Balances = Tradable Supply Retired Balances = Retired Supply Tradable Supply + Retired Supply = Total Supply From what I can tell with this information, it looks like there is not an issue with the supply itself but rather an issue with the math in the invariant check. I used a different export of mainnet than what the devnet used, so will double check... |
Using a more recent mainnet export (also what was used when testing and when I encountered the error):
Tradable Balances + Escrowed Balances = Tradable Supply Retired Balances = Retired Supply Tradable Supply + Retired Supply = Total Supply |
Worth noting that I have not checked with existing mainnet because balances by batch is a new query so no easy way to get the balances on v4.0. I can confirm that I received the same error with the same export before upgrading though. |
With the msg send fix and migrations in place, I think it's safe to close this issue. |
Summary of Bug
After exporting mainnet state and running the
validate-genesis
command, the following error is returned:After exporting redwood state and running the
validate-genesis
command, the following error is returned:Version
v4.1.5
/release/v5.0.x
/main
Steps to Reproduce
regen validate-genesis
For Admin Use
The text was updated successfully, but these errors were encountered: