Rename "state" to "chain_state"
This commit is contained in:
parent
b81ffd0781
commit
c4f9f927f3
@ -1,8 +1,8 @@
|
|||||||
pub struct Config {
|
pub struct ChainConfig {
|
||||||
pub cycle_length: u8,
|
pub cycle_length: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Config {
|
impl ChainConfig {
|
||||||
pub fn standard() -> Self {
|
pub fn standard() -> Self {
|
||||||
Self {
|
Self {
|
||||||
cycle_length: 8,
|
cycle_length: 8,
|
@ -9,7 +9,7 @@ use super::utils;
|
|||||||
pub mod active_state;
|
pub mod active_state;
|
||||||
pub mod attestation_record;
|
pub mod attestation_record;
|
||||||
pub mod crystallized_state;
|
pub mod crystallized_state;
|
||||||
pub mod config;
|
pub mod chain_config;
|
||||||
pub mod block;
|
pub mod block;
|
||||||
pub mod crosslink_record;
|
pub mod crosslink_record;
|
||||||
pub mod shard_and_committee;
|
pub mod shard_and_committee;
|
||||||
|
Loading…
Reference in New Issue
Block a user