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
I'm not able to query proposals via latest @cosmjs libs. I'm receiving mentioned error:
Query failed with (6): can't convert a gov/v1 Proposal to gov/v1beta1 Proposal when amount of proposal messages not exactly one
It seems that @cosmjs/stargate is still using cosmjs-types/cosmos/gov/v1beta1/query which is not able to proceed gov/v1 proposals.
Currently I'm receiving this error when trying to access Osmosis proposals.
Is there any way how to access it rn?
Thanks
The text was updated successfully, but these errors were encountered:
rickball
changed the title
Query failed with (6): can't convert a gov/v1 Proposal to gov/v1beta1 Proposal when amount of proposal messages not exactly one
can't convert a gov/v1 Proposal to gov/v1beta1 Proposal when amount of proposal messages not exactly one
Jan 3, 2024
@rickball I'm not part of the team. From the .proto files you can generate the gov/v1/query.ts file and then use QueryClientImplem to fetch Proposals. Not necessarily obvious if you've never done it, but it's a good way to understand how everything works until it's managed by cosmjs itself.
Hi,
I'm not able to query proposals via latest @cosmjs libs. I'm receiving mentioned error:
Query failed with (6): can't convert a gov/v1 Proposal to gov/v1beta1 Proposal when amount of proposal messages not exactly one
It seems that @cosmjs/stargate is still using
cosmjs-types/cosmos/gov/v1beta1/query
which is not able to proceed gov/v1 proposals.Currently I'm receiving this error when trying to access Osmosis proposals.
Is there any way how to access it rn?
Thanks
The text was updated successfully, but these errors were encountered: