Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Fix unstable genesis hash between v0.30.0 and v0.31.0 #1466

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

silasdavis
Copy link
Contributor

This was due to accidental removaal of omitempty from AppHash.

Also:

  • Add simple genesis stability snapshot test
  • Treat GenesisDoc.ChainID as read only and re-introduce
    GenesisDoc.chainID as lazy memo storage for ChainID to avoid writing
    back a chainID which was generated and never present in verbatim gendoc

Signed-off-by: Silas Davis silas@monax.io

This was due to accidental removaal of `omitempty` from AppHash.

Also:

- Add simple genesis stability snapshot test
- Treat `GenesisDoc.ChainID` as read only and re-introduce
`GenesisDoc.chainID` as lazy memo storage for ChainID to avoid writing
back a chainID which was generated and never present in verbatim gendoc

Signed-off-by: Silas Davis <silas@monax.io>
@compleatang compleatang merged commit bfbf9b4 into main Mar 23, 2021
@compleatang compleatang deleted the genesis-stability branch March 23, 2021 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants