Skip to content

Commit

Permalink
Add 'SHA3' to 'reads_from_memory'
Browse files Browse the repository at this point in the history
  • Loading branch information
el15066 authored and ESultanik committed Nov 9, 2023
1 parent 6feeb81 commit d9c557b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyevmasm/evmasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def writes_to_memory(self):
def reads_from_memory(self):
"""True if the instruction reads from memory"""
return self.semantics in {
"SHA3",
"MLOAD",
"CREATE",
"CALL",
Expand Down

0 comments on commit d9c557b

Please sign in to comment.