Repository navigation
P1: verifier scalability, DA cache, client reuse, log format, security bumps - #58
Merged
Merged
Conversation
…og to debug Fixes #43 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…e call - Workers make one verification attempt per job and schedule retries and the 5-minute cooldown re-queue with time.AfterFunc, so waiting on DA no longer holds a worker slot. - Backfill heights missed while the WebSocket subscription was down (capped at the most recent 1000), without recording block time for them. - verifyAttempt calls only GetBlockWithBlobs instead of GetBlock + GetBlockWithBlobs. - Per-block success logs moved to Debug. - Consumer-side interfaces for the ev-node, Celestia and EVM clients, with fake-backed tests. Fixes #39 Fixes #41 Refs #40 Refs #43 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
golang.org/x/net v0.60.0 requires go 1.26.0, so the go directive and the Docker builder image move to 1.26. Fixes #54 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
20 tasks done
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Oct 20, 2026
Closed
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.
Implements the P1 issues from the optimization roadmap (#53).
Changes
Verifier (#39, #41, plus the verifier parts of #40 and #43):
pkg/exporters/verifier/time.AfterFunc, so throughput is limited by RPC concurrency instead of wait time. This also meansblock_time_secondsis no longer skewed when the queue fills.HeaderByNumberand enqueues them.RecordBlockTime.GetBlockfollowed byGetBlockWithBlobsis now a singleGetBlockWithBlobs.blockSource,daVerifier,headSource), which makes it testable with fakes. The concrete clients satisfy them unchanged.Celestia per-DA-height cache (#40):
internal/clients/celestia/GetBlockTimestampandGetBlobsAtHeightresults are memoized per DA height (and namespace) for 2 minutes. Concurrent lookups for the same key share one in-flight fetch viasingleflight.Drift and balance (#42):
pkg/exporters/drift/,pkg/exporters/balance/,internal/clients/cosmos/https://consensus endpoints now use TLS (port 443 by default). Before, they silently failed because the connection was forced to plaintext.Log format (#43):
cmd/monitor.go,pkg/exporters/jsonrpc/--log-format=console|jsonflag, defaulting toconsole. Invalid values are rejected at startup.Security bumps (#54):
go.mod,go.sum,Dockerfilex/crypto, which has no fix yet.golang:1.26-alpineto match.Behaviour changes for operators
--verboseto see them.unsubmitted_blocks_totalmay rise where those blocks used to be silently skipped.Tests
go build,go vet,go test -race ./..., golangci-lint (0 issues),gofmtandgo mod tidyare all clean.Fixes #39
Fixes #40
Fixes #41
Fixes #42
Fixes #43
Fixes #54
🤖 Generated with Claude Code