From d9c557ba5c2fa14293ec4ad127a09f7ebe6bfc37 Mon Sep 17 00:00:00 2001 From: Panagiotis Date: Thu, 9 Nov 2023 16:45:32 -0500 Subject: [PATCH 1/2] Add 'SHA3' to 'reads_from_memory' --- pyevmasm/evmasm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyevmasm/evmasm.py b/pyevmasm/evmasm.py index c514cb8..668b4ba 100644 --- a/pyevmasm/evmasm.py +++ b/pyevmasm/evmasm.py @@ -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", From 0c59b844cb685f7ff27b0a45a95a5c05d8b06404 Mon Sep 17 00:00:00 2001 From: Evan Sultanik Date: Thu, 9 Nov 2023 16:49:33 -0500 Subject: [PATCH 2/2] Remove automated testing against Python 2.7 because it no longer works on Ubuntu --- .github/workflows/main.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 063ac27..d9bacfd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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/" -