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
Currently, only the first contract call is executed in a gov authorization context. On a restricted chain, submessages would not be able to create instances.
As a simple solution for this feature, gov proposal executions would pass their privileged GovAuthorizationPolicy to submessages. Without further restrictions, this policy would not only bypass chain restrictions on instantiate but also admin checks for migrate or access config increasing the risk of dangerous operations.
A more restrictive solution, would consider the original intent of the gov proposal and forward a finer grained authorization. The original intent though is not always easy to spot with sudo/ execute proposals
Current proposal types:
InstantiateContractProposal
InstantiateContract2Proposal
StoreAndInstantiateContractProposal
MigrateContractProposal
SudoContractProposal
ExecuteContractProposal
The text was updated successfully, but these errors were encountered:
Currently, only the first contract call is executed in a gov authorization context. On a restricted chain, submessages would not be able to create instances.
As a simple solution for this feature, gov proposal executions would pass their privileged GovAuthorizationPolicy to submessages. Without further restrictions, this policy would not only bypass chain restrictions on instantiate but also admin checks for migrate or access config increasing the risk of dangerous operations.
A more restrictive solution, would consider the original intent of the gov proposal and forward a finer grained authorization. The original intent though is not always easy to spot with sudo/ execute proposals
Current proposal types:
The text was updated successfully, but these errors were encountered: