Skip to content

Commit 67d52ea

Browse files
authored
Merge branch 'main' into feat/multi-opcode-bloatnet-bench
2 parents a862f76 + fea2f28 commit 67d52ea

File tree

215 files changed

+15630
-6228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+15630
-6228
lines changed

.github/configs/eels_resolutions.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,25 @@
3333
"path": "$GITHUB_WORKSPACE/execution-specs/"
3434
},
3535
"Osaka": {
36-
"git_url": "https://github.com/spencer-tb/execution-specs.git",
37-
"branch": "forks/osaka",
38-
"commit": "0e97247a9022b8c04c01e22cae6ec95d1b590838"
36+
"git_url": "https://github.com/marioevz/execution-specs.git",
37+
"branch": "forks/bpo1",
38+
"commit": "3387e5f4aedfe99becfdc39b444d6371e25e0924"
39+
},
40+
"BPO1": {
41+
"same_as": "Osaka"
42+
},
43+
"BPO2": {
44+
"same_as": "Osaka"
45+
},
46+
"BPO3": {
47+
"same_as": "Osaka"
48+
},
49+
"BPO4": {
50+
"same_as": "Osaka"
51+
},
52+
"Amsterdam": {
53+
"git_url": "https://github.com/fselmo/execution-specs.git",
54+
"branch": "feat/amsterdam-fork-and-block-access-lists",
55+
"commit": "39e0b59613be4100d2efc86702ff594c54e5bd81"
3956
}
4057
}

.github/configs/feature.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ stable:
55

66
develop:
77
evm-type: develop
8-
fill-params: --until=Osaka --fill-static-tests --ignore=tests/static/state_tests/stQuadraticComplexityTest
8+
fill-params: --until=BPO4 --fill-static-tests --ignore=tests/static/state_tests/stQuadraticComplexityTest
99

1010
benchmark:
1111
evm-type: benchmark # Evmone only fully supports up to Prague
@@ -15,3 +15,8 @@ benchmark_develop:
1515
evm-type: develop
1616
fill-params: --fork=Osaka --gas-benchmark-values 1,10,30,45,60,100,150 -m "benchmark and not state_test" ./tests/benchmark
1717
feature_only: true
18+
19+
bal:
20+
evm-type: develop
21+
fill-params: --fork=Amsterdam ./tests/amsterdam/eip7928_block_level_access_lists
22+
feature_only: true

.github/scripts/fill_prepatched_tests.sh

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,15 @@ echo "Select files that were changed and exist on the main branch:"
2525
echo "$MODIFIED_DELETED_FILES"
2626

2727
rm -rf fixtures
28-
rm -f filloutput.log
2928

30-
uv run fill $MODIFIED_DELETED_FILES --clean --until=$FILL_UNTIL --evm-bin evmone-t8n --block-gas-limit $BLOCK_GAS_LIMIT -m "state_test or blockchain_test" --output $BASE_TEST_PATH > >(tee -a filloutput.log) 2> >(tee -a filloutput.log >&2)
31-
32-
if grep -q "FAILURES" filloutput.log; then
33-
echo "Error: failed to generate .py tests from before the PR."
34-
exit 1
35-
fi
36-
37-
if grep -q "ERROR collecting test session" filloutput.log; then
29+
set +e
30+
uv run fill $MODIFIED_DELETED_FILES --clean --until=$FILL_UNTIL --evm-bin evmone-t8n --block-gas-limit $BLOCK_GAS_LIMIT -m "state_test or blockchain_test" --output $BASE_TEST_PATH
31+
FILL_RETURN_CODE=$?
32+
set -e
33+
if [ $FILL_RETURN_CODE -eq 5 ]; then
34+
echo "any_modified_fixtures=false" >> "$GITHUB_OUTPUT"
35+
exit 0
36+
elif [ $FILL_RETURN_CODE -ne 0 ]; then
3837
echo "Error: failed to generate .py tests from before the PR."
3938
exit 1
4039
fi

.github/scripts/parse_ported_tests.sh

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,20 @@ WORKSPACE_PATH="${2:-$GITHUB_WORKSPACE}"
1212

1313
echo "Changed or new test files: $CHANGED_TEST_FILES"
1414

15-
# Extract ported_from markers
16-
uv run fill $CHANGED_TEST_FILES --show-ported-from --clean --quiet --links-as-filled --skip-coverage-missed-reason --ported-from-output-file ported_from_files.txt
15+
FILTERED_FILES=""
16+
for file in $CHANGED_TEST_FILES; do
17+
if git diff origin/main -- "$file" | grep -q "^+.*@pytest.mark.ported_from"; then
18+
FILTERED_FILES="$FILTERED_FILES $file"
19+
fi
20+
done
21+
22+
if [[ -z "$FILTERED_FILES" ]]; then
23+
echo "No new ported_from markers found."
24+
echo "any_ported=false" >> "$GITHUB_OUTPUT"
25+
exit 0
26+
fi
27+
28+
uv run fill $FILTERED_FILES --show-ported-from --clean --quiet --links-as-filled --skip-coverage-missed-reason --ported-from-output-file ported_from_files.txt
1729
files=$(cat ported_from_files.txt)
1830
echo "Extracted converted tests:"
1931
echo "$files"

.github/workflows/fixtures.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
echo "features=$(cat features.json)" >> "$GITHUB_OUTPUT"
3030
build:
3131
needs: features
32-
runs-on: [self-hosted-ghr, size-chungus-x64]
32+
runs-on: [self-hosted-ghr, size-gigachungus-x64]
33+
timeout-minutes: 1440
3334
strategy:
3435
matrix:
3536
name: ${{ fromJson(needs.features.outputs.features) }}
@@ -60,7 +61,6 @@ jobs:
6061
release_name: ${{ matrix.name }}
6162
uv_version: ${{ vars.UV_VERSION }}
6263
python_version: ${{ vars.DEFAULT_PYTHON_VERSION }}
63-
timeout-minutes: 720
6464
release:
6565
runs-on: ubuntu-latest
6666
needs: build

.github/workflows/fixtures_feature.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
echo names=${names}
2424
echo names=${names} >> "$GITHUB_OUTPUT"
2525
build:
26-
runs-on: [self-hosted-ghr, size-chungus-x64]
2726
needs: feature-names
27+
runs-on: [self-hosted-ghr, size-gigachungus-x64]
28+
timeout-minutes: 1440
2829
strategy:
2930
matrix:
3031
feature: ${{ fromJSON(needs.feature-names.outputs.names) }}
@@ -55,7 +56,6 @@ jobs:
5556
release_name: ${{ matrix.feature }}
5657
uv_version: ${{ vars.UV_VERSION }}
5758
python_version: ${{ vars.DEFAULT_PYTHON_VERSION }}
58-
timeout-minutes: 720
5959
release:
6060
runs-on: ubuntu-latest
6161
needs: build

.github/workflows/tox_verify.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ jobs:
123123
- name: Checkout ethereum/execution-specs for local EELS implementation
124124
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
125125
with:
126-
repository: ethereum/execution-specs
127-
ref: 5a49b2f39a909be6a8c84bb70611febdc2b2fd98
126+
repository: marioevz/execution-specs
127+
ref: 3387e5f4aedfe99becfdc39b444d6371e25e0924
128128
path: execution-specs
129129
fetch-depth: 1
130130
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }}
@@ -154,8 +154,8 @@ jobs:
154154
strategy:
155155
matrix:
156156
include:
157-
- os: [self-hosted-ghr, size-xl-x64]
158-
name: self-hosted-ghr-xl-x64
157+
- os: [self-hosted-ghr, size-chungus-x64]
158+
name: self-hosted-ghr-chungus-x64
159159
python: "3.11"
160160
- os: macos-15
161161
name: macos-15
@@ -166,8 +166,8 @@ jobs:
166166
- name: Checkout ethereum/execution-specs for local EELS implementation
167167
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
168168
with:
169-
repository: ethereum/execution-specs
170-
ref: 5a49b2f39a909be6a8c84bb70611febdc2b2fd98
169+
repository: marioevz/execution-specs
170+
ref: 3387e5f4aedfe99becfdc39b444d6371e25e0924
171171
path: execution-specs
172172
fetch-depth: 1
173173
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }}

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,7 @@ package-lock.json
9393

9494
# temporary files
9595
*.tmp
96-
*.temp
96+
*.temp
97+
98+
# ai
99+
.claude/

0 commit comments

Comments
 (0)