Squashed reset to unstable

This commit is contained in:
Daniel Knopik
2025-03-13 12:50:29 +01:00
committed by Daniel Knopik
parent b71b5f2231
commit f61f0b654c
416 changed files with 13195 additions and 38478 deletions

View File

@@ -12,7 +12,7 @@ use beacon_chain::{
BeaconSnapshot, BlockError, ChainConfig, ChainSegmentResult, IntoExecutionPendingBlock,
InvalidSignature, NotifyExecutionLayer,
};
use logging::test_logger;
use logging::create_test_tracing_subscriber;
use slasher::{Config as SlasherConfig, Slasher};
use state_processing::{
common::{attesting_indices_base, attesting_indices_electra},
@@ -1295,15 +1295,11 @@ async fn verify_and_process_gossip_data_sidecars(
#[tokio::test]
async fn verify_block_for_gossip_slashing_detection() {
create_test_tracing_subscriber();
let slasher_dir = tempdir().unwrap();
let spec = Arc::new(test_spec::<E>());
let slasher = Arc::new(
Slasher::open(
SlasherConfig::new(slasher_dir.path().into()),
spec.clone(),
test_logger(),
)
.unwrap(),
Slasher::open(SlasherConfig::new(slasher_dir.path().into()), spec.clone()).unwrap(),
);
let inner_slasher = slasher.clone();