Third release candidate of the v0.43.x line, for celestia-app v12 (celestia-app v11 stays on v0.42.x). Since rc1 it cuts p2p write overhead, keeps the blockstore off the slow write path for large blocks, keeps late-starting validators on the proposer's pacing grid, and hardens consensus, propagation, the CAT mempool, RPC and the light client. Requires Go 1.26.11.
Breaking changes since rc1
- The strict WeightedMedian block-time rule applies from app version 12 (#3790). Below it the pre-#3353 rule is kept, so nodes agree on block times during the v12 rollout and while syncing old blocks.
New config
[p2p] flush_low_latencyis now a duration (default2ms): once the low-latency queues drain, the connection waits that long before flushing so bursts share frames.0srestores the previous behaviour (#3778).[storage] blockstore_memtable_size_mb = 64andblockstore_goleveldb_disable_large_batch_transaction = true, applied only to the blockstore DB, so saving a 21–34 MiB block no longer waits on level-0 compaction (#3777).
Consensus and p2p
- Anchor the paced start on the earlier of our own start and the committed proposal's time, so a validator that starts a height late is back on the proposer's grid within a height or two (#3786).
- Take block parts that arrived before their proposal (#3769).
- One socket write per
SecretConnection.Write(#3780), and HasVote no longer arms the low-latency flush (#3791). - Start the
BaseReactormessage processor inStart, so it sees state set on the reactor after construction and stops with it (#3804).
Propagation and mempool (CAT)
PeerStatebounds its own round state: at most 16 heights and 32 rounds per height (#3674).- Request every tx announced at the same signer sequence, not only the first (#3754).
RPC and light client
prove_shareschecks the share range before loading the block (#3749), andgenesis_chunkedrejects out-of-range chunks (#3765).- The light client verifies share proofs from
ProveSharesandProveSharesV2(#3771). Light RPC bindsBlockandBlockResultsto the requested height (#3766) and serves height-less requests from the latest trusted light block (#3767).
What's Changed
- ci: [low] request designated reviewers on new PRs by @rootulp in #3762
- fix(rpc): [high] check the share range before loading the block in prove_shares by @ninabarbakadze in #3749
- docs(types): [low] describe how RowProof.Validate checks StartRow and EndRow by @rootulp in #3772
- test(propagation): [low] deflake TestRecoverPartsFromLiveMempool by @rootulp in #3774
- fix(light): [medium] verify share proofs from ProveShares and ProveSharesV2 by @rootulp in #3771
- fix(mempool/cat): [high] request every tx queued at a signer sequence by @rootulp in #3754
- fix(propagation): [high] bound per-peer round state inside PeerState by @rootulp in #3674
- test(e2e): [low] add latency and partition perturbations and report nightly failures privately by @rootulp in #3788
- perf(store): [medium] size the blockstore memtable to hold a whole block by @rach-id in #3777
- fix(consensus): [high] take parts that arrived before their proposal by @rootulp in #3769
- docs(types): [low] state the MaxBlockTxs constraint without app version numbers by @rach-id in #3789
- perf(p2p/conn): [high] one socket write per SecretConnection.Write by @rach-id in #3780
- fix(rpc): [high] reject out of range chunks in genesis_chunked by @ninabarbakadze in #3765
- fix(light/rpc): [high] serve requests without a height from the latest trusted light block by @ninabarbakadze in #3767
- fix(light/rpc): [high] bind Block and BlockResults to the requested height by @ninabarbakadze in #3766
- perf(p2p): [high] coalesce low-latency flushes with flush_low_latency by @rach-id in #3778
- perf(consensus): [high] send HasVote without arming the low-latency flush by @rach-id in #3791
- fix(consensus): [high] anchor the paced start on the earlier of own start and the proposal time by @rach-id in #3786
- fix(state)!: [high] gate the strict WeightedMedian rule to app version 12 by @rootulp in #3790
- fix(p2p): [high] start the BaseReactor processor in Start by @damiannolan in #3804
Full Changelog: v0.43.0-rc1...v0.43.0-rc2