Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposals failing #16

Closed
elsehow opened this issue Oct 18, 2021 · 1 comment
Closed

Proposals failing #16

elsehow opened this issue Oct 18, 2021 · 1 comment

Comments

@elsehow
Copy link
Contributor

elsehow commented Oct 18, 2021

In the frontend-for-messages branch, creating this (I believe valid) proposal:

[{"bank":{"send":{"@type":"/cosmos.bank.v1beta1.MsgSend","from_address":"wasm1nc5tatafv6eyq7llkr2gv50ff9e22mnfhap4vz","to_address":"wasm19mfj3r5g5yqsjcxk5ey76mfm9ed6x8a333lxzr","amount":[{"amount":"666","denom":"ustake"}]}}}]

Throws this error in the frontend:

Error when broadcasting tx B6A3EEF7003B58F5B53BE0B5C062FA4D5DA26D0C6A04EEF32A92D4B2CAC3DD56 at height 2676. Code: 5; Raw log: github.com/CosmWasm/wasmd/x/wasm/keeper.Keeper.execute [...]
(*State).tryAddVote github.com/tendermint/tendermint@v0.34.13/consensus/state.go:1930 github.com/tendermint/tendermint/consensus.(*State).handleMsg github.com/tendermint/tendermint@v0.34.13/consensus/state.go:838 github.com/tendermint/tendermint/consensus.(*State).receiveRoutine github.com/tendermint/tendermint@v0.34.13/consensus/state.go:782 failed to execute message; message index: 0: Error parsing into type cw20_gov::msg::ExecuteMsg: unknown variant `propose`, expected one of `transfer`, `burn`, `send`, `increase_allowance`, `decrease_allowance`, `transfer_from`, `send_from`, `burn_from`, `mint`, `update_marketing`, `upload_logo`, `delegate_votes`: execute wasm contract failed

Where is this broadcasting error coming from?

Strangely, I don't see any errors in docker logs cosmwasm (i.e., the locally-running chain).

12:05AM INF indexed block height=2732 module=txindex
12:06AM INF Timed out dur=4978.599865 height=2733 module=consensus round=0 step=1
12:06AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"2D3DEB4D4E34064B977F08B60F4E7036526330437CE9632BCAA71890DF054327","parts":{"hash":"0D61646CD669A3846DE789F3367C7C4EC2F787CEF389C09A5BF0E6F4E6E62B0D","total":1}},"height":2733,"pol_round":-1,"round":0,"signature":"nyvRmFbwZ7ksMEzXBi8h/dH8aooxqQjhKVWl0CcFLwtXHj9zyLcfNmwGbQD/U2D/KZGD1IX/yRB4JmduU2NLCg==","timestamp":"2021-10-18T00:06:04.460371077Z"}
12:06AM INF received complete proposal block hash=2D3DEB4D4E34064B977F08B60F4E7036526330437CE9632BCAA71890DF054327 height=2733 module=consensus
12:06AM INF finalizing commit of block hash=2D3DEB4D4E34064B977F08B60F4E7036526330437CE9632BCAA71890DF054327 height=2733 module=consensus num_txs=0 root=AE5D3E85ECDE7643AC16B94B07897109D6467C8918A9445C9B4AC12A1A85F8CF
12:06AM INF minted coins from module account amount=41ustake from=mint module=x/bank
12:06AM INF executed block height=2733 module=state num_invalid_txs=0 num_valid_txs=0
12:06AM INF commit synced commit=436F6D6D697449447B5B32333520363220313920323039203131302031343720323133203234382031352032342032343720313130203120313832203331203133382032343420313038203231203232312032333720313231203820323135203436203137312031303820313420302032313820313934203133335D3A4141447D
12:06AM INF committed state app_hash=EB3E13D16E93D5F80F18F76E01B61F8AF46C15DDED7908D72EAB6C0E00DAC285 height=2733 module=state num_txs=0
12:06AM INF indexed block height=2733 module=txindex
@elsehow
Copy link
Contributor Author

elsehow commented Oct 18, 2021

This issue turned out to be unrelated to this repo, see DA0-DA0/dao-contracts#53 (comment)

@elsehow elsehow closed this as completed Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant