@@ -138,16 +138,23 @@ commands:
138
138
paths :
139
139
- ~/silkworm/consensus
140
140
141
- download_consensus_tests :
141
+ download_execution_tests :
142
142
parameters :
143
143
rev :
144
144
type : string
145
+ default : develop
146
+ commit :
147
+ type : string
148
+ default : " "
145
149
steps :
146
150
- run :
147
- name : " Download consensus tests: <<parameters.rev>>"
151
+ name : " Download execution tests: <<parameters.rev>> <<parameters.commit >>"
148
152
working_directory : ~/tests
149
153
command : |
150
- git clone --depth=1 --recurse-submodules --shallow-submodules --single-branch https://github.com/ethereum/tests . --branch <<parameters.rev>>
154
+ git clone --no-checkout --depth=250 --single-branch https://github.com/ethereum/tests . --branch <<parameters.rev>>
155
+ <<#parameters.rev>>git checkout <<parameters.rev>><</parameters.rev>>
156
+ <<#parameters.commit>>git checkout <<parameters.commit>><</parameters.commit>>
157
+ git submodule update --init --recursive --depth=1 --progress
151
158
152
159
build :
153
160
description : " Build"
@@ -366,7 +373,7 @@ jobs:
366
373
- build
367
374
- build_silkworm :
368
375
commit : 98e4908f57643def0069ac9ae85a26eba715d8a7
369
- - download_consensus_tests :
376
+ - download_execution_tests :
370
377
rev : v11.1
371
378
- run :
372
379
name : " Silkworm-driven blockchain tests (Advanced)"
@@ -389,12 +396,11 @@ jobs:
389
396
CMAKE_OPTIONS : -DCMAKE_CXX_FLAGS=-Og
390
397
steps :
391
398
- build
392
- - download_consensus_tests :
393
- rev : v11.1
399
+ - download_execution_tests :
400
+ commit : e279c3d0a53e2f3055c7d7f72f993b62dde18e36
394
401
- run :
395
402
name : " State tests"
396
403
working_directory : ~/build
397
- # TODO: Some state tests are expected to fail because precompiles are not implemented.
398
404
command : EVMONE_PRECOMPILES_STUB=~/project/test/state/precompiles_stub.json bin/evmone-statetest ~/tests/GeneralStateTests ~/tests/LegacyTests/Constantinople/GeneralStateTests
399
405
- collect_coverage_gcc
400
406
- upload_coverage :
0 commit comments