Skip to content

Commit

Permalink
Add a max_length of 0 for uncles in a Paris block
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed Nov 1, 2022
1 parent 22cdd72 commit d1c4d84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eth/vm/forks/paris/blocks.py
Expand Up @@ -38,5 +38,7 @@ class ParisBlock(GrayGlacierBlock):
fields = [
('header', ParisBlockHeader),
('transactions', CountableList(transaction_builder)),
('uncles', CountableList(LondonBackwardsHeader)),

# no uncles in pos, max_length=0
('uncles', CountableList(LondonBackwardsHeader, max_length=0)),
]

0 comments on commit d1c4d84

Please sign in to comment.