Skip to content
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

Hard Fork 1 - bonded REVs minted twice #44

Open
tgrospic opened this issue Jul 26, 2021 · 0 comments
Open

Hard Fork 1 - bonded REVs minted twice #44

tgrospic opened this issue Jul 26, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@tgrospic
Copy link
Collaborator

tgrospic commented Jul 26, 2021

Overview

This RCHIP should document the error we created when preparing data for genesis block after Hard Fork 1.

During post-process verification of hard fork we discovered that total sum of REVs in wallets file is not the same as initial sum in the first genesis.
The difference was found with amount of total bonded validators which are specified in bonds.txt file and used to initialize PoS contact in genesis block.

The mistake was that we didn't take into count creation of PoS address with the balance of total validators stake so now this amount of REVs is created extra.

As part of supporting repository for export of REV balances for Hard For 1 is also validation/report for wallets file for both genesis blocks with the calculation of the error.

Links: Run report, Source

Solution

To correct the error we need to burn 6000000000000465 tinyREVs from Coop vault because now all of the staking REV is collected on Coop vault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant