Skip to content

Commit e1b7733

Browse files
authored
First-Time EST Osaka Blockchain Test Integration (#4141)
* Update EST submodule (integrated blockchain tests) * Integrate Osaka blockchain tests into CI
1 parent 01f057c commit e1b7733

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

.github/workflows/vm-pr.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- if: contains(join(github.event.pull_request.labels.*.name, ' '), 'skip most VM')
122122
run: npm run test:buildIntegrity
123123

124-
vm-osaka:
124+
vm-osaka-state:
125125
runs-on: ubuntu-latest
126126
strategy:
127127
fail-fast: false
@@ -144,11 +144,39 @@ jobs:
144144
working-directory: ${{ github.workspace }}
145145

146146
- if: contains(join(github.event.pull_request.labels.*.name, ' '), 'skip most VM') == false
147-
run: npm run test:state:osaka
147+
run: npm run test:osaka:state
148148

149149
- if: contains(join(github.event.pull_request.labels.*.name, ' '), 'skip most VM')
150150
run: npm run test:buildIntegrity
151+
152+
vm-osaka-blockchain:
153+
runs-on: ubuntu-latest
154+
strategy:
155+
fail-fast: false
156+
steps:
157+
# For now we always clone the repo and submodules (no cache)
158+
- name: Checkout
159+
uses: actions/checkout@v5
160+
with:
161+
submodules: recursive
162+
163+
- name: Use Node.js 20
164+
uses: actions/setup-node@v4
165+
with:
166+
node-version: 20
167+
cache: 'npm'
151168

169+
- name: Install Dependencies (if not restored from cache)
170+
if: steps.dep-cache.outputs.cache-hit != 'true'
171+
run: npm ci
172+
working-directory: ${{ github.workspace }}
173+
174+
- if: contains(join(github.event.pull_request.labels.*.name, ' '), 'skip most VM') == false
175+
run: npm run test:osaka:blockchain
176+
177+
- if: contains(join(github.event.pull_request.labels.*.name, ' '), 'skip most VM')
178+
run: npm run test:buildIntegrity
179+
152180
vm-state-extended:
153181
if: contains(join(github.event.pull_request.labels.*.name, ' '), 'test all hardforks')
154182
runs-on: ubuntu-latest

packages/execution-spec-tests

Submodule execution-spec-tests updated 51 files

packages/vm/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@
5454
"test:blockchain:transitionForks": "echo 'ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5' | xargs -n1 | xargs -I v1 npm run tester -- --blockchain --fork=v1 --verify-test-amount-alltests",
5555
"test:blockchain:buildIntegrity": "npm run test:blockchain -- --file='randomStatetest303'",
5656
"test:buildIntegrity": "npm run test:state -- --test='stackOverflow'",
57+
"test:osaka:state": "npm run test:state -- --fork=Osaka --customTestsPath=../execution-spec-tests/fusaka-devnet-5/state_tests",
58+
"test:osaka:blockchain": "npm run test:blockchain -- --fork=Osaka --customTestsPath=../execution-spec-tests/fusaka-devnet-5/blockchain_tests",
5759
"test:state": "npm run tester -- --state",
58-
"test:state:osaka": "npm run test:state -- --fork=Osaka --customTestsPath=../execution-spec-tests/fusaka-devnet-5/state_tests",
5960
"test:state:allForks": "npm run test:state:newForks && npm run test:state:oldForks && npm run test:state:transitionForks",
6061
"test:state:newForks": "echo 'Prague' | xargs -n1 | xargs -I v1 npm run tester -- --state --fork=v1 --verify-test-amount-alltests",
6162
"test:state:oldForks": "echo 'Chainstart Homestead dao TangerineWhistle SpuriousDragon Byzantium Constantinople Petersburg Istanbul MuirGlacier Berlin London Paris Shanghai Cancun' | xargs -n1 | xargs -I v1 npm run tester -- --state --fork=v1 --verify-test-amount-alltests",

0 commit comments

Comments
 (0)