Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
da9bf68
chore(codeowners): Set codeowners for historical proofs work stream (…
emhane Sep 25, 2025
6c87048
fix(ci): automatic bug label for bug issue (#180)
emhane Sep 25, 2025
27aee57
feat: create initial external-proofs ExEx crate (#181)
meyer9 Sep 30, 2025
5779995
chore: fix ci runners (#195)
dhyaniarun1993 Oct 9, 2025
e8004e5
feat: add storage interface with pruning methods (#182)
meyer9 Oct 10, 2025
67a1591
feat: implement in-memory storage backend (#183)
meyer9 Oct 12, 2025
1698aa5
feat: implement initial sync backfill job (#196)
meyer9 Oct 13, 2025
318d893
chore: disable codspeed in op-reth (#220)
meyer9 Oct 14, 2025
3d695bb
chore: ExternalStorage -> OpProofsStorage (#203)
meyer9 Oct 14, 2025
148cdc7
feat: mdbx tables (#218)
dhyaniarun1993 Oct 14, 2025
fd60b02
feat: scaffold MDBX proofs storage (#221)
dhyaniarun1993 Oct 14, 2025
3a94ab8
chore(op-exex): Add crate `reth-optimism-exex` and `reth-optimism-tri…
emhane Oct 14, 2025
c5bccf0
fix: ci lint and doc (#234)
dhyaniarun1993 Oct 15, 2025
4cde270
chore: separate storage and account cursors (#229)
meyer9 Oct 15, 2025
7ba63d3
feat: add external state provider implementation (#197)
meyer9 Oct 15, 2025
71ad89c
chore: add deletion tests for op proofs storage (#230)
meyer9 Oct 15, 2025
782268d
feat: implement live state collector using external provider (#198)
meyer9 Oct 16, 2025
a5a3468
feat: add binary entry point for external proofs in OP (#222)
itschaindev Oct 16, 2025
c848585
feat: store hashed account and storage (#235)
dhyaniarun1993 Oct 16, 2025
72ee2b8
feat: implement cursor read/write metrics (#232)
meyer9 Oct 16, 2025
10c29e2
feat: store account and storage branches (#255)
itschaindev Oct 17, 2025
5074210
feat: Concrete error variants for `reth-optimism-trie` (#251)
varun-doshi Oct 17, 2025
2a0bcb6
feat: Remove block_number from initial sync store methods (#248)
varun-doshi Oct 17, 2025
5bb897a
feat(MDBX): Implement earliest and latest block tracking in storage (…
varun-doshi Oct 17, 2025
b8604ed
feat(deps): Add `serde-bincode-compat` feature to `reth-trie` (#250)
emhane Oct 17, 2025
75a74f1
feat: store trie updates (#258)
dhyaniarun1993 Oct 20, 2025
5526c2d
chore(fork): rebase onto upstream (#264)
emhane Oct 20, 2025
d4001e3
feat: implemented mdbx trie cursor (#249)
sadiq1971 Oct 20, 2025
4d13e45
chore(deps): Rm redundant dep (#260)
emhane Oct 20, 2025
f1d26b1
refactor: replace tuple with `BlockNumHash` (#254)
einar-oplabs Oct 20, 2025
1dfba17
feat(grafana): Add OP Reth Metrics Dashboard (#269)
op-will Oct 20, 2025
51381ad
feat: Return ref to B256 (#272)
varun-doshi Oct 21, 2025
b7f3ffb
chore(exex): Add missing crate header to `reth-optimism-exex` (#271)
einar-oplabs Oct 21, 2025
57ba8ba
feat: implemented hashed cursors (#268)
sadiq1971 Oct 21, 2025
f55f9cb
feat: add support for `eth_getProof` (#257)
meyer9 Oct 21, 2025
c5ccae5
feat: implement proof collection e2e tests (#231)
meyer9 Oct 21, 2025
2120a26
perf(trie): feature gate `reth-optimism-trie` metrics (#282)
emhane Oct 21, 2025
dd477ed
chore(docs): Add missing doclinks (#277)
emhane Oct 22, 2025
37ec47b
fix(docs): Fixes docs of `reth_optimism_trie::cursor_factory` (#286)
emhane Oct 22, 2025
1f5e13e
fix(test): Enable live collector tests with metrics feature (#291)
emhane Oct 22, 2025
a1484a5
fix(docs): Fixes doc links (#292)
emhane Oct 22, 2025
112b8d4
feat: Track eth_getProof metrics (#285)
op-will Oct 22, 2025
7ab558c
chore(codeowners): Add Will to dashboards (#294)
emhane Oct 23, 2025
4ecf5f1
chore: devnet setup (#295)
dhyaniarun1993 Oct 23, 2025
74f5aff
feat: implement `debug_executePayload` (#276)
meyer9 Oct 23, 2025
8396343
fix: storage trie cursor (#301)
dhyaniarun1993 Oct 23, 2025
e5fe125
feat: latest block updates in `store_trie_updates` (#304)
dhyaniarun1993 Oct 25, 2025
2538217
feat: live collector integration (#306)
dhyaniarun1993 Oct 27, 2025
aae9f8e
feat: add mdbx to storage tests (#308)
meyer9 Oct 27, 2025
fd30346
fix: merge conflict caused by storage tests (#313)
meyer9 Oct 28, 2025
1c78621
feat(grafana): add OpMinerMetrics panel (#303)
mikemillaa Oct 28, 2025
90c63ce
feat: create index table to efficiently prune history tables (#280)
itschaindev Oct 28, 2025
a60bd9a
chore(trie): Move `OpProofsStorageError` to own module (#317)
emhane Oct 28, 2025
02d1973
feat: Named fields for OpProofsStorageError variants (#319)
varun-doshi Oct 28, 2025
b26f192
feat: implement `debug_executionWitness` (#312)
meyer9 Oct 28, 2025
c31e7da
chore(trie): Rename metrics scope (#322)
emhane Oct 28, 2025
0f55ebc
feat: implemented wiped storage handling on `store_trie_updates` (#300)
sadiq1971 Oct 28, 2025
6373ab7
chore(trie): Rename `OpProofsStorageError` variant (#324)
emhane Oct 28, 2025
d90e705
fix(db): `is_parent check` in `store_trie_update` (#309)
varun-doshi Oct 29, 2025
6d1541a
fix(grafana): OP-reth dashboard title (#314)
emhane Oct 29, 2025
b8b828e
feat: fetch trie updates (#327)
dhyaniarun1993 Oct 29, 2025
326f333
feat: implemented mdbx `replace_updates` (#329)
sadiq1971 Oct 29, 2025
40ec078
feat: apply `BlockStateDiff` to the `prune_earliest_state` method (#332)
itschaindev Oct 30, 2025
f67c26f
chore: refactor storage trie cursor (#338)
dhyaniarun1993 Oct 30, 2025
c667151
feat: integrate metrics into live sync process (#330)
meyer9 Oct 30, 2025
c4d828a
test: basic storage proof (#336)
dhyaniarun1993 Nov 3, 2025
42b2d69
test: `eth_getProof` for account proof validation (#341)
itschaindev Nov 3, 2025
c627bf1
test: `debug_executePayload` RPC (#340)
sadiq1971 Nov 4, 2025
7009e4e
chore: historical proof e2e ci integration (#347)
dhyaniarun1993 Nov 6, 2025
ee03219
test: multi slot and zero testing (#343)
dhyaniarun1993 Nov 6, 2025
c5fbeae
test: resyncing (#350)
dhyaniarun1993 Nov 6, 2025
0aae532
test: e2e for `debug_executionWitness` (#348)
itschaindev Nov 6, 2025
5a64c4a
test: doc test eg for exex setup (#352)
itschaindev Nov 10, 2025
556dd07
chore: enable remaining mdbx tests (#354)
meyer9 Nov 10, 2025
36a02b0
fix: ensure db tx is closed after backfill (#357)
meyer9 Nov 11, 2025
beb0f11
refactor: `MdbxProofStorage` (#351)
sadiq1971 Nov 11, 2025
a8ba619
fix: rebase conflicts (#367)
emhane Nov 12, 2025
68be6fc
feat: handle reorg (#356)
dhyaniarun1993 Nov 13, 2025
f529b79
feat: add target debug logs to reth_optimism_exex (#368)
varun-doshi Nov 13, 2025
c3c5741
test: basic reorg (#369)
dhyaniarun1993 Nov 14, 2025
4d6f505
fix: missing block after reorg (#382)
dhyaniarun1993 Nov 14, 2025
df62e06
feat: add sync status RPC (#353)
meyer9 Nov 14, 2025
8faf536
feat: replace variant OpProofsStorageError::Other (#355)
varun-doshi Nov 17, 2025
db8a080
feat: Implemented `OpProofStoragePruner` (#360)
sadiq1971 Nov 18, 2025
e9fea93
feat: handle `ChainReverted` notification (#380)
itschaindev Nov 19, 2025
a96e96c
chore: small lint (#390)
mikemillaa Nov 20, 2025
c775d07
feat(grafana): add transaction pool metrics panel (#345)
mikemillaa Nov 20, 2025
495c1bf
test: reorg test scenarios (#384)
dhyaniarun1993 Nov 20, 2025
55beb1c
test: add new devnet for op-reth as sequencer (#391)
itschaindev Nov 21, 2025
0f90bb1
chore(trie): Simplify cursor interface (#388)
emhane Nov 21, 2025
12084d4
Fix lint
emhane Nov 14, 2025
8efeb81
Fix conflicts with upstream
emhane Nov 18, 2025
4f2513f
Fix conflicts
emhane Nov 24, 2025
157ab75
Fix conflicts
emhane Nov 24, 2025
8c347a2
Fix todo impls based on upstream impls f5f890b
emhane Nov 24, 2025
c864af7
feat: add panels for `eth_getProof` in grafana dashboard (#392)
itschaindev Nov 24, 2025
062a958
Update lockfile
emhane Nov 25, 2025
fdea719
fix: add custom TrieType to separate metrics for op proofs storage (#…
itschaindev Nov 25, 2025
68ad83c
feat: implement methods for new traits for `inmemory` cursor (#396)
dhyaniarun1993 Nov 25, 2025
51660c9
fix: use loop instead of recursing in hashed next (#402)
meyer9 Nov 25, 2025
3f1dda4
feat(grafana): Add flashblocks sequence length panel (#403)
emhane Nov 25, 2025
d2e0fa8
fix: store block updates metric fixed (#409)
dhyaniarun1993 Nov 26, 2025
d26406e
feat: implemented `OpProofStorage` Database metrics (#407)
sadiq1971 Nov 26, 2025
fba5742
feat: add `initialize-op-proofs` command (#377)
meyer9 Dec 1, 2025
686a1db
feat: integrate `initialize-op-proofs` to devnet (#412)
dhyaniarun1993 Dec 1, 2025
203ef75
feat: dashboard for proof history related metrics (#414)
itschaindev Dec 1, 2025
b8809f8
fix: update metric on startup (#419)
itschaindev Dec 2, 2025
984178c
chore: code coverage for historical proof exex (#415)
dhyaniarun1993 Dec 2, 2025
a3f9c20
ci: trying coverage workflow with force (#424)
dhyaniarun1993 Dec 2, 2025
a20aef5
chore(ci): Recover codecov file from original main (#421)
emhane Dec 2, 2025
7304ad8
chore: Add test for Display impl for PrunerOutput (#435)
varun-doshi Dec 3, 2025
8350f18
feat: add exex sync status in grafana (#429)
itschaindev Dec 3, 2025
0529e07
chore: run workflow(especially codecoverage) on merge (#428)
dhyaniarun1993 Dec 4, 2025
bed0f9e
feat: trieUpdates and hashedState added to notification (#425)
dhyaniarun1993 Dec 4, 2025
10e32aa
feat: Consume TrieUpdates and HashedState from notification (#439)
dhyaniarun1993 Dec 4, 2025
7655ea0
chore: grafana table size panel to pie chart (#448)
dhyaniarun1993 Dec 5, 2025
f97a843
fix: fall back to block execution if state updates missing from notif…
dhyaniarun1993 Dec 8, 2025
6f90fa1
feat: Implemented `OpProofStoragePrunerTask` (#375)
sadiq1971 Dec 8, 2025
37563b3
Fix rebase conflicts
emhane Dec 8, 2025
cd7cd44
feat: implemented pruner metrics (#454)
sadiq1971 Dec 8, 2025
6b3d7a1
chore: inmem proof storage removed (#465)
dhyaniarun1993 Dec 9, 2025
9b6deaf
feat: added panel for pruner metrics (#468)
sadiq1971 Dec 9, 2025
196e49f
fix: new earliest block after pruning (#470)
dhyaniarun1993 Dec 9, 2025
131f914
chore(exex): Add metrics feature in `reth-optimism-exex` (#438)
emhane Dec 9, 2025
6f5e811
chore(ci): revert changes to runners (#476)
emhane Dec 11, 2025
d8b5674
fix(trie): Add missing `ValueWithSubkey` impl for `VersionedValue<T>`…
emhane Dec 11, 2025
f2e219d
chore: add prune e2e test back (#477)
dhyaniarun1993 Dec 11, 2025
fa3d71a
chore: sysgo integration (#478)
dhyaniarun1993 Dec 12, 2025
f7d841d
chore(docs): Add op proofs cli to book (#479)
emhane Dec 12, 2025
d020399
chore: enable code coverage for e2e (#485)
dhyaniarun1993 Dec 15, 2025
c0b9ec6
chore(chain-state): Receive sorted updates to exex (#464)
emhane Dec 15, 2025
de78f5d
feat: use bincode structs for wal serialization (#497)
dhyaniarun1993 Dec 15, 2025
0dd266f
feat(trie): Cover error branches of `execute_and_store_block_updates`…
varun-doshi Dec 16, 2025
a2ce061
feat: unwind command added (#499)
dhyaniarun1993 Dec 16, 2025
dd54766
chore(test): use `reth_optimism_chainspec::BASE_SEPOLIA` in tests (#505)
emhane Dec 16, 2025
c043913
feat: prune cli added (#507)
dhyaniarun1993 Dec 16, 2025
2d40177
chore: e2e workflow merged to minimise overall run (#508)
dhyaniarun1993 Dec 16, 2025
1bfabef
test: add unit test for OpProofsStateProviderRef Debug impl (#493)
Himess Dec 17, 2025
a621040
chore(consensus): Add trait object error variant to ConsensusError (#…
LeeliRen6 Dec 17, 2025
ea79599
test: extended prune e2e with `getProof` consistency (#514)
sadiq1971 Dec 17, 2025
a6cf74a
feat: used `OpProofsStorageWithMetrics` provider on pruner (#498)
sadiq1971 Dec 17, 2025
c2770d9
refactor: move jovian consensus rules to new module (#484)
mikemillaa Dec 17, 2025
e6b9061
feat: pruning progress and metrics improvements (#504)
sadiq1971 Dec 18, 2025
002c09f
feat: implement prune batching (#530)
dhyaniarun1993 Dec 18, 2025
3374581
Update lockfile
emhane Dec 18, 2025
fef7fb0
feat: address lookup table (#509)
dhyaniarun1993 Dec 18, 2025
6cc3261
feat: backfill address map (#512)
dhyaniarun1993 Dec 18, 2025
e7b02e1
feat(docs): Wipe readme (#531)
emhane Dec 18, 2025
55933b9
feat(docs): Add metrics dashboard to readme (#532)
emhane Dec 18, 2025
bdc94a3
chore: docs added (#536)
dhyaniarun1993 Dec 19, 2025
784c20f
fix(book): Add missing docs from upstream main (#538)
emhane Dec 22, 2025
11975ee
fix(trie): Fix broken `Debug` impl unit test (#539)
emhane Dec 22, 2025
3ef136f
refactor(trie): return `OpProofsStorageError` from `store_block_updat…
Himess Dec 23, 2025
8a79e3d
feat: metrics panel for debug api ext (#533)
sadiq1971 Jan 5, 2026
ae2d38d
fix: cargo deny (#542)
sadiq1971 Jan 5, 2026
7464a73
refactor(trie): return `OpProofsStorageError` from `execute_and_store…
Himess Jan 5, 2026
d2f16b6
Fix conflicts
emhane Jan 5, 2026
856c98d
Fix conflicts
emhane Jan 5, 2026
83a9152
fix: initialize-op-proofs needs chain parameter (#544)
dhyaniarun1993 Jan 5, 2026
fa254d4
fix: support Send in test_op_proofs_state_provider_ref_debug (#546)
dhyaniarun1993 Jan 5, 2026
957e70c
chore(trie): return `OpProofsStorageError` from `unwind_history` (#548)
emhane Jan 6, 2026
f4b88b2
refactor(trie): return OpProofsStorageError from unwind_and_store_blo…
Himess Jan 6, 2026
e311fbd
feat: integrated storing address mapping (#534)
sadiq1971 Jan 6, 2026
69f6061
feat: Remove associated type consensus error (#543)
JoshdfG Jan 6, 2026
a213695
chore: getProof benchmark utility added
dhyaniarun1993 Jan 6, 2026
da16ed9
reporting doc modified
dhyaniarun1993 Jan 6, 2026
207d8d6
review fixes
dhyaniarun1993 Jan 7, 2026
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
55 changes: 10 additions & 45 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,45 +1,10 @@
* @gakonst
crates/blockchain-tree-api/ @rakita @mattsse @Rjected
crates/blockchain-tree/ @rakita @mattsse @Rjected
crates/chain-state/ @fgimenez @mattsse
crates/chainspec/ @Rjected @joshieDo @mattsse
crates/cli/ @mattsse
crates/consensus/ @mattsse @Rjected
crates/e2e-test-utils/ @mattsse @Rjected @klkvr @fgimenez
crates/engine/ @mattsse @Rjected @fgimenez @mediocregopher @yongkangc
crates/era/ @mattsse @RomanHodulak
crates/errors/ @mattsse
crates/ethereum-forks/ @mattsse @Rjected
crates/ethereum/ @mattsse @Rjected
crates/etl/ @joshieDo @shekhirin
crates/evm/ @rakita @mattsse @Rjected
crates/exex/ @shekhirin
crates/net/ @mattsse @Rjected
crates/net/downloaders/ @Rjected
crates/node/ @mattsse @Rjected @klkvr
crates/optimism/ @mattsse @Rjected @fgimenez
crates/payload/ @mattsse @Rjected
crates/primitives-traits/ @Rjected @RomanHodulak @mattsse @klkvr
crates/primitives/ @Rjected @mattsse @klkvr
crates/prune/ @shekhirin @joshieDo
crates/ress @shekhirin @Rjected
crates/revm/ @mattsse @rakita
crates/rpc/ @mattsse @Rjected @RomanHodulak
crates/stages/ @shekhirin @mediocregopher
crates/static-file/ @joshieDo @shekhirin
crates/storage/codecs/ @joshieDo
crates/storage/db-api/ @joshieDo @rakita
crates/storage/db-common/ @Rjected
crates/storage/db/ @joshieDo @rakita
crates/storage/errors/ @rakita
crates/storage/libmdbx-rs/ @rakita @shekhirin
crates/storage/nippy-jar/ @joshieDo @shekhirin
crates/storage/provider/ @rakita @joshieDo @shekhirin
crates/storage/storage-api/ @joshieDo
crates/tasks/ @mattsse
crates/tokio-util/ @fgimenez
crates/transaction-pool/ @mattsse @yongkangc
crates/trie/ @Rjected @shekhirin @mediocregopher
bin/reth-bench-compare/ @mediocregopher @shekhirin @yongkangc
etc/ @Rjected @shekhirin
.github/ @gakonst @DaniPopes
* @emhane @theochap @BioMark3r
crates/blockchain-tree-api/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane
crates/blockchain-tree/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane
crates/engine/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane
crates/exex/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane
crates/node/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane
crates/optimism/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane
crates/rpc/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane
etc/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane @op-will
.github/ @dhyaniarun1993 @itschaindev @sadiq1971 @meyer9 @emhane
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: Create a bug report
labels: ["C-bug", "S-needs-triage"]
labels: ["K-bug", "S-needs-triage"]
body:
- type: markdown
attributes:
Expand Down
7 changes: 0 additions & 7 deletions .github/actionlint.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/assets/check_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ exclude_crates=(
reth-trie-parallel # tokio
reth-trie-sparse-parallel # rayon
reth-testing-utils
reth-optimism-exex # reth-exex and reth-optimism-trie
reth-optimism-trie # reth-trie
reth-optimism-txpool # reth-transaction-pool
reth-era-downloader # tokio
reth-era-utils # tokio
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
# TODO: Disabled temporarily for https://github.com/CodSpeedHQ/runner/issues/55
# merge_group:
push:
branches: [main]
branches: [unstable, main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -16,7 +16,7 @@ env:
name: bench
jobs:
codspeed:
runs-on: depot-ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -35,6 +35,10 @@ jobs:
run: ./.github/scripts/codspeed-build.sh
- name: Run the benchmarks
uses: CodSpeedHQ/action@v4
env:
CODSPEED_TOKEN: ${{ secrets.CODSPEED_TOKEN }}
# op-reth does not have a codspeed token
if: ${{ env.CODSPEED_TOKEN != '' }}
with:
run: cargo codspeed run --workspace
mode: instrumentation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
build:
runs-on: depot-ubuntu-latest-8
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [unstable, main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -18,7 +18,7 @@ env:
name: compact-codec
jobs:
compact-codec:
runs-on: depot-ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
bin:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/cov-op-historical-proof.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: coverage-op-historical-proof

on:
push:
branches: [ unstable, main ]
pull_request:
workflow_dispatch:

jobs:
reth-op-historical-proof-unit-tests:
name: coverage op-historical-proof unit tests
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.23'

- name: Install llvm
run: |
sudo apt-get update
sudo apt-get install -y llvm
cargo install cargo-llvm-cov

- name: Coverage
run: |
cargo llvm-cov --package reth-optimism-exex --package reth-optimism-trie --lcov --output-path unit.lcov

- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: unit.lcov
flags: unit
env_vars: OS,RUST
name: reth-op-historical-proof-unit-tests
verbose: true
force: true
146 changes: 146 additions & 0 deletions .github/workflows/e2e-op-historical-proof.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
name: e2e-op-historical-proof

on:
push:
branches: [ unstable, main]
pull_request:
workflow_dispatch:

jobs:
op-reth-as-verifier:
name: op-reth-as-verifier
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.24.0'

- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- uses: taiki-e/install-action@cargo-llvm-cov

- name: Verify tools
run: |
echo "forge: $(command -v forge || true)"
go version

- name: Build contract artifacts with forge
working-directory: crates/optimism/tests/proofs/contracts
run: |
forge build

- uses: jdx/mise-action@v3

- name: Run e2e tests
working-directory: crates/optimism/tests
run: |
source <(cargo llvm-cov show-env --export-prefix)
make build
make test-e2e-sysgo GO_PKG_NAME=proofs/core OP_DEVSTACK_PROOF_SEQUENCER_EL=op-geth OP_DEVSTACK_PROOF_VALIDATOR_EL=op-reth
make test-e2e-sysgo GO_PKG_NAME=proofs/reorg OP_DEVSTACK_PROOF_SEQUENCER_EL=op-geth OP_DEVSTACK_PROOF_VALIDATOR_EL=op-reth
make test-e2e-sysgo GO_PKG_NAME=proofs/prune OP_DEVSTACK_PROOF_SEQUENCER_EL=op-geth OP_DEVSTACK_PROOF_VALIDATOR_EL=op-reth
cargo llvm-cov report --lcov --output-path verifier_cov.lcov

- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: verifier_cov.lcov
flags: e2e
env_vars: OS,RUST
name: verifier-sysgo-tests
verbose: true

op-reth-as-sequencer:
name: op-reth-as-sequencer
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.24.0'

- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- uses: taiki-e/install-action@cargo-llvm-cov

- name: Verify tools
run: |
echo "forge: $(command -v forge || true)"
go version

- name: Build contract artifacts with forge
working-directory: crates/optimism/tests/proofs/contracts
run: |
forge build

- uses: jdx/mise-action@v3

- name: Run e2e tests
working-directory: crates/optimism/tests
run: |
source <(cargo llvm-cov show-env --export-prefix)
make build
make test-e2e-sysgo GO_PKG_NAME=proofs/core OP_DEVSTACK_PROOF_SEQUENCER_EL=op-reth OP_DEVSTACK_PROOF_VALIDATOR_EL=op-geth
make test-e2e-sysgo GO_PKG_NAME=proofs/reorg OP_DEVSTACK_PROOF_SEQUENCER_EL=op-reth OP_DEVSTACK_PROOF_VALIDATOR_EL=op-geth
make test-e2e-sysgo GO_PKG_NAME=proofs/prune OP_DEVSTACK_PROOF_SEQUENCER_EL=op-reth OP_DEVSTACK_PROOF_VALIDATOR_EL=op-geth
cargo llvm-cov report --lcov --output-path sequencer_cov.lcov

- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: sequencer_cov.lcov
flags: e2e
env_vars: OS,RUST
name: sequencer-sysgo-tests
verbose: true

e2e-op-historical-proof-success:
name: e2e-op-historical-proof-success
runs-on: ubuntu-latest
if: always()
needs:
- op-reth-as-verifier
- op-reth-as-sequencer
timeout-minutes: 60
steps:
- name: E2E tests for Proof History ExEx succeeded
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [unstable, main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -20,7 +20,7 @@ concurrency:
jobs:
test:
name: e2e-testsuite
runs-on: depot-ubuntu-latest-4
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
timeout-minutes: 90
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [unstable, main]

jobs:
check-dashboard:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
binary_name: reth

prepare-hive:
if: github.repository == 'paradigmxyz/reth'
if: github.repository == 'op-rs/op-reth'
timeout-minutes: 45
runs-on: depot-ubuntu-latest-16
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Checkout hive tests
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- prepare-reth
- prepare-hive
name: run ${{ matrix.scenario.sim }}${{ matrix.scenario.limit && format(' - {0}', matrix.scenario.limit) }}
runs-on: depot-ubuntu-latest-16
runs-on: ubuntu-latest
permissions:
issues: write
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [unstable, main]
schedule:
# Run once a day at 3:00 UTC
- cron: "0 3 * * *"
Expand All @@ -24,7 +24,7 @@ jobs:
test:
name: test / ${{ matrix.network }}
if: github.event_name != 'schedule'
runs-on: depot-ubuntu-latest-4
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
strategy:
Expand Down
Loading
Loading