Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
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
4 changes: 1 addition & 3 deletions .github/workflows/proof.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
kind: ["single", "interop"]
parallel: [4]
index: [0, 1, 2, 3] # Remember to update step 'Merge reports' as well.
exclude:
- kind: "interop" # See https://github.com/op-rs/kona/issues/3010
steps:
- name: Checkout sources
uses: actions/checkout@v6
Expand Down Expand Up @@ -57,7 +55,7 @@ jobs:
with:
total: ${{ matrix.parallel }}
index: ${{ matrix.index }}
working-directory: ./tests/optimism/op-e2e/actions/proofs
working-directory: ./tests/optimism/op-e2e/actions/${{ matrix.kind == 'single' && 'proofs' || 'interop' }}

- name: Build and Run Action Tests
run: |
Expand Down
28 changes: 8 additions & 20 deletions tests/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ long-running-test FILTER="" OUTPUT_LOGS_DIR="":
cd {{SOURCE}} && go test -count=1 -timeout 0 -v ./node/long-running $FILTER

# Run action tests for the single-chain client program on the native target
action-tests-single test_name='Test_ProgramAction' *args='': action-tests-single-build (action-tests-single-run test_name args)
action-tests-single test_name='Test_ProgramAction' *args='': action-tests-build (action-tests-single-run test_name args)

# Build action tests for the single-chain client program on the native target
action-tests-single-build:
# Build action tests for host program
action-tests-build:
#!/bin/bash
echo "Building contract artifacts for the optimism"
just unzip-contract-artifacts {{SOURCE}}/optimism/packages/contracts-bedrock
Expand All @@ -206,28 +206,16 @@ action-tests-single-run test_name='Test_ProgramAction' *args='':
cd {{SOURCE}}/optimism/op-e2e/actions/proofs && GITHUB_ACTIONS=false gotestsum --format=short-verbose -- -count=1 -timeout 60m -run "{{test_name}}" {{args}}

# Run action tests for the interop client program on the native target
action-tests-interop test_name='TestInteropFaultProofs' *args='':
#!/bin/bash
echo "Building contract artifacts for the optimism"
just unzip-contract-artifacts {{SOURCE}}/optimism/packages/contracts-bedrock

echo "Building host program for the native target"
just build-native --bin kona-host
export KONA_HOST_PATH="{{justfile_directory()}}/target/debug/kona-host"
action-tests-interop test_name='TestInteropFaultProofs' *args='': action-tests-build (action-tests-interop-run test_name args)

action-tests-interop-run test_name='TestInteropFaultProofs' *args='':
#!/bin/bash
export KONA_HOST_PATH="{{SOURCE}}/../target/debug/kona-host"
# GitHub actions patch - do not print logs.
# https://github.com/gotestyourself/gotestsum/blob/b4b13345fee56744d80016a20b760d3599c13504/testjson/format.go#L442-L444
echo "Running action tests for the client program on the native target"

cd {{SOURCE}}/optimism/op-e2e/actions/interop && GITHUB_ACTIONS=false gotestsum --format=testname -- -run "{{test_name}}" {{args}} -count=1 ./...

action-tests-interop-build test_name='TestInteropFaultProofs' *args='':
#!/bin/bash
echo "Not implemented. See https://github.com/op-rs/kona/issues/3010"

action-tests-interop-run test_name='TestInteropFaultProofs' *args='':
#!/bin/bash
echo "Not implemented. See https://github.com/op-rs/kona/issues/3010"
cd {{SOURCE}}/optimism/op-e2e/actions/interop && GITHUB_ACTIONS=false gotestsum --format=short-verbose -- -count=1 -timeout 60m -run "{{test_name}}" {{args}}

unzip-contract-artifacts DEST_DIR="":
#!/bin/bash
Expand Down
Loading