Skip to content

Commit

Permalink
Fix stub
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Mar 22, 2024
1 parent 7ace79a commit 5bbc43d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyrevm.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,17 @@ 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.
:param caller: The address of the caller.
: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.
"""

Expand Down

0 comments on commit 5bbc43d

Please sign in to comment.