Skip to content
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

fix(host,ci): fix directory issue in tests #361

Open
wants to merge 80 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
3ea44ec
prepare for ontake upgrade
smtmfft Jul 23, 2024
aefd6f6
update Cargo.toml
smtmfft Jul 25, 2024
47e6d60
use forked verifier set together with taiko hard forks
smtmfft Jul 26, 2024
a17bf32
fix hekla path test
smtmfft Jul 31, 2024
760818e
sync with protocol change
smtmfft Aug 8, 2024
17b0292
sync latest protocol
smtmfft Aug 9, 2024
956df7a
rebase main
smtmfft Aug 10, 2024
50debf6
use defaulte l1_inc_block as anchor-1
smtmfft Aug 12, 2024
d261697
refactor(core): [WIP] inital preflight refactor
petarvujovic98 Aug 13, 2024
7206b66
refactor(core): [WIP] continue preflight refactor
petarvujovic98 Aug 13, 2024
94fe6fe
fix(host,tasks): add `l1_inclusive_block_number` field
petarvujovic98 Aug 13, 2024
4e55d71
chore(lib,sgx): run cargo fmt
petarvujovic98 Aug 13, 2024
6080fd3
fix(lib): clippy fixes
petarvujovic98 Aug 13, 2024
aef4c81
chore(core): fix lints
petarvujovic98 Aug 13, 2024
acd9e80
fix(core): fix block conversion for parent block
petarvujovic98 Aug 13, 2024
a1a813b
Merge branch 'main' into ontake-dev
petarvujovic98 Aug 14, 2024
2ad32c4
refactor(core): move preflight to mod and separate into util
petarvujovic98 Aug 14, 2024
70fcc34
Merge branch 'main' into ontake-dev
petarvujovic98 Aug 15, 2024
9c1400b
Merge branch 'main' into ontake-dev
petarvujovic98 Aug 16, 2024
9e68e21
feat(host): [WIP] add integration test skeleton
petarvujovic98 Aug 16, 2024
0f1ff79
switch back to origin reth branch
smtmfft Aug 17, 2024
c5fa313
feat(host): [WIP] improve test description and options
petarvujovic98 Aug 19, 2024
a4364bb
chore(host): hide integration test behind integration feature
petarvujovic98 Aug 19, 2024
dd8b440
Merge branch 'main' into ontake-dev
petarvujovic98 Aug 19, 2024
1e56ba8
feat(host): [WIP] add cancellation and retry to the test flow
petarvujovic98 Aug 19, 2024
68bdc18
chore(ci): [WIP] add integration tests for native
petarvujovic98 Aug 19, 2024
70115b7
fix(host): remove comment from feature flag
petarvujovic98 Aug 20, 2024
dc448d2
feat(host): add test for v1, prunning and reporting
petarvujovic98 Aug 20, 2024
46ff89b
feat(host): support custom config path via env vars for testing
petarvujovic98 Aug 20, 2024
da0aa88
fix(ci): add env var for config path for integration testing
petarvujovic98 Aug 20, 2024
1ae7e7a
fix(host): fix clippy warning
petarvujovic98 Aug 20, 2024
4a8d4f7
fix(ci): remove `@`
petarvujovic98 Aug 20, 2024
c133682
feat(host): separate scenarios and run sequentially
petarvujovic98 Aug 21, 2024
cc237be
fix(host): fix typo in functionality
petarvujovic98 Aug 21, 2024
7e48b94
chore(host): add comment
petarvujovic98 Aug 21, 2024
70156fc
refactor(core): use fork instead of inclusion block
petarvujovic98 Aug 22, 2024
81350f9
Merge branch 'main' into ontake-dev
petarvujovic98 Aug 22, 2024
7908631
feat(ci): add support for testing different proof types
petarvujovic98 Aug 23, 2024
788e7c1
fix(host): pass string instead of type
petarvujovic98 Aug 23, 2024
8a3db48
fix(script): fix typo
petarvujovic98 Aug 23, 2024
1a53b09
chore(core): add detail to transaction execution failure
petarvujovic98 Aug 23, 2024
c36a154
refactor(lib): extract metadata conversion
petarvujovic98 Aug 23, 2024
2900cfb
refactor(lib): clean up preflight utils
petarvujovic98 Aug 26, 2024
a38c046
fix(core): fix clippy issue
petarvujovic98 Aug 26, 2024
ead4e9d
feat(ci): add integration tests for all provers
petarvujovic98 Aug 26, 2024
0ec235c
fix(ci): remove enable feature
petarvujovic98 Aug 26, 2024
8882c66
fix(ci): add prover elf building
petarvujovic98 Aug 27, 2024
b505d94
refactor(host): serialize into status error instead of manual
petarvujovic98 Aug 27, 2024
7406f24
refactor(host): clean up error conversion
petarvujovic98 Aug 27, 2024
b663bf7
Merge remote-tracking branch 'origin/main' into ontake-dev
petarvujovic98 Aug 30, 2024
837df64
Merge branch 'main' into ontake-dev
petarvujovic98 Sep 2, 2024
a05921c
refactor(core): rename l1 inclusion block number field
petarvujovic98 Sep 2, 2024
250aa67
fix(core,host,tasks): save files after rename
petarvujovic98 Sep 2, 2024
fbb4076
Merge branch 'main' into ontake-dev
petarvujovic98 Sep 3, 2024
65d5f3b
feat(core): temporarily use new reth ontake branch (#357)
smtmfft Sep 4, 2024
0942425
chore(core,ci): renaming
petarvujovic98 Sep 4, 2024
70b2211
update pre-compiled image
smtmfft Sep 5, 2024
a0d8a74
update prebuilt image
smtmfft Sep 6, 2024
6b62df4
test prebuilt images
smtmfft Sep 6, 2024
21c97cb
debg CI (#359)
smtmfft Sep 6, 2024
c9a8770
chore(ci): use shorter flag passing
petarvujovic98 Sep 6, 2024
f1a773d
fix(lib): support non taiko forked chains for block proving
petarvujovic98 Sep 6, 2024
4f9204a
fix(ci): building provers for tests (#360)
smtmfft Sep 9, 2024
8d47373
fix(ci): remove comments which broke CI
petarvujovic98 Sep 9, 2024
28d7b0a
fix(ci): add single step
petarvujovic98 Sep 9, 2024
4c51077
refine pipeline stdout message
smtmfft Sep 9, 2024
ec0c038
update to latest ontake taiko-reth
smtmfft Sep 10, 2024
b23db0e
add missing binary
smtmfft Sep 10, 2024
335daab
fix(host,ci): fix directory issue in tests
petarvujovic98 Sep 10, 2024
49008b5
fix(ci): remove sgx integration test
petarvujovic98 Sep 10, 2024
2e0f547
fixing r0 ci (#362)
smtmfft Sep 11, 2024
c2adac0
fix ci
smtmfft Sep 11, 2024
0f0406e
fix ci
smtmfft Sep 11, 2024
e5c7d76
add ci status report script
smtmfft Sep 11, 2024
f0d0b1c
Merge remote-tracking branch 'origin/ontake-dev' into ontake-sgx-ci-fix
petarvujovic98 Sep 11, 2024
d2b105a
update to fixed hekla ontake height
smtmfft Sep 11, 2024
fd88ecc
Merge branch 'main' into ontake-dev
petarvujovic98 Sep 12, 2024
3e6d439
Merge branch 'ontake-dev' into ontake-sgx-ci-fix
petarvujovic98 Sep 12, 2024
8508214
fix(ci): remove proof verification for sp1
petarvujovic98 Sep 12, 2024
7b48300
refactor(host,sgx): import the json macro
petarvujovic98 Sep 12, 2024
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
50 changes: 50 additions & 0 deletions .github/workflows/ci-integration-reusable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: CI Integration test - Reusable

on:
workflow_call:
inputs:
version_name:
type: string
required: true
version_toolchain:
type: string
required: true

env:
CI: 1
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build-run-integration:
name: Build and run integration
runs-on: [taiko-runner]
timeout-minutes: 120

env:
TARGET: ${{ inputs.version_name }}
CI: 1
MOCK: 1

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ inputs.version_toolchain }}
profile: minimal

- name: Setup sccache
if: ${{ inputs.version_name }} == risc0
uses: risc0/risc0/.github/actions/[email protected]

- name: Install ${{ inputs.version_name }}
run: make install

- name: Build ${{ inputs.version_name }} prover
run: make build

- name: Run integration test for ${{ inputs.version_name }} prover
run: make integration
7 changes: 7 additions & 0 deletions .github/workflows/ci-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ jobs:
with:
version_name: "native"
version_toolchain: "nightly-2024-04-17"

integration-test-native:
name: Run integration tests on native
uses: ./.github/workflows/ci-integration-reusable.yml
with:
version_name: "native"
version_toolchain: "nightly-2024-04-17"
7 changes: 7 additions & 0 deletions .github/workflows/ci-risc0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ jobs:
with:
version_name: "risc0"
version_toolchain: "stable"

integration-test-risc0:
name: Run integration tests on risc0
uses: ./.github/workflows/ci-integration-reusable.yml
with:
version_name: "risc0"
version_toolchain: "nightly-2024-04-17"
31 changes: 19 additions & 12 deletions .github/workflows/ci-sgx-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,24 @@ on:
merge_group:

jobs:
build-test-sgx:
name: Build and test sgx
uses: ./.github/workflows/ci-build-test-reusable.yml
with:
version_name: "sgx"
version_toolchain: "stable"
build-test-sgx:
name: Build and test sgx
uses: ./.github/workflows/ci-build-test-reusable.yml
with:
version_name: "sgx"
version_toolchain: "stable"

build-test-sgx-docker:
name: Build and test sgx with Docker
uses: ./.github/workflows/ci-sgx-docker.yml
# integration-test-sgx:
# name: Run integration tests on sgx
# uses: ./.github/workflows/ci-integration-reusable.yml
# with:
# version_name: "sgx"
# version_toolchain: "nightly-2024-04-17"

build-test-sgx-hardware:
name: Build and test sgx in hardware
uses: ./.github/workflows/ci-sgx-hardware.yml
build-test-sgx-docker:
name: Build and test sgx with Docker
uses: ./.github/workflows/ci-sgx-docker.yml

build-test-sgx-hardware:
name: Build and test sgx in hardware
uses: ./.github/workflows/ci-sgx-hardware.yml
7 changes: 7 additions & 0 deletions .github/workflows/ci-sp1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ jobs:
with:
version_name: "sp1"
version_toolchain: "nightly-2024-04-18"

integration-test-sp1:
name: Run integration tests on sp1
uses: ./.github/workflows/ci-integration-reusable.yml
with:
version_name: "sp1"
version_toolchain: "nightly-2024-04-17"
Loading
Loading