Skip to content

fix(interpreter): avoid overflow when checking if mem limit reached #3417

fix(interpreter): avoid overflow when checking if mem limit reached

fix(interpreter): avoid overflow when checking if mem limit reached #3417

Workflow file for this run

name: Ethereum Tests
concurrency:
cancel-in-progress: true
group: ${{github.workflow}}-${{github.ref}}
on:
push:
branches: [main, "release/**"]
pull_request:
branches: [main, "release/**"]
jobs:
tests-stable:
name: Ethereum Tests (Stable)
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
profile: [ethtests, release]
target: [i686-unknown-linux-gnu, x86_64-unknown-linux-gnu]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Checkout ethereum/tests
uses: actions/checkout@v4
with:
repository: ethereum/tests
path: ethtests
submodules: recursive
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install cross
run: cargo install cross
- name: Run Ethereum tests
run: |
cross run --target ${{matrix.target}} --profile ${{ matrix.profile }} -p revme -- statetest \
ethtests/GeneralStateTests/ \
ethtests/LegacyTests/Constantinople/GeneralStateTests/ \
ethtests/EIPTests/StateTests/stEIP1153-transientStorage/ \
ethtests/EIPTests/StateTests/stEIP4844-blobtransactions/ \
ethtests/EIPTests/StateTests/stEIP2537/ \