feat(governance): add on-chain governance PoC with token-weighted vot…#126
Open
abimbolaalabi wants to merge 3 commits into
Open
feat(governance): add on-chain governance PoC with token-weighted vot…#126abimbolaalabi wants to merge 3 commits into
abimbolaalabi wants to merge 3 commits into
Conversation
…ing and integration tests
|
@abimbolaalabi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or 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
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.
…ing and integration tests
Introduce a proof-of-concept governance contract that demonstrates a
complete on-chain proposal lifecycle as a potential replacement for the
current multisig-controlled upgrade authority. This implementation is
intentionally experimental and serves to validate the overall governance
architecture before committing to a production roadmap.
The new governance crate implements a proposal → vote → execute workflow
secured by a mock token-weighted quorum, together with comprehensive
integration tests and design documentation.
Governance contract
stellar/contracts/governancecrate and add it to theworkspace
period, quorum, timelock, administrator, and governance token
proposal identifiers
votes
provide vote lookup functionality
expiration
intervention
recorded votes
Voting and execution rules
Bytesarguments to targetcontracts
Integration tests
Add comprehensive integration coverage validating both expected behavior
and failure scenarios:
timelock expiration, and successful execution
All governance integration tests pass successfully.
Documentation
Expand
GOVERNANCE.mdwith detailed documentation covering:and administrative controls
This commit delivers a fully functional governance proof of concept that
compiles successfully, passes all tests, and documents the architectural
choices required to evaluate an eventual transition from multisig-based
upgrade authority to on-chain governance.
Closes #122