mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 14:54:45 +00:00
Fix minor bugs whilst testing
This commit is contained in:
@@ -268,7 +268,6 @@ fn process_testnet_subcommand(
|
||||
spec.max_effective_balance = 3_200_000_000;
|
||||
spec.ejection_balance = 1_600_000_000;
|
||||
spec.effective_balance_increment = 100_000_000;
|
||||
spec.min_genesis_time = 0;
|
||||
spec.genesis_fork = Fork {
|
||||
previous_version: [0; 4],
|
||||
current_version: [0, 0, 0, 42],
|
||||
@@ -276,11 +275,19 @@ fn process_testnet_subcommand(
|
||||
};
|
||||
|
||||
client_config.eth1.deposit_contract_address =
|
||||
format!("{}", eth2_testnet_dir.deposit_contract_address()?);
|
||||
format!("{:?}", eth2_testnet_dir.deposit_contract_address()?);
|
||||
client_config.eth1.deposit_contract_deploy_block =
|
||||
eth2_testnet_dir.deposit_contract_deploy_block;
|
||||
spec.min_genesis_time = eth2_testnet_dir.min_genesis_time;
|
||||
|
||||
// Note: these constants _should_ only be used during genesis to determine the genesis
|
||||
// time. This allows the testnet to start shortly after the time + validator count
|
||||
// conditions are satisified, not 1-2 days.
|
||||
spec.seconds_per_day = 60;
|
||||
|
||||
client_config.eth1.follow_distance = 16;
|
||||
client_config.dummy_eth1_backend = false;
|
||||
client_config.sync_eth1_chain = true;
|
||||
|
||||
builder.set_genesis(ClientGenesis::DepositContract)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user