Skip to content

Commit

Permalink
feat(ci,eof): include eofwrap in EOF prerelease (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobacz authored Nov 25, 2024
1 parent 73f8cd5 commit 1b30c33
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/actions/build-evm-base/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ runs:
with:
repo: ${{ steps.config-evm-reader.outputs.repo }}
ref: ${{ steps.config-evm-reader.outputs.ref }}
# `targets` in the evm.yaml must be an inline array to not interfere with `config-evm-reader`'s parsing
targets: ${{ join(fromJSON(steps.config-evm-reader.outputs.targets), ' ') }}
- name: Build the EVM using Besu action
if: steps.config-evm-reader.outputs.impl == 'besu'
uses: ./.github/actions/build-evm-client/besu
Expand Down
13 changes: 13 additions & 0 deletions .github/actions/build-fixtures/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ runs:
id: evm-builder
with:
type: ${{ steps.properties.outputs.evm-type }}
- name: Wrap ethereum/tests fixtures with eofwrap tool
shell: bash
if: ${{ steps.properties.outputs.eofwrap }}
run: |
curl -L ${tests_url}${tests_version}.tar.gz | tar -xz
ls -l
uv run eofwrap tests-${tests_version}/BlockchainTests/GeneralStateTests/ fixtures_${{ inputs.release_name }}/${output_path}
mkdir -p ./fixtures_${{ inputs.release_name }}/.meta/
mv fixtures_${{ inputs.release_name }}/${output_path}/metrics.json ./fixtures_${{ inputs.release_name }}/.meta/eofwrap_metrics.json
env:
tests_url: https://github.com/ethereum/tests/archive/refs/tags/v
tests_version: 14.1
output_path: blockchain_tests/osaka/eofwrap
- name: Generate fixtures using fill
shell: bash
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/configs/evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ eip7692:
impl: evmone
repo: ethereum/evmone
ref: master
eip7692-osaka:
impl: besu
repo: hyperledger/besu
ref: main
targets: ["evmone-t8n", "evmone-eofparse"]
pectra-devnet-3:
impl: ethjs
repo: ethereumjs/ethereumjs-monorepo
Expand Down
7 changes: 2 additions & 5 deletions .github/configs/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ develop:
solc: 0.8.21
eip7692:
evm-type: eip7692
fill-params: --fork=CancunEIP7692 ./tests/osaka
solc: 0.8.21
eip7692-osaka:
evm-type: eip7692-osaka
fill-params: --fork=Osaka ./tests/prague ./tests/osaka -k "not slow"
fill-params: --fork=Osaka ./tests/osaka
solc: 0.8.21
eofwrap: true
pectra-devnet-3:
evm-type: pectra-devnet-3
fill-params: --fork=Prague -m "not slow" ./tests/prague/
Expand Down

0 comments on commit 1b30c33

Please sign in to comment.