From bf35d79c04c510aae1cbdae73c2b105ff60e2740 Mon Sep 17 00:00:00 2001 From: Sam Wilson <57262657+SamWilsn@users.noreply.github.com> Date: Thu, 22 Feb 2024 09:09:46 -0500 Subject: [PATCH] fix(fw): pypy compatibility - replace bytes=self with just self. (#451) pypy doesn't name this parameter for some reason. --- src/ethereum_test_tools/vm/opcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ethereum_test_tools/vm/opcode.py b/src/ethereum_test_tools/vm/opcode.py index c0a3a8f691..d456eee4ef 100644 --- a/src/ethereum_test_tools/vm/opcode.py +++ b/src/ethereum_test_tools/vm/opcode.py @@ -180,7 +180,7 @@ def int(self) -> int: """ Returns the integer representation of the opcode. """ - return int.from_bytes(bytes=self, byteorder="big") + return int.from_bytes(self, byteorder="big") def __str__(self) -> str: """