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
After some debugging it looks like the decoding is failing in the CLI query params, but succeeding no problem but succeeds when accessing the Proposals map e.g. here
The temporary workaround we ended up using was to query the proposal state using the gRPC endpoints directly (not using the cli)
With this, the test which executes a gov proposal, votes on it and queries it passes.
There was also another report the same issue happening on slack. This occurred when querying a gov proposal via CLI. This was on 0.50-r0 (simapp from ibc-go)
Is there an existing issue for this?
What happened?
When working on E2E tests, we noticed that after a governance proposal has been submitted including an
Any
via govv1 arbitrary message execution.Everything works as expected, and the proposal is written to state.
However, when a CLI query is made
simd q gov proposals
I saw the following errorIt appears as if this is happening here.
After some debugging it looks like the decoding is failing in the CLI query params, but succeeding no problem but succeeds when accessing the
Proposals
map e.g. hereThe temporary workaround we ended up using was to query the proposal state using the gRPC endpoints directly (not using the cli)
With this, the test which executes a gov proposal, votes on it and queries it passes.
The simapp in question is this one.
There was also another report the same issue happening on slack. This occurred when querying a gov proposal via CLI. This was on 0.50-r0 (simapp from ibc-go)
cc @julienrbrt
Cosmos SDK Version
0.50-rc1 & 0.50-rc0
How to reproduce?
Submit a gov proposal with an any.
Query the proposals:
simd q gov proposals
The text was updated successfully, but these errors were encountered: