mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Change genesis fork for testnets (#750)
* Change genesis fork for testnets * Fix genesis fork in lcli
This commit is contained in:
@@ -357,6 +357,13 @@ fn init_new_client<E: EthSpec>(
|
||||
|
||||
let spec = &mut eth2_config.spec;
|
||||
|
||||
// For now, assume that all networks will use the lighthouse genesis fork.
|
||||
spec.genesis_fork = Fork {
|
||||
previous_version: [0, 0, 0, 0],
|
||||
current_version: [1, 3, 3, 7],
|
||||
epoch: Epoch::new(0),
|
||||
};
|
||||
|
||||
client_config.eth1.deposit_contract_address =
|
||||
format!("{:?}", eth2_testnet_config.deposit_contract_address()?);
|
||||
client_config.eth1.deposit_contract_deploy_block =
|
||||
|
||||
Reference in New Issue
Block a user