From d0ca114592ad41ba8739950d879fa6780c05651d Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Wed, 27 May 2020 16:58:36 +1000 Subject: [PATCH] Fix some tests --- book/src/http/spec.md | 4 ++-- lighthouse/environment/tests/minimal_spec/eth2-spec.toml | 2 +- testing/state_transition_vectors/src/exit.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/book/src/http/spec.md b/book/src/http/spec.md index 9fb8c0c988..3f222c9608 100644 --- a/book/src/http/spec.md +++ b/book/src/http/spec.md @@ -51,7 +51,7 @@ Typical Responses | 200 "max_seed_lookahead": 4, "min_epochs_to_inactivity_penalty": 4, "min_validator_withdrawability_delay": 256, - "persistent_committee_period": 2048, + "shard_committee_period": 2048, "base_reward_factor": 64, "whistleblower_reward_quotient": 512, "proposer_reward_quotient": 8, @@ -113,7 +113,7 @@ Typical Responses | 200 "max_seed_lookahead": 4, "min_epochs_to_inactivity_penalty": 4, "min_validator_withdrawability_delay": 256, - "persistent_committee_period": 2048, + "shard_committee_period": 2048, "base_reward_factor": 64, "whistleblower_reward_quotient": 512, "proposer_reward_quotient": 8, diff --git a/lighthouse/environment/tests/minimal_spec/eth2-spec.toml b/lighthouse/environment/tests/minimal_spec/eth2-spec.toml index c880b867d1..3ef1046126 100644 --- a/lighthouse/environment/tests/minimal_spec/eth2-spec.toml +++ b/lighthouse/environment/tests/minimal_spec/eth2-spec.toml @@ -24,7 +24,7 @@ min_seed_lookahead = 1 max_seed_lookahead = 4 min_epochs_to_inactivity_penalty = 4 min_validator_withdrawability_delay = 256 -persistent_committee_period = 2048 +shard_committee_period = 2048 base_reward_factor = 64 whistleblower_reward_quotient = 512 proposer_reward_quotient = 8 diff --git a/testing/state_transition_vectors/src/exit.rs b/testing/state_transition_vectors/src/exit.rs index 3f156d29ef..99be12e037 100644 --- a/testing/state_transition_vectors/src/exit.rs +++ b/testing/state_transition_vectors/src/exit.rs @@ -62,7 +62,7 @@ impl ExitTest { fn run(self) -> BeaconState { let spec = &E::default_spec(); let expected = self.expected.clone(); - assert_eq!(STATE_EPOCH, spec.persistent_committee_period); + assert_eq!(STATE_EPOCH, spec.shard_committee_period); let (block, mut state) = self.block_and_pre_state();