You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to update the instantiate config to move from a multisig being allowed to a multisig + DAO, to me seems counterintuitive that this is not possible when the multisig is the "creator"/admin of the code.
I added a simple test and this 2 will fail, and I think is the IsSubSet logic is applying the checks correctly but not sure if this logic should be applied when the owner is the creator of the code at least not when trying to update the config.
The text was updated successfully, but these errors were encountered:
Thanks for bringing this up.
I think it makes sense to take into consideration the case when the creator wants to update permissions and make them less restrictive: newPermissionSet > oldPermissionSet . At the moment, the way to do so is to upload the code again with the new instantiate permission or through a gov proposal . I'm not sure if there are any drawbacks if we would remove the isSubset condition from here . @alpe WDYT??
Good to discuss this!
On restricted chains, the superset is defined on the chain level. This gives strong guarantees that only pre defined addresses can instantiate or modify the settings. When we would support changes by one of the accepted addresses then we give the power that was unique to gov before to them.
There can be scenarios where this is no problem and may save some steps but on the other hand you are back to trusting individuals over gov processes. There is no information on chain who or what is behind an address.
I am very open to hear other arguments. Please add some more context so that we have a better picture.
Hi,
I've been trying to update the instantiate config to move from a multisig being allowed to a multisig + DAO, to me seems counterintuitive that this is not possible when the multisig is the "creator"/admin of the code.
I added a simple test and this 2 will fail, and I think is the IsSubSet logic is applying the checks correctly but not sure if this logic should be applied when the owner is the
creator
of the code at least not when trying to update the config.The text was updated successfully, but these errors were encountered: