feat(l2): add program that proves block execution #1290
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs the specified hive testing suites | |
name: Hive | |
on: | |
merge_group: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ["*"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
env: | |
RUST_VERSION: 1.80.1 | |
jobs: | |
run-hive: | |
name: ${{ matrix.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- simulation: rpc-compat | |
name: "Rpc Compat tests" | |
run_command: make run-hive SIMULATION=ethereum/rpc-compat TEST_PATTERN="/eth_chainId|eth_getTransactionByBlockHashAndIndex|eth_getTransactionByBlockNumberAndIndex|eth_getCode|eth_getStorageAt|eth_call|eth_getTransactionByHash|eth_getBlockByHash|eth_getBlockByNumber|eth_createAccessList|eth_getBlockTransactionCountByNumber|eth_getBlockTransactionCountByHash|eth_getBlockReceipts|eth_getTransactionReceipt|eth_blobGasPrice|eth_blockNumber|ethGetTransactionCount|debug_getRawHeader|debug_getRawBlock|debug_getRawTransaction|debug_getRawReceipts|eth_estimateGas|eth_getBalance|eth_sendRawTransaction|eth_getProof|eth_getLogs" | |
- simulation: rpc-engine | |
name: "Engine Auth tests" | |
run_command: make run-hive SIMULATION=ethereum/rpc-compat TEST_PATTERN="/engine-auth" | |
- simulation: discv4 | |
name: "Devp2p discv4 tests" | |
run_command: make run-hive-debug SIMULATION=devp2p TEST_PATTERN="discv4" | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Rustup toolchain install | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ env.RUST_VERSION }} | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Download Hive | |
run: make setup-hive | |
- name: Run Hive Simulation | |
run: ${{ matrix.run_command }} |