-
Notifications
You must be signed in to change notification settings - Fork 116
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
[Governance] Proof of Fee #1234
[Governance] Proof of Fee #1234
Conversation
…session from fake data to be able to apply migrations from Move system contracts.
implement functional tests for: - exporting db backup to json - creating genesis blob from json - creating genesis blob in one shot from db backup TODO: launch test node from from genesis.blob TODO: e2e tests from a fixture file
- refactor recovery tests
…o transform legacy data to Move arguments.
…an accounts resources
…re that a Voucher is the only one to unjail, since there is no other practical hurdle.
… fill_seats, patch logic issues, all proof of fee tests passing!
274dc6f
to
c395a71
Compare
@hemulin Reviewers should focus on the changed files in: Perhaps starting with: |
Generally speaking, looking great 💪 Super impressive @0o-de-lally The only comments I may suggest are:
|
Thanks for this. I'm sure you are right that there are more places that could have error handling. A note about Move modules. You don't have Result types like Rust. So you need to do basic control flow with if/else. You can use In this case specifically the job of fill seats is to tell us if it could fill seats. An empty result is ok. Whether or not we start an epoch with that list is handled elsewhere. Take a look at EpochBoundary propose_new_set where there is a section So yes, let's do more on this topic. Keep the suggestions coming! |
Closing due to changes included #1261 |
Implements the first version of Proof of Fee as per the paper https://0l.network/2022/10/15/proof-of-fee-part-1/.
Work started after the community poll: https://0l.network/2022/11/08/october-2022-governance-recap/
Remove Stuff
Transactional Tests