|
1 | | -name: Rust |
| 1 | +name: Ethereum tests |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | push: |
|
7 | 7 |
|
8 | 8 | env: |
9 | 9 | CARGO_TERM_COLOR: always |
10 | | - ETHTESTS_VERSION: v14.1 |
| 10 | + ETHTESTS_VERSION: v17.0 |
11 | 11 | ETHEREUM_SPEC_TESTS_URL: https://github.com/ethereum/execution-spec-tests/releases/download/pectra-devnet-6%40v1.0.0/fixtures_pectra-devnet-6.tar.gz |
12 | 12 |
|
13 | 13 | jobs: |
14 | | - lint: |
15 | | - runs-on: ubuntu-latest |
16 | | - steps: |
17 | | - - name: Checkout sources |
18 | | - uses: actions/checkout@v4 |
19 | | - |
20 | | - - name: Rustfmt |
21 | | - run: cargo fmt --all -- --check |
22 | | - |
23 | | - - name: Clippy |
24 | | - run: cargo clippy --workspace --all-targets -- -D clippy::all -D clippy::nursery |
25 | | - - name: Clippy no_std |
26 | | - run: cargo clippy --no-default-features -- -D clippy::all -D clippy::nursery |
27 | | - - name: Clippy with features |
28 | | - run: cargo clippy --features tracing,create-fixed -- -D clippy::all -D clippy::nursery |
29 | | - - name: Clippy with features for evm-jsontests |
30 | | - run: cargo clippy -p evm-jsontests --features dump-state -- -D clippy::all -D clippy::nursery |
31 | | - |
32 | | - build: |
33 | | - runs-on: ubuntu-latest |
34 | | - steps: |
35 | | - - name: Checkout sources |
36 | | - uses: actions/checkout@v4 |
37 | | - |
38 | | - - name: Build |
39 | | - run: cargo build --verbose |
40 | | - |
41 | | - - name: Build NoStd |
42 | | - run: cargo build --no-default-features |
43 | | - |
44 | | - - name: Build for feature (tracing) |
45 | | - run: cargo build --features tracing |
46 | | - |
47 | 14 | unit-tests: |
48 | 15 | runs-on: ubuntu-latest |
49 | 16 | steps: |
|
99 | 66 | ethtests/GeneralStateTests/ \ |
100 | 67 | ethtests/LegacyTests/Cancun/GeneralStateTests/ \ |
101 | 68 | ethereum-spec-tests/fixtures/state_tests/ |
102 | | - # Temporally disable as EOFv1 not implemented |
103 | | - # ethtests/EIPTests/StateTests/ |
104 | 69 |
|
105 | 70 | - name: Run Ethereum vm tests |
106 | 71 | run: | |
@@ -151,8 +116,7 @@ jobs: |
151 | 116 | ethtests/GeneralStateTests/ \ |
152 | 117 | ethtests/LegacyTests/Cancun/GeneralStateTests/ \ |
153 | 118 | ethereum-spec-tests/fixtures/state_tests/ |
154 | | - # Temporally disable as EOFv1 not implemented |
155 | | - # ethtests/EIPTests/StateTests/ |
| 119 | +
|
156 | 120 | cargo run -r -p evm-jsontests -F enable-slow-tests -- vm -f \ |
157 | 121 | ethtests/LegacyTests/Constantinople/VMTests/vmArithmeticTest \ |
158 | 122 | ethtests/LegacyTests/Constantinople/VMTests/vmBitwiseLogicOperation \ |
|
0 commit comments