quilt / simulation

A tool to simulate Ethereum 2.0 execution
12 stars 2 forks source link

Update types to reflect changes in the spec. #25

Closed gjtrowbridge closed 4 years ago

gjtrowbridge commented 4 years ago

This PR makes slight changes to existing types based on the recent updates to the spec for Phase 0 and Phase 1.

Notably, it removes the concept of CrossLinks, and currently replaces it only with the shard_states property on BeaconState. Eventually (once the simulation also models spec-compliant block transitions), more of the "history" of the "crosslinked" shard states will be visible via the shard_transitions property of BeaconBlockBody. For now, however, this is omitted in favor of just storing the result of those state transitions (ie. BeaconState and ShardState).

gjtrowbridge commented 4 years ago

Closing bc all these changes were included in other commits (see #27)