Skip to content

[Bug]: Client TxEncoder/TxDecoder compatibility for sdk v0.52 and earlier #22747

@damiannolan

Description

@damiannolan

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Compatibility for tx clients running sdk v0.52 and node software running sdk v0.50 fails with:

error in transaction (code: 2): raw_log: errUnknownField "*tx.TxBody": {TagNum: 5, WireType:"bytes"}: tx parse error

This seems to be due to a new Tx structure in v0.52 and it being rejected on older software due to protobuf's reject unknown fields.

@julienrbrt has already been working on this. Creating the issue for tracking/visibility.

ref: #22723

Cosmos SDK Version

0.52, <=0.50

How to reproduce?

Broadcast a tx using tx factory using v0.52 to a node running v0.50.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions