Skip to content

chore(release)!: update changelog and bump version to 2.0.0 - #1648

Merged
lklimek merged 106 commits into
masterfrom
release_2.0.0
Nov 26, 2026
Merged

lklimek merged 106 commits into
masterfrom
release_2.0.0

Conversation

@Claudius-Maginificent

@Claudius-Maginificent Claudius-Maginificent commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Promote the frozen dev candidate to master as Tenderdash 2.0.0, the first stable release of the 2.0 line.

User story

As a Dash Platform node operator, I want a stable Tenderdash 2.0.0 release with one set of upgrade notes, so that I can upgrade from 1.8.2 before the network activates consensus version 2.

Scenario

Base flow

Platform 5.1 needs Tenderdash with ABCI 1.5 and consensus version 2 (proposer liveness and round skipping). That work was published as the prereleases v2.0.0-dev.1 to v2.0.0-dev.3.

Actual behavior

The latest stable release is 1.8.2 (ABCI 1.4.0). Drive 5.1.0-rc.1 rejects it, and dashmate 5.1.0-rc.1 pins the prerelease image dashpay/tenderdash:2.0.0-dev.3.

Expected behavior

master holds the reviewed 2.0.0 tree. After the merge, the release owner tags v2.0.0 at the merge SHA and publishes the release.

Detailed discussion

What was done

Four release commits on top of the frozen candidate:

Commit Subject Files
721f059cd278eb297a2f6618860f1a12df70532e chore(release): update changelog and bump version to 2.0.0 version/version.go, rpc/openapi/openapi.yaml, CHANGELOG.md
90f669fc159848670941de02ef4ba15f57cc5490 docs: file the upgrade notes under v2.0.0 UPGRADING.md
fb4cadfa701c2dbb42a523423202fd751e5e45cf docs(release): correct the 2.0.0 changelog CHANGELOG.md
08b2d805f94107bd1522bc62d30c630a7c8aeff3 docs(release): record why ABCI stays 1.5.0 in 2.0.0 CHANGELOG.md

Together they change:

  • version/version.go: TMVersionDefault 2.0.0-dev.3 → 2.0.0
  • rpc/openapi/openapi.yaml: info.version → 2.0.0
  • CHANGELOG.md: new ## [2.0.0] - 2026-11-26 section with the aggregate change since 1.8.2. The 2.0.0-dev.N and older sections are unchanged.
  • UPGRADING.md: the Unreleased notes are filed under v2.0.0 (as done for v1.7.0).

Release record

Item Value
Version 2.0.0 (tag v2.0.0, created at the merge SHA at finalisation)
Baseline v1.8.2 = dd596db0ddbde7e9a23754ddd6dbf6cc482fd9c1 (= origin/master, the latest published stable tag, an ancestor of the candidate)
Source (frozen origin/dev) 1871893d032053cca845cc2c1f04cf4b89a4f1fd
Reviewed head 08b2d805f94107bd1522bc62d30c630a7c8aeff3 (tree 3204ac71b07b5c03ce2d35adeff4e218fdf76afd)
Preceding prerelease v2.0.0-dev.3 = 831bbeaf63e76933435c20507cbac50e459ac563
Range 102 commits v1.8.2..1871893d0 (99 non-merge), 625 files changed
Final reviewed merge SHA to be recorded after the merge; git diff 08b2d805f94107bd1522bc62d30c630a7c8aeff3 MERGE_SHA must be empty

Release evidence comes from scripts/release/plan.py --mode next --source 1871893d0 --baseline v1.8.2. Its patch-equivalence check finds none of the 99 commits already released in 1.8.x.

SemVer rationale

The change since 1.8.2 breaks three versioned contracts, so the release is a major:

The decision rests on the net diff, not on the 11 ! commit subjects. Configuration, CLI and Go API changes (#1513, #1550, #1551, #1553) do not decide the version; the changelog lists them with the operator action.

Protocol decision per contract

Contract Counter v1.8.2 2.0.0 Decision
RPC TMVersionDefault 1.8.2 2.0.0 Changed response semantics (#1530, #1547).
ABCI ABCISemVer 1.4.0 1.5.0 Kept from the dev series. The messages only gain fields and an enum value: CONSENSUS_VERSION_2, proposer_heartbeat, proposer_silence.
P2P and consensus P2PProtocol 10 11 Kept from the dev series. New state-channel messages ProposerHeartbeat, RoundSkipVote, RoundSkipCertificate, sent only at consensus version 2. A proposer sends heartbeats only while the application answers ABCI Echo on the PrepareProposal route.
Block format BlockProtocol 14 14 Unchanged. No block, header, vote or commit field changed. blocksync.BlockResponse.block became bytes, which is the same wire encoding (#1595). HashedParams gains proposer_heartbeat_ns and proposer_silence_ns, set only at consensus version 2, so Header.ConsensusHash is unchanged at versions 0 and 1. No hard fork.

ABCISemVer stays 1.5.0 (release owner's decision). The commit-level VerifyVoteExtension call (#1520) changes what an application must handle, but Drive, the only ABCI application, handles it from 5.1.0-rc.1, so no ABCI major is needed. The version handshake does not enforce this: rs-tenderdash-abci accepts ^major.minor of the ABCI version it links, so an application built for ABCI 1.4 (^1.4) accepts Tenderdash 2.0.0 (ABCI 1.5.0) at Info.

These release commits change no protocol counter. The 12 commits after v2.0.0-dev.3 touch no versioned contract: one RPC client fix (#1623), one test (#1626), dependency bumps and CI.

No persisted data needs a manual migration. goleveldb was the only supported backend in 1.8.2 and stays the only one. The proto changes to stored types only add fields.

Platform compatibility and rollout

Checked against Platform v5.1.0-rc.1 (fd25650206):

  • Drive links tenderdash-abci v2.0.0-dev.2 and accepts ABCI ^1.5. It accepts Tenderdash 2.0.0 and rejects 1.8.x. Its verify_vote_extension handler accepts the commit-level call.
  • dashmate pins dashpay/tenderdash:2.0.0-dev.3; Platform must change it to 2.0.0. Its generated Tenderdash configuration passes the new validation (indexer = ["kv"], no psql-conn, valid [p2p] limits), and stop_grace_period: 40s exceeds the 30s --shutdown-timeout.
  • rs-tenderdash-abci: a matching v2.0.0 crate release is needed. Its CI passes only after the Tenderdash tag and Docker image exist. This PR does not prepare it.
  • Mixed versions: before activation, 2.0.0 nodes keep block protocol 14, pass the peer compatibility check of 1.8.x nodes and do not send the new messages. Drive and Tenderdash upgrade together on each node, because Drive 5.1 rejects Tenderdash 1.8.x.
  • Activation: Platform protocol version 15 sets consensus version 2 through a consensus parameter update that applies from the next height. Every validator and full node must run 2.0.0 before that. A node cannot go back to 1.8.x afterwards.

Testing

Run on the reviewed head 08b2d805f, Go 1.27.4, linux/amd64:

Command Result
go test -count=1 ./version/... pass (exit 0); keeps version.go and openapi.yaml equal
gofmt -l version/ clean (exit 0)
go vet ./version/... pass (exit 0)
python3 -B -m unittest discover -s scripts/release -p test_release.py 12 tests pass (exit 0)
python3 -B -m unittest discover -s scripts/tests -p test_docker_metadata.py 16 tests pass (exit 0)

Not verified:

Breaking changes

Yes; see the Breaking Changes and Migration Notes of the 2.0.0 section in CHANGELOG.md, and UPGRADING.md. In short:

  • Consensus version 2 needs every node on 2.0.0 before activation.
  • ABCI applications must accept the commit-level VerifyVoteExtension call.
  • RPC responses change for broadcast_tx, broadcast_tx_sync, broadcast_tx_commit and broadcast_evidence.
  • Invalid [p2p] settings and the removed psql indexer prevent startup.
  • Supervisors need a termination grace period longer than 30s.

Merge strategy: RELEASES.md asks the promotion to preserve ancestry. The Master ruleset (id 501275) requires linear history, and the release branch contains 3 merge commits, so a merge commit or a fast-forward is blocked. A squash or rebase merge would not keep dev commits as ancestors of master. Maintainers must reconcile this before the merge; this PR does not bypass or change the protection.

Prior work

Attribution

Release analysis and preparation by Claude Code, reviewed by the release owner.

🤖 Co-authored by Claudius the Magnificent AI Agent

🤖 Generated with Claude Code

shumkov and others added 30 commits September 23, 2026 20:26
Wait for remaining node goroutines before removing temporary files and
use an ephemeral P2P port in the first-commit startup regression test.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-authored-by: Codex <[email protected]>
* ci: run Claudius review only after tests.yml is green

Add a wait-for-tests gate job that polls the Test workflow run for the
PR head SHA. The review job runs only when tests concluded successfully;
failed/cancelled tests skip the review, a timeout fails the gate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: harden wait-for-tests gate per review

- Surface skipped review via ::warning:: and step summary
- Scope run lookup to the PR head branch
- Fail fast if no tests.yml run appears within 15 min
- Retry transient gh run list failures instead of aborting

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: let claudius-review label trigger review on draft PRs

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: ignore draft status for Claudius review triggers

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
* ci: cancel stale Claudius review runs on new push

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: simplify review concurrency to one group per PR

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: trigger Claudius review only on push or claudius-review label

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v2.13.2...v2.14.0)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
  dependency-version: 2.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Mint a repository-scoped App token after the test gate and restrict the
workflow token to read-only contents. Pin the review action to include
trusted review identification and required App-token validation from
lklimek/claudius-review-action#19 and #20. Document repository setup.

Port dashpay/dash-evo-tool#1037 while retaining Tenderdash's concurrency
control across the test gate and review.

Co-Authored-By: Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>
…omodguard_v2 (#1524)

CI floated on v2.13 while go.mod required v2.14.0, so formatter output
differed between CI and local runs. Pin the exact version in the workflow
and Makefile, and move the deprecated gomodguard config to gomodguard_v2.


Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

Co-authored-by: Claude Opus 5.5 <[email protected]>
#1520)

* test: reproduce commit extension and proposer validation gaps

Add intentionally failing tests for stripped and duplicated commit extensions,
RAW extension context binding, a known but incorrect header proposer, and
repeated proposer capture through stored block metadata.

Keep production behavior unchanged pending remediation. The RAW signing test
is a diagnostic probe, not a requirement to break Core-compatible signatures.

Co-Authored-By: Codex <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* fix: verify commit vote extensions before persistence

Validate the complete threshold vote-extension vector through ABCI after ProcessProposal and before storing or finalizing blocks across consensus, block sync, and replay paths.

Co-Authored-By: OpenAI GPT-5 <[email protected]>

* test: separate proposer regressions from commit extension fix

Keep the unrelated red proposer tests on test/proposer-header-regressions.
PR #1509 now contains only the commit extension fix and its regression tests.

Co-Authored-By: Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* test(blocksync): assert commit extensions are verified before SaveBlock

Replace the pasted permissive VerifyVoteExtension stubs with a shared
acceptCommitExtensions helper. Given SaveBlock expectations, it makes each
wait for the commit-vector check, so moving the check after persistence
fails the applier tests instead of passing silently.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(consensus): recover the height after commit extensions are rejected

A commit whose extensions the application REJECTs used to strand its
height: peers that sent a commit while the rejected one was parked mark
this node as holding one and never resend, and forcing the step back to
Precommit made every queued timeout a no-op.

- TryAddCommit keeps commits that arrive while another is parked as
  unverified replacement candidates: one slot per peer, capped at 32,
  discarded on height change, retried in arrival order (so WAL replay is
  deterministic).
- After a REJECT, ApplyCommit tries those candidates through the normal
  TryAddCommit verification, then the node's own +2/3 precommits for the
  block, and failing both schedules a precommit-wait timeout so the node
  moves to the next round, which makes peers gossip their commits again.
  Recovery is iterative; a rejected commit is never relayed.
- tryFinalizeCommit returns the ApplyCommit error instead of dropping it.
- The ApplyCommit step transition shared with EnterCommit becomes
  StateData.enterApplyCommit; a peer's rejected commit no longer rewrites
  the round's step.

Tests pin the Marvin stall scenario, the own-quorum fallback, the real
tryFinalizeCommit path, the round-change fallback, replay, no relay of
rejected commits, and the previously surviving mutants M8/M9/M10.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(abci): document commit verification in VerifyVoteExtension

The proto (source of truth, regenerated: types.pb.go and api.md change in
comments only) and the ABCI++ spec pages now describe both kinds of
request: an empty validator_pro_tx_hash verifies a commit's
threshold-recoverable extension vector after ProcessProposal, which the
application must compare exactly. REJECT semantics are spelled out per
path (consensus replacement or round change, block sync peer drop and
refetch, replay start-up failure), the request table gains the missing
round field and correct field numbers, and the expected-behavior call
counts, grammar and trivial-app rule include the commit call.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(consensus): synchronize committed state reads in block executor

Use the locked state snapshot for proposal creation and processing. Add a
regression test exercising both paths during concurrent state updates.

Co-Authored-By: OpenAI Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* fix(p2p): avoid holding PEX lock while querying peer manager

Read peer capacity before locking PEX so peer updates can drain while
PeerManager.Ready holds its mutex during broadcast. Reproduce the blocked
update path in a concurrency regression test.

Co-Authored-By: OpenAI Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* fix(ci): authenticate GitHub requests when installing buf

Pass the workflow token to buf-setup-action to avoid anonymous API rate
limits preventing protobuf lint from starting.

Co-Authored-By: OpenAI Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* fix(consensus): harden rejected commit recovery

Advance rounds directly after application rejection, avoid blaming the block-part peer, and expose rejection metrics across consensus and block sync.

Co-Authored-By: OpenAI Codex GPT-5 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* fix: retain processed proposals when retrying rejected commits

Generate e2e vote extensions for the requested initial height. Retain block-sync
ProcessProposal output across semantic rejection and keep the downloaded block
and processed context during consensus round fallback. Sequence discard/save
before recovery and clarify the upgrade and historical replay requirements.

Add initial-height, retry, cache-invalidation and round-retention regressions.

Co-Authored-By: Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* refactor: retain processed blocks within round entry

Make KeepProcessedBlock preserve both the block and its ProcessProposal result
inside EnterNewRoundAction, removing caller-side restoration. Cover direct
round entry and rejection recovery with automatic proposing enabled for both
proposer roles. Remove ineffective fixture configuration and document why
replaying unchecked historical extensions intentionally stops on rejection.

Co-Authored-By: Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* fix: avoid competing proposals during commit recovery

Keep the propose timeout while suppressing proposal creation for a retained
committed block. Include height, round and hash in commit extension errors
on every verification path. Cover queued future-round recovery with a test.

Co-Authored-By: Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* docs: mark commit verification upgrade requirements unreleased

Co-Authored-By: Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* fix: suppress competing proposals for held committed blocks

Release queued candidates after accepting a height. Clarify rollback and
startup replay behavior, and remove unreachable rejection log classification.

Co-Authored-By: Codex GPT-6 <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* fix(consensus): recover rejected commits without changing rounds

A peer resending an authentic commit with stripped extensions made the
node advance one round per rejection, retaining vote sets and growing
timeouts without bound. Recovery no longer changes the round; instead no
honest commit can be lost, so re-gossip is unnecessary:

- commit candidates keep one slot per connected peer (no fixed cap);
  disconnected peers' slots are freed on the next add, using the peer
  lanes' live sessions; replayed and local entries are exempt
- queued commits prepay their verification in their own scheduler turn,
  and recovery retries them uncharged, so recovery never spends budget
  out of turn and cannot starve the message the scheduler reserved for
- a commit that still fails for want of budget is retained in its
  sender's slot for the next recovery (prepaid retries never re-queue)
- remove KeepProcessedBlock / SkipProposalCreation; keep the EnterPropose
  skip for a held committed block, needed by the future-round commit path

Docs describe the remaining stall: with no pending timeout, progress
waits for a commit from a peer that has not sent one or reconnects.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* refactor(consensus): verify commit extensions before a commit is taken

Ask the application to accept a commit's extension vector in TryAddCommit,
right after the held block is processed, so a rejection is an ordinary
verification error: nothing is saved, parked or recovered, the round stays,
and the sender is not evicted. ApplyCommit, AddCommit, EnterCommit,
EnterPropose and StateData return to their v1.8-dev shape.

- A future-round commit whose block is held is checked before its round is
  entered, so a rejection changes no round.
- Commits arriving while one is parked awaiting its block are authenticated
  on arrival (threshold signature, charged in-turn) and kept one slot per
  connected peer. When the block completes, the parked commit and then the
  queued ones are checked in order; the first accepted is applied. If all
  are rejected the block takes the ordinary path, which lets a held +2/3
  precommit quorum finish the height.
- The commit built from the node's own precommits is checked in
  tryFinalizeCommit; a rejection logs an error and persists nothing.

Drops the recovery loop, Prepaid budget flag, budget-exhausted retention,
ApplyCommitEvent.Rejected/FromOwnPrecommits and the proposer skip, and
consolidates the recovery and queue tests into commit_extensions_test.go.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(abci): regenerate api.md from proto

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(consensus): try parked commits a round at a time

Commits for the same block may differ only in round, and the held block is
processed once per round. Trying queued candidates in raw arrival order could
switch back to a round already processed, re-running ProcessProposal for the
same height and round, which apps such as kvstore reject as a duplicate call,
so an honest commit could fail on a processing error.

selectParkedCommit now groups candidates by round: the round already
processed for the held block first, then each other round in order of first
appearance, keeping arrival order within a round.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* refactor(blocksync): reuse ProcessProposal result by header and round

Replace the processedBlock/processedRound cache key with the same check
consensus' ensureProcess uses: a ProcessProposal-sourced
CurrentRoundState that MatchesBlock(header, round). The commit is
authenticated for the block before processing, so the header identifies
it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(kvstore): allow re-processing a round after another round

Drive keeps one execution context per height and re-executes a round when
ProcessProposal comes back to it after another round. The reference app
rejected any second ProcessProposal for a round at a height, which is
stricter than Drive and turned a legitimate re-process into a node panic.
Duplicate detection now errors only on consecutive calls for the same
round. A replaced round state is closed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(consensus): drop repeated commits and reuse extension verdicts

A commit equal to the parked one or a queued one (same height, round,
BlockID and extension vector) is now dropped before its threshold signature
is verified and takes no candidate slot. The application's verdict on a
commit extension vector is kept for the height (at most 64 entries), and a
vector it already rejected is refused before the block is processed again,
so an alternating flood of rejected commits cannot re-execute the block per
message. Only ACCEPT/REJECT verdicts are cached.

Adds regression tests for the own-quorum fallback after commits rejected at
two rounds (with an app that refuses only an immediate repeat, like kvstore)
and for block sync processing a round again after another one. Documents
that CurrentRoundState must match the application's latest ProcessProposal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(abci): align commit-extension docs with the code

- UPGRADING, spec and proto: a future-round commit whose block is not held
  still moves the round; UNKNOWN counts as REJECT; handshake catch-up is
  named apart from WAL replay; ProcessProposal may be called again for a
  round after another one; FinalizeBlock needs a prior commit check; add
  "before you upgrade" guidance, the metric and the own-commit log line;
  list THRESHOLD_RECOVER_RAW. Regenerate types.pb.go and api.md.
- CommitVerifyFailures help text covers own and block-sync commits; the
  metric is listed in docs/nodes/metrics.md.
- Handshake catch-up gives the same rollback hint whether the rejected
  block is replayed or applied by syncStateAt.
- Block sync labels the metric through the exported
  consensus.CommitVerifyFailureReason instead of a literal.
- Refresh stale comments in TryAddCommit, TryFinalizeCommit,
  selectParkedCommit, ApplyBlock and FinalizeBlock.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(consensus): do not propose over a held future-round commit

A future-round commit whose block is held is verified, which runs
ProcessProposal for the commit's round, before the node enters that round.
If the node proposed that round, EnterPropose then replaced the processed
result with a PrepareProposal one, and applying the commit had to run
ProcessProposal for the same round again: an application that refuses an
immediate repeat (kvstore) failed it and mustEnsureProcess panicked, and
Drive would lose its execution context for the round.

EnterPropose now skips proposal creation while a commit for a held block
is about to be applied, as a non-proposer would.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(consensus): explain the held future-commit rollback

Document why clearing stateData.Commit is the whole rollback when a
held future-round commit is rejected: the retarget done beforehand
keeps a held block, and can only drop a Proposal differing in state ID,
which the block check rejects anyway.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* fix(consensus): dedup queued commits only within the sender's own slot

A commit equal to one another peer had queued was dropped, so the authentic
commit could live only in an attacker's slot: the attacker parks a stripped
commit, queues the authentic one, then replaces its slot or disconnects and
the authentic commit is gone, stalling the height. A copy is now skipped only
when it equals the parked commit, which is always tried and cannot be
displaced, or the commit the same sender already queued. A copy of another
peer's commit is verified, charged to its sender and takes its own slot; the
verdict cache still keeps the application from judging a vector twice.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(kvstore): re-execute a repeated ProcessProposal for the same block

Block sync can process a block, have the commit's extensions rejected and
hand over to consensus, which starts without that result and processes the
same block for the same round again. kvstore refused any immediate repeat of
a round, so the authentic commit could not be applied. Drive v4.1.1 drops its
context and re-executes on a repeat with the same block hash and errors only
for the same round with a different hash; kvstore, and so the e2e app, now
do the same, closing the replaced round state.

Document the contract on RequestProcessProposal (regenerated types.pb.go and
api.md), in the ABCI++ methods spec, UPGRADING and at ensureProcess; model
it in the consensus and block sync test executors. UPGRADING also describes
the per-sender commit dedup.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(consensus): state why copies of the parked commit are skipped

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(consensus): bound commit-forced re-execution with ExtendVote expectations

A commit's extension list shape is signed by nothing beyond each entry's
own signature: order, count and duplication, a THRESHOLD_RECOVER entry's
sign request ID, and any app-supplied sign request ID (bound to no height
or round) can all vary under one genuine block signature. The 64-entry
verdict cache could therefore be outrun: a peer alternating fresh vectors
of two genuine rounds made the held block run ProcessProposal on every
delivery.

Replace the cache with per-height expectations keyed by (block, round),
learned from the application's ExtendVote after the first rejection at
that block and round (read-only; no ExtendVote on the happy path). A
commit that would need its block processed again for its round is refused,
without ProcessProposal or an ABCI call, when its vector differs from the
expected one or is the expected one and was rejected. Commits of the round
processed last still go to VerifyVoteExtension. Forced ProcessProposals per
height are bounded by 2*G plus the finalizing one, G being the foreign
rounds holding a block-signature-valid commit for the held block,
independent of peers and vectors.

Restore the application to the node's own round before verifying a peer
precommit's extensions and before ExtendVote on the relock path: a rejected
foreign-round commit left it on another round, where Drive fails
ExtendVote and Tenderdash panics.

Log sm.ErrCommitExtensionsRejected from peer commits at debug
(isPeerFloodableError); the rejection of the node's own commit stays at
Error.

Document the ExtendVote contract (side-effect free, returns exactly the
vector commit-level VerifyVoteExtension accepts, may run on any node) in
the ABCI spec, proto and UPGRADING.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* test(consensus): assert commit checks run in the commit round's context

The commit-checking executor now fails a commit-level VerifyVoteExtension
unless the application last processed the commit's block for its round, and
a FinalizeBlock whose round state or last ProcessProposal is for another
round. TestForeignRoundCommitsCannotForceReprocessing gets an ample
verification budget: it sends more commits than the rate-limited budget
admits on a slow run, and what it tests is the expectations bound.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* refactor(consensus): reuse processedFor for the round processed last

selectParkedCommit and ensureOwnRound restated processedFor's condition.
Also name the quorum hash among what commits with equal keys may differ in.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* docs(abci): refuse by expectation only commits needing re-processing

A commit of the round processed last still goes to the application, whatever
its vector; say so where the ExtendVote expectation is documented.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* perf(consensus): check the cheap conditions first in ensureOwnRound

It runs for every peer precommit; the block is hashed only once another round
was processed last.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* style(rpc): apply Go 1.27 gofmt to mempool.go

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* Revert "style(rpc): apply Go 1.27 gofmt to mempool.go"

The gofmt run by golangci-lint in CI rejects the reindented block, so
restore the v1.8-dev formatting.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* fix(consensus): forget the processed round when ProcessProposal fails

A failed ProcessProposal left CurrentRoundState naming the round processed
before, while the application (Drive) may already have dropped that context.
A later commit for that round then skipped ProcessProposal, and a rejected
vector sent the node to ExtendVote on a missing context, which panics. The
stale state also made ensureOwnRound retry ProcessProposal for every resent
peer precommit.

ensureProcess now clears CurrentRoundState on failure, and
verifyCommitExtensions asks ExtendVote only while the block is known to be
processed for the commit's round.

The foreign-round flood test now interleaves peer precommits and pins the
exact ProcessProposal sequence, 2·G, in place of a bound that could not fail.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* docs(abci): state when ExtendVote serves as the commit oracle

ExtendVote is asked for a commit's expected vector only after a commit-level
VerifyVoteExtension rejection that follows ProcessProposal of that block and
round, and an invalid response is as fatal as an ABCI error. Say so in the
proto, api.md, the methods spec and UPGRADING, including the "When does
Tenderdash call it?" section, and stop calling the extension uninterpreted.

Restore the non-determinism allowance for extensions that are not
threshold-recoverable, consistently with the application requirements.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

* docs(consensus): state why a cleared round state is safe to leave

Every reader of CurrentRoundState's fields runs right after a successful
ensureProcess. After a failure, ensureOwnRound lets a peer precommit reach
VerifyVoteExtension without a known context. That is not fatal, and Drive
checks only the height and rejects without an execution context.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Kr5SvZoMmosbQdRrMX1p51

---------

Co-authored-by: OpenAI GPT-5 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
…#1529)

Restructure the pull request template to lead with a plain-language
summary (TL;DR, user story, scenario) before the technical detailed
discussion. Drop the checklist section.

Co-authored-by: Claude Opus 5.5 <[email protected]>
The caller pinned the shared engine to one commit, so every engine fix
needed a re-pin here before it took effect. The engine is now named by
`master` of dashpay/stale_prs_are_bad — the protected branch the review
policy is already read from — and the reusable workflow still requires
the commit it runs to be merged there (dashpay/stale_prs_are_bad#73).

Co-authored-by: Claude Opus 5.5 <[email protected]>
…actions (#1530)

* feat(mempool)!: return cached CheckTx rejection for resubmitted txs

With keep-invalid-txs-in-cache enabled, a rejected transaction stays in the
mempool cache, so resubmitting it over RPC returned "tx already exists in
cache" and hid the reason it was rejected.

The cache now keeps the rejecting CheckTx response (code, codespace, info,
data; at most 2048 bytes per entry) next to the transaction hash. A local
caller that resubmits such a transaction gets that response back instead of
ErrTxInCache. Peers, accepted transactions and committed transactions still
get ErrTxInCache.

BREAKING CHANGE: broadcast_tx, broadcast_tx_sync and broadcast_tx_commit
return the original CheckTx rejection instead of the "Tx already exists in
cache" error when a previously rejected transaction is resubmitted and
keep-invalid-txs-in-cache is true.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(mempool): keep stale CheckTx rejections out of the cache

A CheckTx that the application rejected could record its rejection after
Update had already committed the same transaction, because no lock is held
between the ABCI call and addNewTransaction. The cache now marks committed
entries and ignores rejections for them.

A peer without a reserved mempool ID has SenderID 0, the same as a local
caller, so it took the replay path. Local callers are now also required to
have an empty SenderNodeID.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(mempool): do not replay a rejection for a pending transaction

A pending transaction can lose its cache entry to LRU eviction, get checked
again on resubmission and be rejected, while the original stays in the
mempool. A later local submission then replayed that rejection. A
transaction found in the mempool now always returns ErrTxInCache.

Also document the RPC behavior change in UPGRADING.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Lukasz Klimek <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Align Go pins across CI, the BLS action, Dockerfiles and documentation,
including the vet workflow left on Go 1.26.6.

Pin golangci-lint v2.15.0 in CI, Makefile and go.mod, and update its
required module graph. Upgrade govulncheck to v1.9.0.

Upgrade both mockery pins to v3.8.1 for Go 1.27.2 export-data support
and regenerate mocks. The generated changes only mark mock constructors
and cleanup callbacks as test helpers; protobuf output is unchanged.

Validation: build, lint, vet, vulncheck, mock/protobuf generation and
selected race tests pass. One initial wall-clock load assertion failed;
the consensus package passes on retry and the isolated load test passes
10/10 runs on both Go 1.27.1 and Go 1.27.2.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-authored-by: Codex GPT-6 <[email protected]>
Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 8.7.0 to 9.0.0.
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md)
- [Commits](super-linter/super-linter@4ce2083...2da1369)

---
updated-dependencies:
- dependency-name: super-linter/super-linter
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update Prometheus common with parser/JSON improvements and request-header isolation. Upstream source, registry checksums and release notes audited; refreshed CI, diagnostic test retry and PR Hygiene passed.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>
Bumps [github.com/oasisprotocol/oasis-core/go](https://github.com/oasisprotocol/oasis-core) from 0.2601.0 to 0.2603.0.
- [Release notes](https://github.com/oasisprotocol/oasis-core/releases)
- [Changelog](https://github.com/oasisprotocol/oasis-core/blob/master/CHANGELOG.md)
- [Commits](oasisprotocol/oasis-core@go/v0.2601.0...go/v0.2603.0)

---
updated-dependencies:
- dependency-name: github.com/oasisprotocol/oasis-core/go
  dependency-version: 0.2602.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update the transitive test dependency to fix CVE-2026-61801 and numeric identity validation. Upstream production changes, tags, registry origins and checksums audited; refreshed CI and PR Hygiene passed with owner approval.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1539)

Bumps [github.com/fxamacker/cbor/v2](https://github.com/fxamacker/cbor) from 2.9.4 to 2.9.6.
- [Release notes](https://github.com/fxamacker/cbor/releases)
- [Commits](fxamacker/cbor@v2.9.4...v2.9.6)

---
updated-dependencies:
- dependency-name: github.com/fxamacker/cbor/v2
  dependency-version: 2.9.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(consensus): validate fresh block proposer before prevoting

Reject fresh proposals whose header names a validator other than the
scheduled round proposer before ProcessProposal. Preserve reproposals
with their original header and existing POL vote checks.

Cover predecessor capture, later rounds and valid or invalid POLs;
correct existing fixtures to use the proposing validator's identity.

Co-Authored-By: OpenAI Codex <[email protected]>

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

* ci: upload encrypted Claudius review transcripts

Co-Authored-By: Codex <[email protected]>

---------

Co-authored-by: Codex <[email protected]>
…#1557)

Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
- [Commits](actions/create-github-app-token@bcd2ba4...64ab729)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Claudius-Maginificent and others added 16 commits November 17, 2026 16:33
…ossip (#1625)

* fix(p2p): isolate congested peers from consensus state routing

Drop state-channel messages when a peer queue is full, count the drop,
and complete delivery notifications. A slow peer must not hold up the
round-state updates other peers need to send proposals and votes.

State messages are retried or advisory; preserve blocking enqueue for
other channels whose messages may not be retried. Keep periodic round
state refresh intact to recover announcements dropped during congestion.

Cover full-queue unicast and broadcast, recovery after draining, drop
accounting, and unchanged data/PEX backpressure.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Codex (gpt-6-astra) <[email protected]>

* fix(p2p): log state messages dropped for a closed peer queue

Match the debug log the blocking enqueue path emits when the peer queue
is closed.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* refactor(p2p): configure drop-on-full peer queues per channel descriptor

Replace the hardcoded consensus state channel check in routeChannel with a
DropOnFullPeerQueue channel descriptor option, enabled for the state
channel.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(p2p): describe closed-queue drops for DropOnFullPeerQueue

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Lukasz Klimek <[email protected]>
Co-authored-by: Codex (gpt-6-astra) <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Bump TMVersionDefault and the OpenAPI version to 2.0.0-dev.3 and add
its CHANGELOG section. ABCI 1.5.0, P2P protocol 11 and block protocol
14 are unchanged.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-authored-by: Lukasz Klimek <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
…1629)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.73.1 to 0.74.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](prometheus/common@v0.73.1...v0.74.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.74.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [bufbuild/buf-action](https://github.com/bufbuild/buf-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/bufbuild/buf-action/releases)
- [Changelog](https://github.com/bufbuild/buf-action/blob/main/RELEASE.md)
- [Commits](bufbuild/buf-action@v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-action
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/github-script](https://github.com/actions/github-script) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v8...3a2844b)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.58.0 to 0.59.0.
- [Commits](golang/crypto@v0.58.0...v0.59.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.59.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1626)

Keep the wall-clock budget and seed every attacker lane before consensus.
Lead each lane with a maximum-cost precommit carrying a well-formed invalid
signature, then sustain the existing prevote flood. Count real token-wait
timers before honest votes instead of requiring wall-time utilization.
Preserve the rate, work ceiling, and progress deadlines.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-authored-by: Lukasz Klimek <[email protected]>
Co-authored-by: Codex (gpt-6-astra) <[email protected]>
…ect (#1623)

* fix(rpc): stop resubscribing subscription IDs as queries after reconnect

wsEvents stored each event's subscription ID as an extra key in its
subscription map, and resubscribed every key on reconnect except one
equal to the subscription's latest ID. Tenderdash sends events without a
subscription ID, so the empty key was resubscribed as a query: the node
rejected it, and each rejection made the event loop resubscribe again a
second later, stalling event delivery. Upstreams sending fresh IDs per
session leaked one key per reconnect, resubscribed the same way.

Nothing looks subscriptions up by ID, so drop the ID keys; the alias
write was also the event loop's only map write under a read lock.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(rpc): join the client and event bus the reconnect test starts

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(rpc): finish query-only subscription cleanup

Remove the unused subscription query field and avoid FailNow in the
reconnect test's cleanup goroutine.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Codex GPT-6 <[email protected]>

---------

Co-authored-by: Lukasz Klimek <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Codex GPT-6 <[email protected]>
The shared PR Hygiene workflow now posts each run's verdicts to the
dashboard service at pr-hygiene.services.dash.org, signed with the job's
GitHub OIDC token. A job can mint that token only when its caller grants
id-token: write. Nothing else changes: the review gate runs as before, and
without the token the post only warns.

Co-authored-by: Claude Opus 5.5 <[email protected]>
* ci: gate govulncheck on an allowlist and accept GO-2026-6278

govulncheck has no way to suppress a finding. `make vulncheck` now runs
it with `-format json` and fails only for vulnerabilities the code calls
that .github/govulncheck-allowlist.txt does not justify; allowed findings
print a warning and stale entries a notice.

Allow GO-2026-6278 (gorilla/websocket weak PRNG for client frame mask
keys): masking carries no confidentiality, only the WebSocket client
masks, and the fix exists only as an untagged master pseudo-version.

Also bump govulncheck to v1.10.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: harden the govulncheck gate and run its tests in CI

- Fail unless govulncheck reports a symbol-level scan, and on findings
  without a trace, instead of passing them silently.
- Reject allowlist entries with a malformed OSV ID or listed twice;
  split entries on any whitespace.
- Report vulnerabilities in imported or required but uncalled code.
- Treat a scanner killed by a signal as a failure.
- Follow the scripts/ layout: govulncheck-gate.py with its tests in
  scripts/tests, run by the Vulnerability Scan workflow.
- Correct the GO-2026-6278 justification: v1.5.1 and v1.5.2 are
  unaffected, but dependencies pin v1.5.3.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: call a stale govulncheck allowlist entry no longer called

A listed vulnerability that is still imported but no longer called got
'no longer reported' next to the uncalled summary that lists it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: pin govulncheck allowlist entries to a module version

An allowlist entry now names the module version its assessment covers
(<OSV ID> <module>@<version> <justification>), so a dependency change to
another affected release of the same advisory fails the gate instead of
inheriting the old exception. The gate also requires a source-mode scan
with SBOM roots, so output that analysed no packages (e.g. query mode)
cannot pass as a clean scan. The GO-2026-6278 justification states that
ChaCha8 is the default generator, not an unconditional guarantee.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: point a moved govulncheck allowlist entry at its new version

When an allowlisted advisory is called only at another module version, the
gate's notice asks to re-assess and update the entry instead of removing
it. A frame without a module or version blocks with a readable name
instead of a traceback. The allowlist header says replaced modules are
named by their replacement and the standard library as stdlib@<Go version>.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test: stabilize consensus progress under sustained load

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

* ci: ask to re-assess an allowlist entry only for blocked versions

The re-assess notice for an unused allowlist entry listed every called
version of the advisory, including one another entry already accepts;
following it would duplicate that entry. It now lists only blocked
versions, so an entry unused beside an accepted version gets the plain
"no longer called" notice. The allowlist header shows the exact stdlib
form ([email protected]), not the go1.27.4 spelling of `go version`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Revert "test: stabilize consensus progress under sustained load"

This reverts commit 12a300e, which is
outside the scope of this PR (the govulncheck allowlist gate).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Lukasz Klimek <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
…#1636)

Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
- [Commits](actions/create-github-app-token@64ab729...f418cff)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/oasisprotocol/oasis-core/go](https://github.com/oasisprotocol/oasis-core) from 0.2604.0 to 0.2605.0.
- [Release notes](https://github.com/oasisprotocol/oasis-core/releases)
- [Changelog](https://github.com/oasisprotocol/oasis-core/blob/master/CHANGELOG.md)
- [Commits](oasisprotocol/oasis-core@go/v0.2604.0...go/v0.2605.0)

---
updated-dependencies:
- dependency-name: github.com/oasisprotocol/oasis-core/go
  dependency-version: 0.2605.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.62.0 to 0.63.0.
- [Commits](golang/net@v0.62.0...v0.63.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.63.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Set TMVersionDefault and the OpenAPI version to 2.0.0 and add the
CHANGELOG section for the aggregate change since v1.8.2 (dd596db).

Protocol counters stay as the 2.0.0-dev series set them: ABCI 1.5.0,
P2P protocol 11, block protocol 14. The 12 commits after 2.0.0-dev.3
change no RPC, ABCI, P2P/consensus or block-format contract.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@lklimek lklimek added this to the v2.0 milestone Nov 26, 2026
@thepastaclaw

thepastaclaw commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Final review complete — no blockers (commit 08b2d80) · triage: critical

lklimek and others added 2 commits November 26, 2026 11:49
Apply the release review of the 2.0.0 section; older sections are
unchanged.

- UPGRADING.md covers selected changes only; Breaking Changes and
  Migration Notes are the complete list.
- consensus_commit_verify_failures already existed in 1.8.2; #1520 adds
  a reason value and two counted paths.
- golangci-lint was already v2.15.0 in 1.8.2, so only the gomodguard_v2
  migration remains of #1524, and #1522 has no net change.
- Name the three broadcast methods #1530 changes; broadcast_tx_async is
  not one of them.
- Add the ABCI Echo probe of consensus version 2 proposers and the
  hashed proposer liveness timeouts.
- Cite the backport #1566 next to #1551, and say that a DEFAULT vote
  extension from ExtendVote makes the node panic.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Drive, the only ABCI application, handles the commit-level
VerifyVoteExtension call (#1520) from 5.1.0-rc.1. The version handshake
does not check it: an application built for ABCI 1.4 accepts 1.5.0.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@lklimek
lklimek marked this pull request as ready for review November 26, 2026 12:03

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Final validation — Phase 1 + Phase 2

This head adds a release note explaining why Tenderdash 2.0.0 keeps ABCI at 1.5.0 and why the version handshake does not verify support for commit-level vote extensions. The build, lint, both end-to-end checks, and test shards 01–05 passed. The required tests (00) shard failed after TestReactorValidatorSetChanges hit its two-minute deadline, the same failure recorded on dev before the release commits in Actions run 45666888646.

💬 1 nitpick(s)

Approved: nothing here blocks the merge. The non-blocking findings are optional: fix them forward, in this PR or a follow-up, without waiting for another review round.

1 finding(s) not shown inline (GitHub refused the PR diff as too large)

💬 Nitpick: The ABCI compatibility note presents Drive as the only ABCI application
Impact: Operators evaluating another ABCI application get an inaccurate account of which deployments the decision to keep ABCI 1.5.0 covers.
CHANGELOG.md:36

Drive’s support explains the version decision for Dash Platform, not whether every ABCI application is compatible. internal/proxy/client.go also exposes kvstore and e2e as ABCI applications, and test/e2e/app/app.go explicitly handles commit-level verification. Describe Drive as Dash Platform’s production ABCI application and retain the warning that passing the version handshake does not establish commit-level support.

source: gpt-6.2-astra (phase2-reviewer: general, tenderdash-consensus-security)

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-astra (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.2-astra (agent: phase2-reviewer, role: tenderdash-consensus-security); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: critical by gpt-6.2-sol (effort low) — The full diff against master is large and changes consensus rules in internal/consensus/proposer_liveness.go, where roundSkipping gates certificate-backed skipping of silent proposers’ rounds under consensus version 2.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (antigravity quota lookup failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Single stage: Phase 1 and Phase 2 reviewed this head side by side, with no blocker gate between them (triage tier)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-astra — general (completed, effort high); agent phase2-reviewer, gpt-6.2-astra — tenderdash-consensus-security (completed, effort high); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `CHANGELOG.md`:
- [NITPICK] CHANGELOG.md:36: The ABCI compatibility note presents Drive as the only ABCI application
  Impact: Operators evaluating another ABCI application get an inaccurate account of which deployments the decision to keep ABCI 1.5.0 covers.
  Drive’s support explains the version decision for Dash Platform, not whether every ABCI application is compatible. `internal/proxy/client.go` also exposes `kvstore` and `e2e` as ABCI applications, and `test/e2e/app/app.go` explicitly handles commit-level verification. Describe Drive as Dash Platform’s production ABCI application and retain the warning that passing the version handshake does not establish commit-level support.

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

CI failed after approval — commit 08b2d80

The standing review approved this commit; this follow-up moves the verdict to COMMENT: checks that failed after the review look related to this change.

Failing checks:

Why they look related: TestReactorValidatorSetChanges timed out waiting for blocks while validators repeatedly precommitted nil at height 12, a consensus progress failure plausibly affected by the proposer-liveness and round-skipping changes in the diff against master. The same failure on dev predates the release-only commits, but those consensus changes are still part of this PR.

Nothing was re-reviewed: the findings of the standing review are unchanged. The next push gets a full review; a re-run that passes does not restore the approval.

Review provenance

Source: CI-check lane gpt-6.2-sol (agent: triage); no reviewer or verifier lanes ran for this follow-up

  • Verdict moved because CI failed on this commit after the review; failure logs read: 1 GitHub Actions job(s)

@lklimek
lklimek merged commit 0b5069b into master Nov 26, 2026
59 of 64 checks passed
@lklimek
lklimek deleted the release_2.0.0 branch November 26, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants