-
Notifications
You must be signed in to change notification settings - Fork 214
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
Shutdown old EC committee.js instance #10137
Comments
@rabi-siddique @frazarshad could please estimate this ticket? |
I was able to shutdown the old committee. Work for core eval script and tests remain. |
@Chris-Hibbert suggests a different design in #10105 (comment) |
Well, we did write it to vstorage, in |
There have been issues with other contracts that made shutdown problematic. I don't know of any such issues with the econ committee, but it's connected to so many other contracts that I'm not confident yet. If @warner gives us a green light for shutting down this contract, I'll be fine with it. @warner is currently unavailable. Perhaps @mhofman can weigh in? Also, do note that adding a shutdown method won't help with the current transition. The method would only be available to this and future instances. We'd have to upgrade the existing instances in order to add this method. I don't think the current version of the PR upgrades the existing instances. (I'll add comments in the PR.) |
Yes; that's more explicit in #10136 , but that's the idea behind the
FWIW, I don't expect us to land #10105; I view it as a spike, and I expect it to be broken into separate PRs that match issues such as this one before we land it. |
@dckc @Chris-Hibbert As this work item is currently in the |
@warner in mainnet, the vat in question is
|
I prefer that #10134 gets done first. |
@warner answered my outstanding question in a slack group. He said it would likely be fine to delete the electorate contract vat. Unfortunately, as I pointed out, that doesn't immediately give us a solution, since the old electorates don't have a straightforward mechanism for shutting down. I think the right resolution might be in #9716, which he asked me to start working on. This is a longer term solution, and I think the best choice for the near term may be "don't worry about it". The driving concern for actually shutting down the original electorates is mostly about preventing accidents (which I think are unlikely) and mostly inconsequential anyway. If the EC is in frequent contact, they can just agree to ignore or vote down spurious vote proposals. We'll get rid of the old committees in due course anyway. |
yes, #9716 is a good solution, but it's not the only one. The one we have prototyped is to upgrade the contract to add a re "don't worry about it", yes, that's an acknowledged option:
but we owed product (@otoole-brendan) at least an estimate; and based on a recent estimate to finish the upgrade option, he currently considers it worth doing. |
@dckc challenged me:
For the instances of the contract that we don't intend to shutdown, we have to think carefully about who has access to the new method. |
@warner added
|
IBIS style summary of design space as I currently understand it. @otoole-brendan how about I move it to the description? See also what to do with outdated EC voting rights? #10137 in Codecider, which renders it like this: text form:
|
@otoole-brendan since we seem to be choosing the "leave it alone" option, I'm re-scoping this back to "shutdown the old committee", and we can postpone it indefinitely (P3). |
FWIW, given how relatively small the EC vat is, I think it would make a fine candidate to be the first one we terminate under the "slow vat deletion" code (#8928) that will land in upgrade18. We could use that deletion as a final test of the slow-deletion, and could use what we learn from it to tune the parameters before deleting large vats like the price feeds. So I'd be +1 on actually deleting it. Also we have the right The old auctioneer (v45) is even smaller, and is already unused (replaced in the "vaults / restart auctioneer" core-eval (gov76, block 16544918, 04-sep-2024), and would thus be an even better candidate, but due to a bug we dropped the zoe |
Having the old committee stick around is confusing even though it can't actually impact the governed contracts anymore. We should shut it down.
Design
use an upgraded Zoe adminFacet to support shutdown
Note also alternatives considered below.
Tasks
Test plan
bootstrap test should suffice
The text was updated successfully, but these errors were encountered: