Skip to content

fix: invalid txs_results returned for legacy ABCI responses (backport #3031) - #3434

Merged
andynog merged 2 commits into
v1.xfrom
mergify/bp/v1.x/pr-3031
Jul 5, 2024
Merged

andynog merged 2 commits into
v1.xfrom
mergify/bp/v1.x/pr-3031

Conversation

@mergify

@mergify mergify Bot commented Jul 5, 2024

Copy link
Copy Markdown
Contributor

close: #3002

This PR fixes the issue reported above.

This is not a storage issue in particular, the results are still in storage after an upgrade, but not returned properly by the RPC endpoint. The fix is to make the /block_results endpoint in v0.38 to return properly a legacy ABCI response created with v0.37.

Once this fix is merged on v0.38 and a patch release is cut, any node on v0.38 (e.g. an archive node) that applies the patch release, should have the results returned properly by the RPC /block_results endpoint.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments
  • Title follows the Conventional Commits spec

This is an automatic backport of pull request #3031 done by [Mergify](https://mergify.com).

close: #3002

This PR fixes the issue reported above.

This is not a storage issue in particular, the results are still in
storage after an upgrade, but not returned properly by the RPC endpoint.
The fix is to make the `/block_results` endpoint in `v0.38` to return
properly a legacy ABCI response created with `v0.37`.

Once this fix is merged on `v0.38` and a patch release is cut, any node
on `v0.38` (e.g. an archive node) that applies the patch release, should
have the results returned properly by the RPC `/block_results` endpoint.

---

#### PR checklist

- [X] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] ~~Updated relevant documentation (`docs/` or `spec/`) and code
comments~~
- [X] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

---------

Co-authored-by: Sergio Mena <[email protected]>
Co-authored-by: Daniel <[email protected]>
Co-authored-by: Anton Kaliaev <[email protected]>
Co-authored-by: Daniel Wedul <[email protected]>
(cherry picked from commit db6b608)
@mergify
mergify Bot requested a review from a team as a code owner July 5, 2024 15:56
@mergify
mergify Bot requested a review from a team July 5, 2024 15:56
@andynog andynog self-assigned this Jul 5, 2024

@andynog andynog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good to me, fixed conflict and ran tests.

@andynog
andynog merged commit 8b262bd into v1.x Jul 5, 2024
@andynog
andynog deleted the mergify/bp/v1.x/pr-3031 branch July 5, 2024 18:33
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.

1 participant