mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 11:35:01 -05:00
548 B
548 B
Genesis validity testing
Tests if a genesis state is valid, i.e. if it counts as trigger to launch.
Test case format
genesis.yaml
A BeaconState, the state to validate as genesis candidate.
Also available as genesis.ssz.
is_valid.yaml
A boolean, true if the genesis state is deemed valid as to launch with, false otherwise.
Processing
To process the data, call is_valid_genesis_state(genesis).
Condition
The result of calling is_valid_genesis_state(genesis) should match the expected is_valid boolean.