File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55from ethereum_types .bytes import Bytes32
66from ethereum_types .numeric import U64
7+ from ssz .sedes .list import List
8+
79from lean_spec .client .block import Block
810from lean_spec .client .checkpoint import Checkpoint
9- from lean_spec .client .vote import Vote
1011from lean_spec .client .preset import VALIDATOR_REGISTRY_LIMIT
11- from ssz .sedes .list import List
12+ from lean_spec .client .vote import Vote
13+
1214
1315def test_block ():
1416
Original file line number Diff line number Diff line change 44
55from ethereum_types .bytes import Bytes32
66from ethereum_types .numeric import U64
7+
78from lean_spec .client .checkpoint import Checkpoint
89
10+
911def test_checkpoint ():
1012
1113 Checkpoint (
Original file line number Diff line number Diff line change 22Tests for the client's State container.
33"""
44
5- from unittest .loader import VALID_MODULE_NAME
65from ethereum_types .bytes import Bytes32
76from ethereum_types .numeric import U64
7+ from ssz .sedes .bitlist import Bitlist
8+ from ssz .sedes .list import List
9+
810from lean_spec .client .checkpoint import Checkpoint
9- from lean_spec .client .preset import MAX_HISTORICAL_BLOCK_HASHES , VALIDATOR_REGISTRY_LIMIT
11+ from lean_spec .client .preset import (
12+ MAX_HISTORICAL_BLOCK_HASHES ,
13+ VALIDATOR_REGISTRY_LIMIT ,
14+ )
1015from lean_spec .client .state import State
11- from ssz .sedes .list import List
12- from ssz .sedes .bitlist import Bitlist
16+
1317
1418def test_state ():
1519
Original file line number Diff line number Diff line change 44
55from ethereum_types .bytes import Bytes32
66from ethereum_types .numeric import U64
7+
78from lean_spec .client .checkpoint import Checkpoint
89from lean_spec .client .vote import Vote
910
11+
1012def test_vote ():
1113
1214 Vote (
You can’t perform that action at this time.
0 commit comments