Schedule Deneb on mainnet (#5233)

* Schedule Deneb on mainnet

* Fix trusted setup roundtrip test

* Fix BN CLI tests for insecure genesis sync
This commit is contained in:
Michael Sproul
2024-02-15 23:23:51 +11:00
committed by GitHub
parent 7c23625193
commit 0e819fa785
5 changed files with 84 additions and 27 deletions

View File

@@ -583,6 +583,8 @@ mod tests {
} else {
GenesisStateSource::Unknown
};
// With Deneb enabled by default we must set a trusted setup here.
let kzg_trusted_setup = get_trusted_setup_from_config(&config).unwrap();
let testnet = Eth2NetworkConfig {
deposit_contract_deploy_block,
@@ -593,7 +595,7 @@ mod tests {
.map(Encode::as_ssz_bytes)
.map(Into::into),
config,
kzg_trusted_setup: None,
kzg_trusted_setup: Some(kzg_trusted_setup),
};
testnet