Skip to content

chore: Deserialize data field of broadcast tx response as hex bytes#1501

Merged
romac merged 3 commits intomainfrom
anca/1500-resultbroadcast
May 5, 2025
Merged

chore: Deserialize data field of broadcast tx response as hex bytes#1501
romac merged 3 commits intomainfrom
anca/1500-resultbroadcast

Conversation

@ancazamfir
Copy link
Collaborator

@ancazamfir ancazamfir commented Apr 30, 2025

Closes: #1500

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Added entry in .changelog/

@ancazamfir ancazamfir requested a review from romac April 30, 2025 13:17
@ancazamfir ancazamfir marked this pull request as ready for review April 30, 2025 13:18
Copy link
Contributor

@romac romac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I double-checked and CometBFT uses hex encoding for those fields since at least v0.34.x, so all good. Thanks for the fix!

@romac romac merged commit 6ed5c8d into main May 5, 2025
22 of 23 checks passed
@romac romac deleted the anca/1500-resultbroadcast branch May 5, 2025 06:36
melekes added a commit to cometbft/cometbft-rs that referenced this pull request Jun 10, 2025
melekes added a commit to cometbft/cometbft-rs that referenced this pull request Jun 19, 2025
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

Successfully merging this pull request may close these issues.

Incorrect deserialization of ResultBroadcastTx

2 participants