Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
3394f6f
network: replace rust libp2p-glue with zig-libp2p v0.1.34
ch4r10t33r Jun 11, 2026
6ced6d9
network: bump zig-libp2p to v0.1.35
ch4r10t33r Jun 11, 2026
d6bf9fd
node: defer attestation gossip until block publish completes
ch4r10t33r Jun 11, 2026
02969cb
build: bump zig-libp2p to v0.1.37 for gossip publish tracing
ch4r10t33r Jun 11, 2026
ceb7da1
build: bump zig-libp2p to v0.1.38 for CI disk fix
ch4r10t33r Jun 11, 2026
5fa5085
deps: bump zig-libp2p to v0.1.39
ch4r10t33r Jun 11, 2026
6bc07a8
deps: bump zig-libp2p to v0.1.40
ch4r10t33r Jun 11, 2026
27820d3
node: pair BorrowedState assert with deinit in publishBlock
ch4r10t33r Jun 11, 2026
84379ed
deps: bump zig-libp2p to v0.1.42
ch4r10t33r Jun 11, 2026
e406303
deps: bump zig-libp2p to v0.1.43
ch4r10t33r Jun 11, 2026
35bc05a
deps: bump zig-libp2p to v0.1.44 (zquic v1.7.0 root-cause fix)
ch4r10t33r Jun 11, 2026
004fd05
deps: bump zig-libp2p to v0.1.45 (zquic v1.7.1 client CC PTO fix)
ch4r10t33r Jun 11, 2026
961bcf2
deps: bump zig-libp2p to v0.1.46 (zquic v1.7.2 client send gating)
ch4r10t33r Jun 11, 2026
c8d3b01
deps: bump zig-libp2p to v0.1.47 (zquic v1.7.3 queue backpressure)
ch4r10t33r Jun 12, 2026
18f2ab5
deps: bump zig-libp2p to v0.1.48 (zquic v1.7.4)
ch4r10t33r Jun 12, 2026
fd82593
deps: bump zig-libp2p to v0.1.49 (zquic v1.7.5)
ch4r10t33r Jun 12, 2026
c118ba7
deps: bump zig-libp2p to v0.1.50 (zquic v1.7.6)
ch4r10t33r Jun 12, 2026
50d4c49
deps: bump zig-libp2p to v0.1.51 (fix zquic zon entry)
ch4r10t33r Jun 12, 2026
e68eb3b
deps: bump zig-libp2p to v0.1.52 (zquic v1.7.7 pacer fix)
ch4r10t33r Jun 12, 2026
562a7b5
deps: bump zig-libp2p to v0.1.53 (zquic pending-entry cap)
ch4r10t33r Jun 12, 2026
5cbf9c7
deps: bump zig-libp2p to v0.1.54 (zquic v1.7.9)
ch4r10t33r Jun 12, 2026
591fa4f
deps: bump zig-libp2p to v0.1.55 (zquic v1.7.10)
ch4r10t33r Jun 12, 2026
a6487e3
deps: bump zig-libp2p to v0.1.56 (zquic v1.7.11)
ch4r10t33r Jun 12, 2026
337fd0a
deps: bump zig-libp2p to v0.1.57 (zquic v1.7.12)
ch4r10t33r Jun 12, 2026
ef3808d
deps: bump zig-libp2p to v0.1.58 (zquic v1.7.13)
ch4r10t33r Jun 12, 2026
baa045b
deps: bump zig-libp2p to v0.1.59 (redial on outbound death + skew logs)
ch4r10t33r Jun 12, 2026
0b9878b
deps: bump zig-libp2p to v0.1.60 (zquic v1.7.14)
ch4r10t33r Jun 12, 2026
6801f05
deps: bump zig-libp2p to v0.1.61 (zquic v1.7.15)
ch4r10t33r Jun 12, 2026
4551efd
zig-libp2p: bump to v0.1.62 (quinn-style adaptive pacer)
ch4r10t33r Jun 12, 2026
5264399
zig-libp2p: bump to v0.1.63 (transient backpressure on persistent /me…
ch4r10t33r Jun 12, 2026
e757db5
zig-libp2p: bump to v0.1.64 (zquic v1.7.18 — revert pending cap)
ch4r10t33r Jun 12, 2026
fc597f4
cli, zig-libp2p: gate QUIC-stack info/debug logs on DEBUG_QUIC; bump …
ch4r10t33r Jun 12, 2026
fedd745
zig-libp2p: bump to v0.1.66
ch4r10t33r Jun 12, 2026
f2465e0
zig-libp2p: bump to v0.1.67
ch4r10t33r Jun 12, 2026
553af32
build.zig.zon: bump zig-libp2p to v0.1.68
ch4r10t33r Jun 12, 2026
3f7fb76
build: bump zig-libp2p to v0.1.69
ch4r10t33r Jun 13, 2026
307750f
build: bump zig-libp2p to v0.1.70 (zquic v1.7.22 client-side Initial …
ch4r10t33r Jun 13, 2026
c107a1e
deps: bump zig-libp2p to v0.1.71 (18-byte client first-Initial DCID)
ch4r10t33r Jun 13, 2026
0fd7a4f
deps: bump zig-libp2p to v0.1.72 (zquic v1.7.24 client Handshake vari…
ch4r10t33r Jun 13, 2026
f9076e9
network: low-S secp256k1 SignedKey via zig-libp2p v0.1.73
ch4r10t33r Jun 14, 2026
dc25621
network: bump zig_libp2p to v0.1.74 (gossipsub data-race fix)
ch4r10t33r Jun 14, 2026
bd9d20f
network: bump zig_libp2p to v0.1.75 (gossipsub /meshsub version fallb…
ch4r10t33r Jun 14, 2026
e96f149
deps: bump zig-libp2p to v0.1.76 (zquic v1.7.26 loss-detector free gu…
ch4r10t33r Jun 14, 2026
6e2816b
deps: bump zig-libp2p to v0.1.77 (zquic v1.7.27 FIN-only retransmit c…
ch4r10t33r Jun 14, 2026
4f441d0
deps: bump zig-libp2p to v0.1.78 (zquic v1.7.28 FIN-only retransmit fix)
ch4r10t33r Jun 14, 2026
07995f3
deps: bump zig-libp2p to v0.1.79 (zquic v1.7.29 zero-length FIN heap-…
ch4r10t33r Jun 14, 2026
bb20114
deps: bump zig-libp2p to v0.1.80 (zquic v1.7.30 cwnd-collapse fix)
ch4r10t33r Jun 15, 2026
a773c00
deps: bump zig-libp2p to v0.1.81 (visible CC state on queue-full warn…
ch4r10t33r Jun 15, 2026
e09a8c5
deps: bump zig-libp2p to v0.1.82 (complete backpressure diagnostic line)
ch4r10t33r Jun 15, 2026
550471e
deps: bump zig-libp2p to v0.1.83 (min cwnd 10 MSS — stop spurious-los…
ch4r10t33r Jun 15, 2026
3d5355a
deps: bump zig-libp2p to v0.1.84 (offload inbound gossip validation o…
ch4r10t33r Jun 15, 2026
00d034f
deps: bump zig-libp2p to v0.1.85 (gossipsub single-owner actor)
ch4r10t33r Jun 15, 2026
8b87d47
deps: bump zig-libp2p to v0.1.86 (fix inbound-stream UAF on conn close)
ch4r10t33r Jun 15, 2026
01dfe72
deps: bump zig-libp2p to v0.1.87 (zquic v1.7.34 raw-app slot double-f…
ch4r10t33r Jun 15, 2026
226060e
Merge branch 'main' into feat/replace-libp2p-glue
ch4r10t33r Jun 15, 2026
a80beb7
node: instrument onInterval sub-steps for #863 attribution
ch4r10t33r Jun 15, 2026
a3cc897
node: offload per-interval attestation construct+sign off the libxev …
ch4r10t33r Jun 15, 2026
8b14b2b
forkchoice: shrink signatures_mutex hold in aggregate commit (#863)
ch4r10t33r Jun 15, 2026
dae217b
forkchoice: free stored_proof on aggregate-commit suppress path
ch4r10t33r Jun 15, 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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ zig-cache/

# Rust/Cargo artifacts
target/
**/target/
**/*.rs.bk

# IDE and editor files
Expand Down
11 changes: 11 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,14 @@ Examples:
Use comma-separated package names when multiple areas are affected. Keep the description concise.

Do not use the braindead, non-descriptive style `feat`, `chore`, etc... as it is redundant with the github labelling system.

## Ship workflow

When implementation work is **complete** (fixes, features, dependency bumps), **commit and push** without waiting to be asked. Skip this for question-only, review-only, or explicitly read-only tasks.

1. Run the pre-commit checklist above.
2. Commit each affected repo with the message format above.
3. Push to the tracked remote branch.
4. **zig-libp2p → zeam:** commit and push `zig-libp2p` first; tag (`v0.1.N`) when zeam needs the release; `zig fetch` the new ref to get the `build.zig.zon` hash; then commit and push zeam.

Do not commit secrets, local devnet artifacts, or unrelated dirty files. Do not post GitHub comments unless explicitly asked.
29 changes: 20 additions & 9 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,19 @@ pub fn build(b: *Builder) !void {
zeam_network.addImport("snappyframesz", snappyframesz);
zeam_network.addImport("snappyz", snappyz);
zeam_network.addImport("@zeam/metrics", zeam_metrics);
// The publish-side forensic log line in `ethlibp2p.zig`
// includes the build git SHA so receivers across the fleet can correlate

// zig-libp2p — pure-Zig libp2p stack. The legacy `ethlibp2p.zig`
// / `rust/libp2p-glue/` path was deleted; this is the only libp2p
// implementation now. `ethlibp2p_v2.zig` consumes it via
// `@import("zig_libp2p")`.
const zig_libp2p_dep = b.dependency("zig_libp2p", .{
.target = target,
.optimize = optimize,
});
zeam_network.addImport("zig_libp2p", zig_libp2p_dep.module("zig_libp2p"));

// The publish-side forensic log line in v2 includes the build git SHA
// so receivers across the fleet can correlate
// broken-byte receipts back to the exact producer binary.
zeam_network.addImport("build_options", build_options_module);

Expand Down Expand Up @@ -944,7 +955,7 @@ fn build_rust_project(b: *Builder, path: []const u8, prover: ProverChoice, no_je
// lib.rs cfg excludes the zkVM provers, which ship their own). Enable its
// cargo feature here, unless -Dno-jemalloc was passed (e.g. for the Shadow
// simulator, where jemalloc deadlocks the shim — system allocator instead).
const multisig_features = if (no_jemalloc) "libp2p,hashsig,multisig" else "libp2p,hashsig,multisig,jemalloc";
const multisig_features = if (no_jemalloc) "hashsig,multisig" else "hashsig,multisig,jemalloc";
const cargo_build = switch (prover) {
.dummy => b.addSystemCommand(&.{
"rustup", "run", "nightly", "cargo",
Expand All @@ -956,19 +967,19 @@ fn build_rust_project(b: *Builder, path: []const u8, prover: ProverChoice, no_je
"rustup", "run", "nightly", "cargo",
"-C", path, "-Z", "unstable-options",
"build", "--profile", "risc0-release", "-p",
"zeam-glue", "--no-default-features", "--features", "libp2p,hashsig,multisig,risc0",
"zeam-glue", "--no-default-features", "--features", "hashsig,multisig,risc0",
}),
.openvm => b.addSystemCommand(&.{
"rustup", "run", "nightly", "cargo",
"-C", path, "-Z", "unstable-options",
"build", "--profile", "openvm-release", "-p",
"zeam-glue", "--no-default-features", "--features", "libp2p,hashsig,multisig,openvm",
"zeam-glue", "--no-default-features", "--features", "hashsig,multisig,openvm",
}),
.all => b.addSystemCommand(&.{
"rustup", "run", "nightly", "cargo",
"-C", path, "-Z", "unstable-options",
"build", "--release", "-p", "zeam-glue",
"--no-default-features", "--features", "libp2p,hashsig,multisig,risc0,openvm",
"rustup", "run", "nightly", "cargo",
"-C", path, "-Z", "unstable-options",
"build", "--release", "-p", "zeam-glue",
"--no-default-features", "--features", "hashsig,multisig,risc0,openvm",
}),
};

Expand Down
4 changes: 4 additions & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
.url = "git+https://github.com/anshalshukla/zig-thread-pool#ac7d6c72f8eef147e2fb0b93e2dbb725f52d314f",
.hash = "thread_pool-0.1.0-m6B8f9j4AAAWx5c9ytLrH_NlntTMxSg049v76xVsgoSw",
},
.zig_libp2p = .{
.url = "https://github.com/ch4r10t33r/zig-libp2p/archive/refs/tags/v0.1.87.tar.gz",
.hash = "zig_libp2p-0.1.87-lil2hAcaHACe-m0veFC6w5gJL-vRXYpsMKbnvxbjlt7h",
},
},
.paths = .{""},
}
Loading
Loading