diff --git a/lighthouse/state/config.rs b/lighthouse/state/chain_config.rs similarity index 73% rename from lighthouse/state/config.rs rename to lighthouse/state/chain_config.rs index 63aa7de02..c5b244f20 100644 --- a/lighthouse/state/config.rs +++ b/lighthouse/state/chain_config.rs @@ -1,8 +1,8 @@ -pub struct Config { +pub struct ChainConfig { pub cycle_length: u8, } -impl Config { +impl ChainConfig { pub fn standard() -> Self { Self { cycle_length: 8, diff --git a/lighthouse/state/mod.rs b/lighthouse/state/mod.rs index 45e845fef..5d5c2d7da 100644 --- a/lighthouse/state/mod.rs +++ b/lighthouse/state/mod.rs @@ -9,7 +9,7 @@ use super::utils; pub mod active_state; pub mod attestation_record; pub mod crystallized_state; -pub mod config; +pub mod chain_config; pub mod block; pub mod crosslink_record; pub mod shard_and_committee;