-
Notifications
You must be signed in to change notification settings - Fork 11
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
tgrade-valset: Modify distribution list to send funds to tc-payments #182
Comments
Would this be a sudo call via gov? we don't have this in tgrade (yet) |
Hmm, I don't think this is needed. The OC proposals contract is the (contract, not migrate) admin of the valset contract. The sends an update config message to the valset contract. No gov proposal support in tgrade needed, AFAIK. |
The only questions I have would be, if it's possible to create an update config proposal in the OC proposals UI, and if said proposal will be routed / handled properly. Anyway, despite all that, a valset migration is required, because the current update config message does not support updating the distribution list. Will work on that next. |
As the last part of https://github.com/confio/matadores-backlog-collection/issues/27#issuecomment-1245506105, we need to modify the valset distribution list to redirect the funds to the payments contract.
This requires a contract upgrade, because the current
UpdateConfig
mechanism does not support changing the distribution list.This can be done in two parts:
UpdateConfig
that supports changing the distribution list.UpdateConfig
to update the valset distribution list with the new distribution list.Both parts can be done during contract migration, for simplicity (only one proposal required). But in any case, changing the
UpdateConfig
handler to support changing the distribution list looks like a good idea. So that it can be used to change / adjust the distribution list in the future if needed.The text was updated successfully, but these errors were encountered: