From 5bbc43d68046969fc598dced4d10256a4abd7d24 Mon Sep 17 00:00:00 2001 From: Daniel Schiavini Date: Fri, 22 Mar 2024 11:06:24 +0100 Subject: [PATCH] Fix stub --- pyrevm.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyrevm.pyi b/pyrevm.pyi index f570659..e5a0471 100644 --- a/pyrevm.pyi +++ b/pyrevm.pyi @@ -176,6 +176,8 @@ class EVM: to: str, calldata: Optional[bytes] = None, value: Optional[int] = None, + gas: Optional[int] = None, + is_static = False, ) -> bytes: """ Processes a raw call, without committing the result to the state. @@ -183,6 +185,8 @@ class EVM: :param to: The address of the callee. :param calldata: The calldata. :param value: The value. + :param gas: The gas. + :param is_static: Whether the call is static (i.e. does not change the state). :return: The return data and a list of changes to the state. """