Skip to content

fix(ci): build fixtures only shanghai and cancun #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/actions/build-fixtures/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,26 @@ runs:
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
- name: Generate Shanghai StateTest
shell: bash
run: |
uv run fill -n ${{ steps.evm-builder.outputs.x-dist }} --evm-bin=${{ steps.evm-builder.outputs.evm-bin }} --solc-version=${{ steps.properties.outputs.solc }} --skip-evm-dump ${{ steps.properties.outputs.fill-params }} --output=fixtures_${{ inputs.release_name }}.tar.gz --build-name ${{ inputs.release_name }}
uv run fill -n ${{ steps.evm-builder.outputs.x-dist }} --evm-bin=${{ steps.evm-builder.outputs.evm-bin }} --solc-version=${{ steps.properties.outputs.solc }} --skip-evm-dump ${{ steps.properties.outputs.fill-params }} tests/shanghai -m state_test
- name: Generate Cancun StateTest
shell: bash
run: |
uv run fill -n ${{ steps.evm-builder.outputs.x-dist }} --evm-bin=${{ steps.evm-builder.outputs.evm-bin }} --solc-version=${{ steps.properties.outputs.solc }} --skip-evm-dump ${{ steps.properties.outputs.fill-params }} tests/cancun -m state_test
- name: Generate Shanghai BlockchainTest
shell: bash
run: |
uv run fill -n ${{ steps.evm-builder.outputs.x-dist }} --evm-bin=${{ steps.evm-builder.outputs.evm-bin }} --solc-version=${{ steps.properties.outputs.solc }} --skip-evm-dump ${{ steps.properties.outputs.fill-params }} tests/shanghai -m blockchain_test
- name: Generate Cancun BlockchainTest
shell: bash
run: |
uv run fill -n ${{ steps.evm-builder.outputs.x-dist }} --evm-bin=${{ steps.evm-builder.outputs.evm-bin }} --solc-version=${{ steps.properties.outputs.solc }} --skip-evm-dump ${{ steps.properties.outputs.fill-params }} tests/cancun -m blockchain_test
- name: Compress fixtures
shell: bash
run: |
tar -czvf fixtures_{{ inputs.release_name }}.tar.gz fixtures
- uses: actions/upload-artifact@v4
with:
name: fixtures_${{ inputs.release_name }}
Expand Down
4 changes: 0 additions & 4 deletions .github/configs/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@ develop:
evm-type: develop
fill-params: --until=Prague
solc: 0.8.21
pectra-devnet-6:
evm-type: pectra-devnet-6
fill-params: --until=Prague
solc: 0.8.21