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

Treasury no stacks #3579

Closed
wants to merge 4 commits into from
Closed

Treasury no stacks #3579

wants to merge 4 commits into from

Conversation

Chris-Hibbert
Copy link
Contributor

Stack traces are insufficient.

ContractGovernor is an ElectionManager that knows its Registrar, and
starts up and manages one contract. The managed contract returns a
facet that describes the managed parameters to the governor. The
ContractGovernor returns a facet that allows the creation of new Ballot
questions to ask the electorate to approve changing the values of
those parameters.

There's a README.md that gives on overview of the interdependent
APIs.

The swingsetTest exercise the ContractGovernor over a trivial
governedContract that shows how a contract can configure its
parameters, and the methods that have to be available in order for
everything to be found and verified. The tests include a verification
step that cross-checks the Registrar, ElectionManager (i.e.
ContractGovernor in this case), and Ballots to see that they are
consistent.

The API of Ballot and others is changed to bundle the details of a
question into BallotSpec. This affects some of the unit tests.
extract params to a separate file
integrate contract governance into treasury
swingset test for treasury governance
Stack traces on xs aren't very revealing.
@Chris-Hibbert Chris-Hibbert self-assigned this Aug 2, 2021
@Chris-Hibbert Chris-Hibbert requested a review from dckc August 2, 2021 23:00
@Chris-Hibbert Chris-Hibbert added bug Something isn't working Governance Governance question Further information is requested Inter-protocol Overarching Inter Protocol xsnap the XS execution tool labels Aug 2, 2021
@Chris-Hibbert Chris-Hibbert changed the base branch from manageTreasury-3189 to master August 2, 2021 23:10
@Chris-Hibbert Chris-Hibbert marked this pull request as draft August 2, 2021 23:35
@dckc
Copy link
Member

dckc commented Sep 9, 2021

duplicate of #2578 (which is fixed now!)

@dckc dckc added the duplicate label Sep 9, 2021
@Chris-Hibbert Chris-Hibbert deleted the treasury-noStacks branch January 7, 2022 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Governance Governance Inter-protocol Overarching Inter Protocol question Further information is requested xsnap the XS execution tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants