-
Notifications
You must be signed in to change notification settings - Fork 9
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
Dev governance refactor #16
Merged
Merged
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
15 tasks
Recon Campaign Started Medusa1hourbasicCI/CD
|
Recon Campaign Started Medusa1hourbasicCI/CD
|
Recon Campaign Started Medusa1hourbasicCI/CD
|
Recon Campaign Started Medusa1hourbasicCI/CD
|
Recon Campaign Started Medusa1hourbasicCI/CD
|
Recon Campaign Started Medusa1hourbasicCI/CD
|
Recon Campaign Started Medusa1hourbasicCI/CD
|
Recon Campaign Started Medusa1hourbasicCI/CD
|
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.
Ongoing work to refactor the
Governance
contract to address the various concernsLatest Invariant Tests Run:
https://getrecon.xyz/shares/000f6ffc-cb60-4054-a8d4-e8466a1098c7
getInitiativeState
to better test race conditions and to move towards a fully enforced flow that forces to either claim rewards or unregister on an epochlastEpochClaim
to keep view functions working (as well as hold the one epoch = one claim invariant)test_crit_accounting_mismatch
-test_canAlwaysRemoveAllocation
- These must be re-reviewed once mitigations are in placeSee: Invariant Tests #20 ->
Lifecycle tests
InitiativeVoteSnapshot
should contain all view values at all time, these values should not "have an opinion"The flows can be enforced in other functions
InitiativeVoteSnapshot
I believe we can use the last claimed at check to also be used to determine if a initiative should be unregistered
Meaning the check protecting against re-claiming can also be used to determine if the initiative should be removed
test_crit_accounting_mismatch
-test_canAlwaysRemoveAllocation
Stretch:
view
logic from storage changing logicInvariant Testing:
To recheck:
EXPERIMENTAL - Optimize the packing code + Simplify storage further - SEE #31
Misc Fixes
Encoding Decoding Lib:
12f94ed
Make most functions view
#34
b692f5b
8e60ecb
3a7fd77
ab20d48
Improve UX of Setting up and Claiming Bribes
#25
Uses FSM more consistently
#36