From 2ef11ad0d9ad45fd54f533119d2122e2fa0885be Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Tue, 20 Feb 2024 20:26:28 +0530 Subject: [PATCH] Make snapshot_cache module public --- beacon_node/beacon_chain/src/lib.rs | 2 +- lighthouse/tests/beacon_node.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_node/beacon_chain/src/lib.rs b/beacon_node/beacon_chain/src/lib.rs index 522009b1b27..529f269be10 100644 --- a/beacon_node/beacon_chain/src/lib.rs +++ b/beacon_node/beacon_chain/src/lib.rs @@ -50,7 +50,7 @@ mod pre_finalization_cache; pub mod proposer_prep_service; pub mod schema_change; pub mod shuffling_cache; -mod snapshot_cache; +pub mod snapshot_cache; pub mod state_advance_timer; pub mod sync_committee_rewards; pub mod sync_committee_verification; diff --git a/lighthouse/tests/beacon_node.rs b/lighthouse/tests/beacon_node.rs index 1901617613d..b61ce5922b3 100644 --- a/lighthouse/tests/beacon_node.rs +++ b/lighthouse/tests/beacon_node.rs @@ -178,7 +178,7 @@ fn snapshot_cache_default() { .run_with_zero_port() .with_config(|config| { assert_eq!( - config.chain.shuffling_cache_size, + config.chain.snapshot_cache_size, beacon_node::beacon_chain::snapshot_cache::DEFAULT_SNAPSHOT_CACHE_SIZE ) });