Skip to content

Commit 1733d53

Browse files
committed
fix
1 parent 3fc3790 commit 1733d53

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

eth/beacon/state_machines/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from abc import (
22
ABC,
33
)
4-
import functools
54
import logging
65
from typing import (
76
Iterable,

tests/beacon/state_machines/test_state_machines.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ def test_state_machine(base_db,
1919
block_1 = genesis_block.copy(
2020
parent_hash=genesis_block.hash,
2121
slot_number=1,
22+
active_state_root=b'\x11' * 32,
2223
)
2324
chaindb.persist_block(block_1)
2425

2526
block_2 = block_1.copy(
2627
parent_hash=block_1.hash,
2728
slot_number=2,
29+
active_state_root=b'\x22' * 32,
2830
)
2931
# canonical head is block_2
3032
chaindb.persist_block(block_2)
@@ -33,6 +35,7 @@ def test_state_machine(base_db,
3335
block_3 = block_2.copy(
3436
parent_hash=block_2.hash,
3537
slot_number=3,
38+
active_state_root=b'\x33' * 32,
3639
)
3740

3841
sm = SerenityBeaconStateMachine(chaindb, block_3)

0 commit comments

Comments
 (0)