Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Dec 30, 2024
1 parent e148ed4 commit 85f96cd
Show file tree
Hide file tree
Showing 16 changed files with 304 additions and 64 deletions.
23 changes: 19 additions & 4 deletions src/ethereum/arrow_glacier/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/berlin/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/byzantium/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/cancun/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/constantinople/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/dao_fork/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/frontier/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/gray_glacier/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/homestead/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/istanbul/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/london/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/muir_glacier/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
23 changes: 19 additions & 4 deletions src/ethereum/paris/trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,25 @@ class ExtensionNode:
subnode: rlp.Extended


BranchSubnodes = Tuple[rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended,
rlp.Extended, rlp.Extended, rlp.Extended, rlp.Extended]
BranchSubnodes = Tuple[
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
rlp.Extended,
]


@slotted_freezable
@dataclass
Expand Down
Loading

0 comments on commit 85f96cd

Please sign in to comment.