Skip to content

Commit 1778558

Browse files
committed
fix(specs): Requests type in Block
1 parent 7d5f0c4 commit 1778558

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/ethereum_test_specs/blockchain.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,7 @@
33
"""
44

55
from pprint import pprint
6-
from typing import (
7-
Any,
8-
Callable,
9-
ClassVar,
10-
Dict,
11-
Generator,
12-
List,
13-
Optional,
14-
SupportsBytes,
15-
Tuple,
16-
Type,
17-
)
6+
from typing import Any, Callable, ClassVar, Dict, Generator, List, Optional, Tuple, Type
187

198
import pytest
209
from pydantic import ConfigDict, Field, field_validator
@@ -251,7 +240,7 @@ class Block(Header):
251240
"""
252241
List of withdrawals to perform for this block.
253242
"""
254-
requests: List[SupportsBytes] | None = None
243+
requests: List[Bytes] | None = None
255244
"""
256245
Custom list of requests to embed in this block.
257246
"""

0 commit comments

Comments
 (0)