Skip to content

genesis: add support for arbitrary initial height#5191

Merged
mergify[bot] merged 28 commits intomasterfrom
erik/nonzero-genesis
Aug 11, 2020
Merged

genesis: add support for arbitrary initial height#5191
mergify[bot] merged 28 commits intomasterfrom
erik/nonzero-genesis

Conversation

@erikgrinaker
Copy link
Contributor

@erikgrinaker erikgrinaker commented Jul 31, 2020

Adds a genesis parameter initial_height which specifies the initial block height, as well as ABCI RequestInitChain.InitialHeight to pass it to the ABCI application, and State.InitialHeight to keep track of the initial height throughout the code. Fixes #2543, based on RFC-002. Spec changes in tendermint/spec#135.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C:consensus Component: Consensus S:automerge Automatically merge PR when requirements pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow genesis file to start from non-zero height w/ prev block header

6 participants