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
When using the new gov proposal format with the v1MsgSubmitProposal, the Wasmd msg handler uses the standard msg handling for the proposed messages. This causes all configurations to be regarded, including the config that can prevent wasm storage altogether. The way to fix this is to check if the sender of the StoreCode msg is the gov module account; if so, the configurations should not be regarded and the msg should be executed.
Version
Latest
Steps to Reproduce
Disable wasm storage by setting the wasm param code_upload_access.permission to Nobody.
Create a governance proposal to store code.
Let proposal pass.
Proposal will fail due to no permissions.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary of Bug
When using the new gov proposal format with the
v1
MsgSubmitProposal
, the Wasmd msg handler uses the standard msg handling for the proposed messages. This causes all configurations to be regarded, including the config that can prevent wasm storage altogether. The way to fix this is to check if the sender of theStoreCode
msg is the gov module account; if so, the configurations should not be regarded and the msg should be executed.Version
Latest
Steps to Reproduce
code_upload_access.permission
toNobody
.For Admin Use
The text was updated successfully, but these errors were encountered: