mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-02 04:14:33 +00:00
Deprecate gossip blobs (#9126)
#9124 Deprecate unneeded pre-Fulu blob features - blob gossip - blob lookup sync - engine getBlobsV1 Also deprecates some tests and cleans up production code paths I think this is blocked until gnosis forks to fulu? Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu> Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com> Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com> Co-Authored-By: Pawan Dhananjay <pawandhananjay@gmail.com> Co-Authored-By: Michael Sproul <michael@sigmaprime.io> Co-Authored-By: Daniel Knopik <daniel@dknopik.de> Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use crate::checks::epoch_delay;
|
||||
use beacon_chain::custody_context::NodeCustodyType;
|
||||
use kzg::trusted_setup::get_trusted_setup;
|
||||
use node_test_rig::{
|
||||
ClientConfig, ClientGenesis, LocalBeaconNode, LocalExecutionNode, LocalValidatorClient,
|
||||
@@ -46,6 +47,7 @@ fn default_client_config(network_params: LocalNetworkParams, genesis_time: u64)
|
||||
beacon_config.network.discv5_config.enable_packet_filter = false;
|
||||
beacon_config.chain.enable_light_client_server = true;
|
||||
beacon_config.chain.optimistic_finalized_sync = false;
|
||||
beacon_config.chain.node_custody_type = NodeCustodyType::Supernode;
|
||||
beacon_config.trusted_setup = get_trusted_setup();
|
||||
|
||||
let el_config = execution_layer::Config {
|
||||
@@ -103,6 +105,15 @@ fn default_mock_execution_config<E: EthSpec>(
|
||||
)
|
||||
}
|
||||
|
||||
if let Some(gloas_fork_epoch) = spec.gloas_fork_epoch {
|
||||
mock_execution_config.amsterdam_time = Some(
|
||||
genesis_time
|
||||
+ (spec.get_slot_duration().as_secs())
|
||||
* E::slots_per_epoch()
|
||||
* gloas_fork_epoch.as_u64(),
|
||||
)
|
||||
}
|
||||
|
||||
mock_execution_config
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user