Skip to content

ABCI 2.0: make sure we only include meaningful header data#98

Merged
sergio-mena merged 2 commits intofeature/abci++veffrom
sergio/97-hide-block-header
Jan 16, 2023
Merged

ABCI 2.0: make sure we only include meaningful header data#98
sergio-mena merged 2 commits intofeature/abci++veffrom
sergio/97-hide-block-header

Conversation

@sergio-mena
Copy link
Collaborator

@sergio-mena sergio-mena commented Jan 12, 2023

Closes #97

In v0.36.x we decided to not expose the whole block header to the application. We did some due diligence to find out which fields where used by the SDK, ibc-go, and gaia; and made only those fields available via ABCI. See this comment for details on the due diligence.

This PR is based on tendermint/tendermint#8216 to make sure that work is kept completely in the current implementation.
In the end, all code has been (manually) done in previous commits related to FinalizeBlock and/or vote extension, so the resulting PR is pretty trivial. Still submitting separately for clearer documentation of this aspect.


PR checklist

  • Tests written/updated, or no tests needed
  • CHANGELOG_PENDING.md updated, or no changelog entry needed
  • Updated relevant documentation (docs/) and code comments, or no
    documentation updates needed

… passed-through to application (#8216)

closes: #7950
@sergio-mena sergio-mena changed the title [cherry-picked] abci++: only include meaningful header fields in data… ABCI 2.0: make sure we only include meaningful header data Jan 12, 2023
@sergio-mena sergio-mena requested review from a team as code owners January 13, 2023 16:41
@sergio-mena sergio-mena merged commit cbcdffb into feature/abci++vef Jan 16, 2023
@sergio-mena sergio-mena deleted the sergio/97-hide-block-header branch January 16, 2023 11:28
sergio-mena added a commit that referenced this pull request Mar 3, 2023
… passed-through to application (#8216) (#98)

closes: #7950

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
@sergio-mena sergio-mena self-assigned this Mar 3, 2023
@sergio-mena sergio-mena added the abci Application blockchain interface label Mar 3, 2023
sergio-mena added a commit that referenced this pull request Mar 6, 2023
… passed-through to application (#8216) (#98) (#453)

closes: #7950

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
cometcrafter pushed a commit to graphprotocol/cometbft that referenced this pull request Jun 25, 2024
…v0.37.4/pr-97

perf(p2p/connection): Lower wasted re-allocations in sendRoutine (bac… (backport cometbft#97)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

abci Application blockchain interface

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants