forked from 0LNetworkCommunity/libra-legacy-v6
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Infra Escrow #8
Merged
Merged
Infra Escrow #8
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…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
…tch tests to use coins. all tests passing.
…unding end user accounts.
0o-de-lally
added a commit
that referenced
this pull request
Apr 11, 2023
* create first stubs of Pledge Accounts, a primitive service for infra escrow. * list pledgers on beneficiary struct * can withdraw from all accounts * pledge account feature complete, except for withdrawing of coins * finalize infraescrow wrapper on pledge accounts * Vm can withdraw funds * infra escrow can withdraw * adding tests, patching. * tests for pledge, withdraw unit, withdraw e2e, revoke * change APIs to use coins, not u64 * now using coins instead of temp values * infra escrow and pledges use coins. add helpers to withdraw coins. patch tests to use coins. all tests passing. * make pledge withdrawals proportionate to balances * Refactor paying of fees based on Infra Escrow. Builds. Tests need to be ported. * reordering the epoch boundary pipeline. * refactor burning of excess network fees at boundary * handle zero transaction fees cases * update .exp files on tests * more tests for val subsidy * patching tests * refactor burn.move patch tests * patch many tests fixtures * burn epoch recycling * for testing, make the vm genesis initialize the infra escrow pledge accounts. * minor refactor to epoch boundary * test to confirm the infra escrow is being funded on the epoch prologue * revert operator subsidy removal. test framework depends on this for funding end user accounts. * patch testmode genesis subsidies to match test fixtures. * cleanup: info! instead of println * fix burn init * update burn recycling to never change supply * all tests passing * remove deprecated files * patch ignored tests. All tx tests passing.
0o-de-lally
added a commit
that referenced
this pull request
Jul 5, 2023
* create first stubs of Pledge Accounts, a primitive service for infra escrow. * list pledgers on beneficiary struct * can withdraw from all accounts * pledge account feature complete, except for withdrawing of coins * finalize infraescrow wrapper on pledge accounts * Vm can withdraw funds * infra escrow can withdraw * adding tests, patching. * tests for pledge, withdraw unit, withdraw e2e, revoke * change APIs to use coins, not u64 * now using coins instead of temp values * infra escrow and pledges use coins. add helpers to withdraw coins. patch tests to use coins. all tests passing. * make pledge withdrawals proportionate to balances * Refactor paying of fees based on Infra Escrow. Builds. Tests need to be ported. * reordering the epoch boundary pipeline. * refactor burning of excess network fees at boundary * handle zero transaction fees cases * update .exp files on tests * more tests for val subsidy * patching tests * refactor burn.move patch tests * patch many tests fixtures * burn epoch recycling * for testing, make the vm genesis initialize the infra escrow pledge accounts. * minor refactor to epoch boundary * test to confirm the infra escrow is being funded on the epoch prologue * revert operator subsidy removal. test framework depends on this for funding end user accounts. * patch testmode genesis subsidies to match test fixtures. * cleanup: info! instead of println * fix burn init * update burn recycling to never change supply * all tests passing * remove deprecated files * patch ignored tests. All tx tests passing.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PledgeAccounts
Infrastructure Escrow