File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/ethereum_test_tools/code Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 55from dataclasses import dataclass
66from typing import List , SupportsBytes
77
8+ from ethereum_test_base_types import Bytes
89from ethereum_test_types import ceiling_division
910from ethereum_test_vm import Bytecode , EVMCodeType
1011from ethereum_test_vm import Opcodes as Op
@@ -27,7 +28,7 @@ class Initcode(Bytecode):
2728 costs.
2829 """
2930
30- deploy_code : SupportsBytes
31+ deploy_code : SupportsBytes | Bytes
3132 """
3233 Bytecode to be deployed by the initcode.
3334 """
@@ -44,7 +45,7 @@ class Initcode(Bytecode):
4445 def __new__ (
4546 cls ,
4647 * ,
47- deploy_code : SupportsBytes = Bytecode (),
48+ deploy_code : SupportsBytes | Bytes = Bytecode (),
4849 initcode_length : int | None = None ,
4950 initcode_prefix : Bytecode = Bytecode (),
5051 initcode_prefix_execution_gas : int = 0 ,
You can’t perform that action at this time.
0 commit comments