osmosis
osmosis copied to clipboard
[Bug]: MsgAddCodeUploadParamsAddresses proposal non-functional
What happened?
Wasm messages MsgAddCodeUploadParamsAddresses
and MsgRemoveCodeUploadParamsAddresses
are newly available.
These add the ability to append or remove specific addresses from the wasm params on chain rather than resubmitting the entire list with every proposal.
This minimises human error when creating new proposals that may remove a team's authorised upload right, as well as allowing overlapping proposals without making assumptions of proposal results before completion.
The messages do not currently function as intended on Osmosis.
Example of an MsgAddCodeUploadParamsAddresses
test proposal that failed upon completion:
https://testnet.mintscan.io/osmosis-testnet/proposals/141
The similar message, MsgUpdateParams
, works successfully, but is the older method of resubmitting the entire list: https://testnet.mintscan.io/osmosis-testnet/proposals/143
Osmosis Version
v22.0.0 Testnet
How to reproduce?
Proposal file for failed proposal:
{
"messages": [
{
"@type": "/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses",
"authority": "osmo10d07y265gmmuvt4z0w9aw880jnsr700jjeq4qp",
"addresses": [
"osmo1pscy6u25wq7r8dmpepny5r0xk095xfzduvzf29epradu8dr68fvs8mv2vn",
"osmo1s7vag2t8pg40qj73lhnfg08ylvc33w0r27pyvy",
"osmo1ezgx7dhm2zag0lplje68j47cx9e8nft44k9f07r7qp7m7uc5u8ysn482ps"
]
}
],
"metadata": "Not Used",
"deposit": "500000000uosmo",
"title": "Test WASM proposal type",
"summary": "Adds upload addresses through wasm module rather than gov module",
"expedited": false
}