-
Notifications
You must be signed in to change notification settings - Fork 217
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
fixes to Economic Governance abilities #6422
Conversation
packages/inter-protocol/test/amm/vpool-xyk-amm/test-amm-governance.js
Outdated
Show resolved
Hide resolved
@@ -15,7 +15,7 @@ package "GovernedContract Vat" <<Rectangle>> { | |||
+terms: { electionManager, governedParams } | |||
+getState() | |||
+getContractGovernor() | |||
-getParamManagerRetriever() | |||
-getParamMgrRetriever() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you make a change to this file, please run .../governance/docs/gen.sh
, and checkin the changes to the .png.
25f4382
to
7ff37a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The governance aspects of this look good to me. I'm less familiar with makefiles and chain updates.
@@ -0,0 +1 @@ | |||
replace committee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not very helpful yet
}, | ||
}; | ||
|
||
// #region Quasi-imports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extraneous.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is saying: this section is the result of a poor-man's module system where we manually copy the functions we need from elsewhere in the SDK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return candidate; | ||
}; | ||
|
||
// #endregion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, here's the other end. But I'm still convinced the is leftover copypasta.
@@ -0,0 +1 @@ | |||
true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's used in the Makefile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
369d290
to
be3b393
Compare
be3b393
to
14463d5
Compare
Description
BLD holders must be able to replace a rogue economic committee. #5539 won't be done until MN-1.1 so we need some way for Core Eval to do it in an extreme situation.
Security Considerations
Creates a
.replaceElectorate
capability for holders of aGovernedContractFacetAccess
. A group that has access to this already has the ability to vote in a new committee. (Though currently not necessarily the ability to create a new committee as the replacement.)Documentation Considerations
Script demonstrating how its done.
Testing Considerations
Targeted unit test.
Integration test on local chain, with the dapp-econ-gov UI letting a new committee adjust PSM params and pause APIs.