Skip to content

Commit e54fca4

Browse files
advaita-sahajangko
andauthored
devnet EEST tests in local (#3563)
* initial commit * file addition for devnet testing * running devnet tests in CI * temporary changes * create transition fork * shift to new testing arch * remove build files * full coverage EEST * rework testing infra * add all tests in CI * fix old tests * some improvements * shift to getAppFilename and to echo * keep state tests * Fix EIP-7702 transaction validation: destination must not be empty * Skip only time consuming tests * evmstate_test also use new skip rules * increase new test fixtures devnet 5 * add state tests * update comment --------- Co-authored-by: jangko <[email protected]>
1 parent eed24e9 commit e54fca4

26 files changed

+2169
-803
lines changed

.github/actions/shared/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,11 @@ runs:
178178
if: inputs.eest-cache == 'true'
179179
uses: actions/cache@v4
180180
with:
181-
path: tests/fixtures/eest
181+
path: |
182+
tests/fixtures/eest_static
183+
tests/fixtures/eest_stable
184+
tests/fixtures/eest_develop
185+
tests/fixtures/eest_devnet
182186
# EEST release version contained in eest_ci_cache.sh.
183187
# Each time we bump EEST version, it should invalidate the cache too.
184188
key: eest-${{ hashFiles('scripts/eest_ci_cache.sh') }}

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
# give us more space
8080
# find . -type d -name ".git" -exec rm -rf {} +
8181
find . -type d -name "nimcache" -exec rm -rf {} +
82-
mingw32-make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_engine_test
82+
mingw32-make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_full_test
8383
8484
- name: Run nimbus-eth1 tests (Linux)
8585
if: runner.os == 'Linux'
@@ -94,7 +94,7 @@ jobs:
9494
# ./scripts/launch_local_testnet.sh --nodes=3 --stop-at-epoch=7 \
9595
# --disable-htop --reuse-binaries --run-nimbus-el --dl-eth2 --verbose --kill-old-processes
9696
# popd
97-
env CC=gcc GOARCH=${GOARCH} CXX=g++ CGO_ENABLED=1 make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_engine_test
97+
env CC=gcc GOARCH=${GOARCH} CXX=g++ CGO_ENABLED=1 make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_full_test
9898
9999
- name: Run nimbus-eth1 tests (Macos)
100100
if: runner.os == 'Macos'
@@ -109,7 +109,7 @@ jobs:
109109
# ./scripts/launch_local_testnet.sh --nodes=3 --stop-at-epoch=7 \
110110
# --disable-htop --reuse-binaries --run-nimbus-el --dl-eth2 --verbose --kill-old-processes
111111
# popd
112-
make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_engine_test
112+
make ${DEFAULT_MAKE_FLAGS} test t8n_test eest_full_test
113113
114114
lint:
115115
name: "Lint"

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,7 @@ nimbus-build-system.paths
4747
.vscode
4848

4949
# EEST test vectors
50-
tests/fixtures/eest
50+
tests/fixtures/eest_static
51+
tests/fixtures/eest_stable
52+
tests/fixtures/eest_develop
53+
tests/fixtures/eest_devnet

0 commit comments

Comments
 (0)