mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 21:34:46 +00:00
Fix some tests
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -62,7 +62,7 @@ impl ExitTest {
|
||||
fn run(self) -> BeaconState<E> {
|
||||
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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user