Skip to content

Conversation

@michaelsproul
Copy link
Member

Proposed Changes

Delete the zipped genesis states from eth2_network_config, as they serve no purpose after #2029 accidentally merged the unzipped genesis states into the repo. Presently the unzipping is just causing unnecessary rebuilds, as the genesis.ssz files get overwritten each build, making the source directory appear dirty.

Additional Info

If we add another testnet in future for which the genesis state is not known, I think it suffices to add an empty genesis.ssz file initially, and then update it (and genesis_is_known: true) once genesis is known.

@michaelsproul michaelsproul added ready-for-review The code is ready for review infra-ci labels Dec 15, 2020
Copy link
Member

@AgeManning AgeManning left a comment

Choose a reason for hiding this comment

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

LGTM

@michaelsproul
Copy link
Member Author

Closing in favour of #2092, as it allows us to use compressed states for future testnets.

bors bot pushed a commit that referenced this pull request Dec 16, 2020
## Issue Addressed

Replaces #2091

## Proposed Changes

* Delete the uncompressed genesis states from `eth2_network_config` after they were merged accidentally in #2029.
* Tweak the build script to not overwrite `genesis.ssz` on every build, which caused spurious rebuilds.
@michaelsproul michaelsproul deleted the delete-zips branch February 15, 2021 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra-ci ready-for-review The code is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants