Skip to content

Commit 2e3ebe8

Browse files
committed
Fix outdated cycle_length
1 parent 1657f20 commit 2e3ebe8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/beacon/test_helpers.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_get_block_root(current_block_number,
179179
@pytest.mark.parametrize(
180180
(
181181
'num_validators,'
182-
'cycle_length,'
182+
'epoch_length,'
183183
'state_slot,'
184184
'num_slot,'
185185
'num_shard_committee_per_slot,'
@@ -239,13 +239,12 @@ def test_get_block_root(current_block_number,
239239
)
240240
def test_get_shard_committees_at_slot(
241241
num_validators,
242-
cycle_length,
242+
epoch_length,
243243
state_slot,
244244
num_slot,
245245
num_shard_committee_per_slot,
246246
slot,
247247
success,
248-
epoch_length,
249248
sample_shard_committee_params):
250249

251250
shard_committees_at_slots = get_sample_shard_committees_at_slots(
@@ -414,7 +413,7 @@ def mock_get_shard_committees_at_slot(state,
414413
@pytest.mark.parametrize(
415414
(
416415
'num_validators,'
417-
'cycle_length,'
416+
'epoch_length,'
418417
'committee,'
419418
'slot,'
420419
'success,'
@@ -439,11 +438,10 @@ def mock_get_shard_committees_at_slot(state,
439438
def test_get_beacon_proposer_index(
440439
monkeypatch,
441440
num_validators,
442-
cycle_length,
441+
epoch_length,
443442
committee,
444443
slot,
445444
success,
446-
epoch_length,
447445
sample_state):
448446

449447
from eth.beacon import helpers

0 commit comments

Comments
 (0)