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
{{ message }}
Repository navigation
Breaking change 0.34 -> 0.37: get tx by hash encoding #443
At some point between version 0.34.x and 0.37.x, the expected encoding of the hash for the tx RPC method changed. For years this has always been hex encoded. Now base64 is expected.
Hasn't base64 encoding of the tx method's hash parameter (in JSON-RPC requests) always been the case? See tendermint/tendermint#6802.
Testing this out locally with CometBFT v0.34.27, in one terminal I ran rm -rf ~/.cometbft && cometbft init && cometbft start --proxy_app kvstore and in another:
Great, that solves it. The issue came because I built a Tendermint 0.35 client last summer, forgot about the differences between 0.34 and 0.35 and now used this client as the basis for 0.37.
Activity
thanethomson commentedon Mar 2, 2023
Hasn't base64 encoding of the
txmethod'shashparameter (in JSON-RPC requests) always been the case? See tendermint/tendermint#6802.Testing this out locally with CometBFT v0.34.27, in one terminal I ran
rm -rf ~/.cometbft && cometbft init && cometbft start --proxy_app kvstoreand in another:The only version of Tendermint Core in which the
txmethod'shashparameter used hex encoding was v0.35 IIRC, because of tendermint/tendermint#6813.webmaster128 commentedon Mar 2, 2023
Spot on, you are right! This is the 0.34 client code:
Great, that solves it. The issue came because I built a Tendermint 0.35 client last summer, forgot about the differences between 0.34 and 0.35 and now used this client as the basis for 0.37.
Thanks a lot 💐