Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
87eed0e
feat: flashblocks p2p v2
0xForerunner Mar 10, 2026
f611af4
refactor
0xForerunner Mar 10, 2026
1ff0377
wip
0xForerunner Mar 10, 2026
94fdb5b
:wip
0xForerunner Mar 10, 2026
487855d
wip
0xForerunner Mar 11, 2026
7d0f608
wip
0xForerunner Mar 11, 2026
78be1cd
wip
0xForerunner Mar 11, 2026
31c1013
wip
0xForerunner Mar 11, 2026
b9eebab
wip
0xForerunner Mar 11, 2026
f0e94c5
wip
0xForerunner Mar 11, 2026
30cafa3
cleanup
0xForerunner Mar 11, 2026
b2b1dea
wip
0xForerunner Mar 11, 2026
0d02eb0
wip
0xForerunner Mar 11, 2026
1667593
wip
0xForerunner Mar 11, 2026
cca37d0
fix: tests
0xForerunner Mar 11, 2026
1517afb
fix: more tests
0xForerunner Mar 11, 2026
4f83221
chore: clippy
0xForerunner Mar 11, 2026
00e916c
fix: tests
0xForerunner Mar 11, 2026
21f294a
fmt
0xForerunner Mar 11, 2026
84dd7a5
refactor
0xForerunner Mar 11, 2026
067b0e4
fix tests
0xForerunner Mar 12, 2026
438e2fc
wip
0xForerunner Mar 12, 2026
bad39aa
cleanup
0xForerunner Mar 12, 2026
d3a2543
keep track of send
0xForerunner Mar 12, 2026
50ede12
more cleanup
0xForerunner Mar 12, 2026
a42d45f
fix: change trusted peer behaviour
0xForerunner Mar 12, 2026
e5c9f19
fix: canon state tracking against pending state
0xOsiris Mar 13, 2026
85379a9
wip: blocking threadpool for deferred trie
0xOsiris Mar 13, 2026
e803548
chore: cleanup
0xOsiris Mar 13, 2026
f2ed3b6
chore: add back p2p stuff
0xOsiris Mar 13, 2026
899d478
feat: wire things together
0xOsiris Mar 14, 2026
b985445
chore: clenaup
0xOsiris Mar 14, 2026
78b7fd1
chore: fmt
0xOsiris Mar 14, 2026
a30d12f
chore: logging
0xForerunner Mar 14, 2026
1c7c3a3
chore: add auto-fmt
0xOsiris Mar 14, 2026
48c6a54
Merge branch 'fr/flashblocks-p2p-v2' into osiris/better-task-manageme…
0xOsiris Mar 14, 2026
7f617a0
chore: run sync on main
0xOsiris Mar 14, 2026
cf1d8bd
Merge branch 'osiris/better-task-management-and-messaging' of https:/…
0xOsiris Mar 14, 2026
77e8342
chore: run sync
0xOsiris Mar 14, 2026
410129b
fix: cleanup stream logic
0xOsiris Mar 14, 2026
7f463ee
fix: cleanup + test
0xOsiris Mar 14, 2026
8507b4d
fix: tasks
0xOsiris Mar 14, 2026
d5f590c
Apply suggestion from @0xOsiris
0xOsiris Mar 14, 2026
d1b3591
chore: cleanup metrics
0xOsiris Mar 14, 2026
73d0c70
Merge branch 'osiris/better-task-management-and-messaging' of https:/…
0xOsiris Mar 14, 2026
7a14d1b
chore: cleanup
0xOsiris Mar 14, 2026
b07117f
chore: auto-format
github-actions[bot] Mar 14, 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
22 changes: 19 additions & 3 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,21 @@ jobs:
cargo-lint:
runs-on: arc-public-8xlarge-amd64-runner
timeout-minutes: 20
permissions:
contents: write
name: lint
steps:
- uses: actions/checkout@v6
- uses: taiki-e/install-action@just
with:
ref: ${{ github.head_ref }}
persist-credentials: true
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy

- uses: foundry-rs/foundry-toolchain@v1

- uses: taiki-e/install-action@just
- name: Cache
uses: actions/cache@v5
continue-on-error: false
Expand All @@ -54,9 +62,17 @@ jobs:
~/.cargo/git/db/
key: cargo-test-${{ hashFiles('**/Cargo.lock') }}
restore-keys: cargo-test-
- name: fmt + lint
run: cargo +nightly fmt --all -- --check
- name: Run Formatter
run: just fmt

- name: Commit changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
git diff --staged --quiet || git commit -m "chore: auto-format"
git push

cargo-clippy:
runs-on: arc-public-8xlarge-amd64-runner
timeout-minutes: 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
push:
tags:
- v*

pull_request:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sync workflow accidentally triggers on all pull requests

Medium Severity

Adding bare pull_request: to sync.yml triggers the full sync test (60-minute timeout, builds and runs a chain sync) on every pull request. This workflow was previously scoped to workflow_dispatch, weekly schedule, and tag pushes only. This appears to be accidentally committed and will waste CI resources on every PR.

Fix in Cursor Fix in Web

env:
CARGO_TERM_COLOR: always

Expand Down
31 changes: 28 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ reth = { git = "https://github.com/worldcoin/reth", rev = "15d0a8f" }
reth-cli-util = { git = "https://github.com/worldcoin/reth", rev = "15d0a8f" }
reth-cli = { git = "https://github.com/worldcoin/reth", rev = "15d0a8f" }
reth-engine-primitives = { git = "https://github.com/worldcoin/reth", rev = "15d0a8f" }
reth-engine-tree = { git = "https://github.com/worldcoin/reth", rev = "15d0a8f" }
reth-evm = { git = "https://github.com/worldcoin/reth", rev = "15d0a8f", features = [
"op",
] }
Expand Down Expand Up @@ -144,6 +145,7 @@ op-alloy-rpc-types = { version = "0.23.1", default-features = false }
op-alloy-rpc-types-engine = { version = "0.23.1", default-features = false }
op-alloy-network = { version = "0.23.1", default-features = false }
alloy-op-hardforks = { version = "0.4.4", default-features = false }
op-alloy-provider = { version = "0.23.1", default-features = false }

# alloy
alloy = { version = "1.1.2" }
Expand Down Expand Up @@ -199,7 +201,6 @@ revm-inspectors = "0.34"

alloy-op-evm = { version = "0.27", default-features = false }
alloy-evm = { version = "0.27", default-features = false }

# rpc
jsonrpsee = { version = "0.26.0", features = ["server", "client", "macros"] }
jsonrpsee-core = { version = "0.26.0" }
Expand Down Expand Up @@ -256,6 +257,7 @@ url = "2.5.7"
brotli = "8.0.2"
once_cell = "1.19"
either = { version = "1.15.0", default-features = false }
pin-project = "1.0.1"

# Test
testcontainers = "0.27"
Expand Down
4 changes: 3 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ devnet-down:
test *args='':
RUST_LOG="info" cargo nextest run --workspace $@

fmt: fmt-fix fmt-check contracts-fmt

# Formats the whole workspace
fmt: devnet-fmt contracts-fmt fmt-fix fmt-check
fmt-all: devnet-fmt contracts-fmt fmt-fix fmt-check

devnet-fmt:
@just ./devnet/fmt
Expand Down
4 changes: 3 additions & 1 deletion crates/flashblocks/builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ reth-payload-util.workspace = true
reth-evm.workspace = true
reth-node-api.workspace = true
reth-node-builder.workspace = true
reth-engine-tree.workspace = true

# op-reth
reth-optimism-forks.workspace = true
Expand Down Expand Up @@ -60,8 +61,8 @@ dashmap.workspace = true
thiserror.workspace = true
either.workspace = true
metrics.workspace = true
metrics-derive.workspace = true
serde.workspace = true
backon.workspace = true

[dev-dependencies]
serde.workspace = true
Expand All @@ -70,6 +71,7 @@ eyre.workspace = true
lazy_static.workspace = true
proptest.workspace = true
reth-tracing.workspace = true
tracing-subscriber.workspace = true
alloy-genesis.workspace = true
op-alloy-network.workspace = true
alloy-signer-local.workspace = true
Expand Down
Loading