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
Some issues arose when debuging multitests with tgrademsg.
We use Unauthorised everywhere, which is less than helpful when many contracts are involved. Let's make them more explicit. Starting with the TgradeMsg bindings - this should return something more clear, like "Missing Privilege". We can also consider using different terms for other contracts as well.
We need to better document how to promote contracts at the beginning of multitest so they can make privileged actions.
The comments on GovProposal::Migrate should be more clear
We should implement GovProposal::Instantiate (just like WasmMsg::Instantiate) and GovProposal::Migrate (which is like WasmMsg::Migrate but overrides the admin check, so it is always allowed)
The text was updated successfully, but these errors were encountered:
implement GovProposal::Instantiate (just like WasmMsg::Instantiate)
What would be its purpose? WasmMsg::Instantiate instantiates a new contract from previously uploaded wasm code. There's already similar GovProposal::InstantiateContractmessage.
Actually same question for migrate version.
The point was that sometimes you do not have permission to do so (someone else's contract... in wasmd it is possible to upload code but not allow others to instantiate it)
The GovProposal variants lets you override any such permissions (eg. migrate Bart's contract), but only with approval of chain governance
Some issues arose when debuging multitests with tgrademsg.
The text was updated successfully, but these errors were encountered: