Repository navigation
feat(modules): nimbus-verified-proxy tenant + sha512/nested-archive support (Track 65) - #6
Merged
Merged
Conversation
stpinkie
force-pushed
the
devin/track-60-modules
branch
from
September 15, 2026 07:49
96bd969 to
72073be
Compare
…upport (Track 65) First binary tenant: status-im/nimbus-eth1's verified proxy — a consensus light client serving execution JSON-RPC verified against beacon proofs, on linux amd64/arm64, windows amd64, macos arm64. Verified against upstream at impl time (the draft's guesses were wrong): upstream publishes sha512, not sha256 → ReleasePin gains SHA512 + Digest(platform); assets label darwin "macos" → InstallSpec.OSAliases; the binary ships under build/ → extraction flattens it to the version root; real flags are --execution-api-url/--beacon-api-url/ --trusted-block-root/--network/--listen-url (beacon_api_url was missed entirely; rpc_port is a full listen URL). Provider URLs are secret fields since they embed API keys. Smoke: real v0.4.1 install + --version run on Windows; daemon start needs live EL+CL endpoints (release gate). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Pre-existing main bugs surfaced by CI on the stacked PRs:
- newCorrelationID derived IDs from time.Now(); on coarse-clock
Windows runners two adjacent calls returned identical IDs, and the
agentrpc result cache (keyed by peer+corrID) served request 1's
response to request 2 — replay rejection and rate limiting were
silently bypassed. Use crypto-random IDs (shared randomHexToken).
- handleRequestWithCache now only returns a cached response when the
request nonce matches — same corrID + fresh nonce is a new request,
not an idempotent retry.
- localCapability invoked manifestSource/manifestSink concurrently
(announce loop + caps stream handler); serialize the invocation so
sinks (gateway manifest file writer, test doubles) stay safe.
- swarm Transport.Stop now drains in-flight inbound stream handlers —
they write audit/run files into the swarm home and raced test
TempDir cleanup ("directory not empty").
- pkg/modules test golines formatting (modules_test.go:637).
Verified: go test -p 1 -tags goolm,stdjson on mesh/agentrpc/swarm/
modules; CGO_ENABLED=1 go test -race -p 1 on mesh/stream/swarm;
golangci-lint 0 issues.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
stpinkie
force-pushed
the
devin/track-65-nimbus
branch
from
September 15, 2026 08:17
200b628 to
9cc1d05
Compare
Owner
Author
|
Added
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Track 65 of the v0.10.0 sprint — the first binary module tenant, on top of the Track 60 module system (#5).
nimbus-verified-proxy(kinddaemon):status-im/nimbus-eth1's verified proxy — a consensus light client serving execution JSON-RPC verified against beacon-chain proofs. Platforms: linux amd64/arm64, windows amd64, macos arm64 (no darwin-amd64 asset exists upstream). Pinned v0.4.1 /ec214533.nimbus_verified_proxy_conf.nim: the draft's--web3-url/--rpc-portguesses were wrong. Real flags:--execution-api-url,--beacon-api-url(a required light-client data provider the draft missed),--trusted-block-root(required, not optional),--network,--listen-url(a full URL, not a port). Both provider URLs areSecretfields — they routinely embed API keys.ReleasePin.SHA512+Digest(platform)— upstream publishes sha512, not sha256. Explicit per-algo maps; the pinned digest for this release cross-checks against the release notes.InstallSpec.OSAliases—{goos}expansion mapsdarwin→macosfor upstream asset naming.build/nimbus_verified_proxy[.exe]; extraction now writes the matched binary to the version-dir root wherebinaryPathlooks..exeresolution on Windows (with bare-name fallback).eth_chainIdPOST to{listen_url}..todo.md, design doc, AGENTS.md) with the verified facts.Test plan
go build+golangci-lint(0 issues) +pkg/modulestests — new: sha512 install/mismatch, nested-archive flatten, OS-alias asset naming, catalog-entry invariants, secret-valued args reach argvmodule install nimbus-verified-proxydownloaded the 23 MB v0.4.1 asset, sha512-verified against the upstream pin, extracted;nimbus_verified_proxy.exe --versionruns →v0.4.1-ec214533module statusshowsunconfiguredwith correct missing-field list;module validatecleanstart/stopwith live EL+CL endpoints — deferred to the release gate (Track 66)Stacked on #5 (Track 60); retargets up the chain as it merges.
Generated with Devin