Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'SHA3' to 'reads_from_memory' #61

Merged
merged 2 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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