From c959400e854fc50cd2db2966e96342ecb3c54d4c Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Fri, 20 Sep 2024 19:27:30 +0000 Subject: [PATCH] fix(vm): add missing `SupportsBytes` parameter type --- src/ethereum_test_vm/opcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ethereum_test_vm/opcode.py b/src/ethereum_test_vm/opcode.py index 398a7ae62c..90e10e0394 100644 --- a/src/ethereum_test_vm/opcode.py +++ b/src/ethereum_test_vm/opcode.py @@ -33,7 +33,7 @@ def _get_int_size(n: int) -> int: def _stack_argument_to_bytecode( - arg: "int | bytes | str | Opcode | Bytecode | Iterable[int]", + arg: "int | bytes | SupportsBytes | str | Opcode | Bytecode | Iterable[int]", ) -> Bytecode: """ Converts a stack argument in an opcode or macro to bytecode.