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

@cosmjs/tendermint-rpc - Suddenly getting error after broadcastTx->decodeTx "Error: Invalid string. Length must be a multiple of 4" #1517

Closed
chasevoorhees opened this issue Dec 7, 2023 · 3 comments

Comments

@chasevoorhees
Copy link

image
"@cosmjs/tendermint-rpc": "^0.31.3",
"@cosmjs/tendermint-rpc": "^0.32.1",

This just started happening a couple days ago. Have tested with a few versions now.

The transaction signs/broadcasts successfully, then this happens when the TX is parsed back in
Going through the events:
fromBase64('spender')
ends up getting called with the event key 'spender' for some reason.

This is the offending file:
node_modules/osmojs/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/responses.js

image
image

I'll look into this more tomorrow but hope someone else has encountered this/might have an idea.

@webmaster128
Copy link
Member

Osmosis testnet was upgraded to Cosmos SDK 0.47 as far as I can tell. In that case, using the Tendermint34Client won't work anymore. You need the Tendermint37Client. Can you report this to osmojs where those things are defined?

@chasevoorhees
Copy link
Author

Osmosis testnet was upgraded to Cosmos SDK 0.47 as far as I can tell. In that case, using the Tendermint34Client won't work anymore. You need the Tendermint37Client. Can you report this to osmojs where those things are defined?

Thanks for this.
Does this also apply to Osmosis mainnet, or is there a date set for that?

I've opened an issue with their repo

@webmaster128
Copy link
Member

Let's further discuss this on the Osmosis repo. Cheers!

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

2 participants