You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
It is possibly useful if we move the configs to a standalone genesis-beaconchain.json, in order to 1) remove hardcoded values for genesis. 2) share the config across ETH serentiy clients.
Steps
Create the json-schema for the beacon chain genesis file, enforcing EIP-1085-like style.
Load and validate the genesis file with the json-schema, which is implemented in Trinity, as the genesis_config.
Add BeaconConfig.from_beaconchain_genesis_config, to load genesis_data from the genesis_config
Generate BeaconChain with BeaconConfig.initialize_chain, which generates the chain with BeaconConfig.genesis_data
What is wrong?
In #307,
BeaconConfig
is generated through hardcodedchain_id
,network_id
, and the other configsSERENITY_CONFIG
.How can it be fixed
It is possibly useful if we move the configs to a standalone
genesis-beaconchain.json
, in order to 1) remove hardcoded values for genesis. 2) share the config across ETH serentiy clients.Steps
genesis_config
.BeaconConfig.from_beaconchain_genesis_config
, to loadgenesis_data
from thegenesis_config
BeaconChain
withBeaconConfig.initialize_chain
, which generates the chain withBeaconConfig.genesis_data
Reference
The text was updated successfully, but these errors were encountered: