Skip to content

Commit

Permalink
Merge pull request #61 from crytic/update-sha3-read-from-memory
Browse files Browse the repository at this point in the history
Add 'SHA3' to 'reads_from_memory'
  • Loading branch information
ESultanik authored Nov 9, 2023
2 parents 6feeb81 + 0c59b84 commit c51a87f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,3 @@ jobs:
run: |
python setup.py install
python -m unittest discover "tests/"
test27:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python 2.7
uses: actions/setup-python@v4
with:
python-version: 2.7
- name: Run Tests 27
run: |
python setup.py install
python -m unittest discover "tests/"
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 c51a87f

Please sign in to comment.