Skip to content

feat(abci)!: add the ApplyBlockRandomness method and commit beacon fields - #1582

Open
QuantumExplorer wants to merge 28 commits into
devfrom
feat/abci-apply-block-randomness
Open

QuantumExplorer wants to merge 28 commits into
devfrom
feat/abci-apply-block-randomness

Conversation

@QuantumExplorer

@QuantumExplorer QuantumExplorer commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Basic explanation

Dash Platform wants fair same-block randomness for games: a card's rarity or a token payout that nobody can predict or pick, set in the block that asks for it. The random value comes from the validators: when enough of them prevote for a block, their BLS signature shares combine into one threshold signature that nobody could compute in advance. That signature is the random beacon.

This PR adds the ABCI method that hands the beacon to the application, and the commit fields that will carry it. Nothing calls the method yet; a follow-up PR switches it on at consensus version 3.

Before, the application had no way to learn the beacon, and a commit carried only its threshold signature:

Commit { height, round, block_id, quorum_hash, threshold_block_signature, threshold_vote_extensions }

After, there is a new call, and commits have room for the beacon and the app hash the precommits sign:

ApplyBlockRandomness { hash, height, round, beacon }  ->  { app_hash }
Commit { ..., beacon, app_hash }
CommitInfo { ..., beacon, app_hash }   (passed to FinalizeBlock)

TL;DR: Add the ApplyBlockRandomness ABCI method and beacon/app_hash fields on commits. Nothing calls the method yet, and nodes keep both fields empty before consensus version 3.

User story

As a Dash Platform developer, I want Tenderdash to give Drive a random beacon for each block, so that game contracts can get unpredictable values in the same block that requests them.

Scenario

Base flow

A Platform contract declares a random property. A user creates a document; the block runs it with a placeholder. Once the prevotes for the block reach the threshold, the beacon exists, and Drive should replace the placeholder with a value derived from it before the precommits sign the final state.

Actual behavior

There is no ABCI call that carries a beacon to the application, and the commit has nowhere to record the beacon or the final app hash.

Expected behavior

The ABCI interface, clients and commit format can carry the beacon and the final app hash. The consensus change that uses them comes in the stacked follow-up PR.

Detailed discussion

What was done

  • proto: RequestApplyBlockRandomness {hash, height, round, beacon} and ResponseApplyBlockRandomness {app_hash}, added to the Request/Response oneofs and the ABCIApplication service; CommitInfo.beacon = 5 and CommitInfo.app_hash = 6; Commit.beacon = 7 and Commit.app_hash = 8. Regenerated Go code, mocks and spec/abci++/api.md; documented the method in spec/abci++/abci++_methods.md (and brought its stale CommitInfo table in line with the proto).
  • Go ABCI: Application.ApplyBlockRandomness; socket, gRPC, routed and local clients; socket server; proxy client with a timing metric (apply_block_randomness).
  • BaseApplication.ApplyBlockRandomness returns ErrApplyBlockRandomnessNotImplemented. Every other base method returns an empty response, but an empty app_hash must never pass as an answer.
  • kvstore example: returns, unchanged, the app hash that ProcessProposal left for the requested block hash at that height and round, and refuses a block it did not process there.
  • types.Commit: new Beacon and AppHash fields, carried through protobuf and ToCommitInfo (JSON omitempty, so RPC output is unchanged while they are empty). The new MaxCommitRandomnessBytes (132: 96+2 for the beacon and 32+2 for the app hash, including their protobuf tags) is what a commit grows by when it carries them; MaxCommitOverheadBytes is unchanged, so the mempool reserves nothing more until the follow-up adds it at consensus version 3.
  • Contract: the docs (proto, abci++_methods.md, the call grammar in abci++_tmint_expected_behavior.md) say that vote extensions and their verification must not depend on the beacon, that the randomness may change only the state behind the returned app hash (transaction results, events and validator set or consensus parameter updates stay those of ProcessProposal), that from consensus version 3 FinalizeBlock commits the candidate with the commit's beacon applied and its root must equal commit.app_hash, and that the method is called on every finalizing path, a validator's own commit included.
  • ABCISemVer 1.4.0 → 1.6.0, as RELEASES.md asks for an interface change. Dev's 2.0.0-dev.1 release already reports 1.5.0 without this method (for CONSENSUS_VERSION_2, feat(consensus)!: hand a silent proposer's idle round to the next proposer #1572), so this PR takes 1.6.0. Commit.String, StringIndented and the commit's log fields show the beacon and app hash.
  • Size bound on the new commit fields. Neither the commit hash nor its threshold signature covers beacon or app_hash, so a peer relaying a validly signed commit could fill them with any bytes. Commit.ValidateBasic now refuses a commit unless both are empty or exactly 96 and 32 bytes (ErrInvalidCommitRandomness), whatever the consensus version. Every path that accepts a commit on its own goes through it (block sync responses, consensus Commit messages, light blocks, stored commits), so a padded commit is refused before it is stored or passed on. A block's LastCommit is not refused for them, because releases before this one skip the fields as unknown and refusing the block would split upgraded nodes from them: BlockFromProto reads it without the malformed fields instead.
  • Tolerant block decoding. Releases before this one skip fields 7 and 8 of a commit whatever their wire type, while the generated decoder refuses a non-bytes encoding. types.UnmarshalBlockProto decodes as before and, only when that fails, drops those mistyped occurrences from the block's LastCommit and decodes again; it allocates nothing unless it drops a field, and then one buffer. Consensus part assembly and BlockStore.LoadBlock use it, so during a rolling upgrade an upgraded node decodes every block an older one commits. google.golang.org/protobuf becomes a direct dependency for its wire format writer.
  • Beacon and app hash stay empty before consensus version 3. A peer can add a correctly sized beacon and app hash to a validly signed commit it relays, and a proposer can put them in its block's LastCommit. Nodes drop both (Commit.WithoutRandomBeacon) where they adopt a commit (consensus Commit messages, block sync, state sync and its backfill), from the commit a proposal builds on (CreateProposalBlock, so older releases, which drop the fields when they decode a block and rebuild its parts, can still block sync it), and from the last commit PrepareProposal and ProcessProposal pass to the application. The follow-up keeps and verifies them from consensus version 3.
  • Docs: the Commit tables in spec/core/data_structures.md, spec/consensus/consensus.md and consensus-commit.md list the new fields and their rules; Requirement 10 in abci++_app_requirements.md, abci++_basic_concepts.md and the adapting-applications list cover ApplyBlockRandomness, which must not modify the committed state; the proto and spec say the commit signs app_hash only through its state ID; UPGRADING.md has an entry for the change, including routing the method with the routed ABCI transport.

Nothing calls the new method and honest nodes never set the new fields, so consensus behaviour is unchanged. The visible effects are that a commit with a wrongly sized beacon or app hash is refused, that a correctly sized one a peer or proposer adds is dropped instead of being stored or passed to the application, and that RequestInfo.abci_version is 1.6.0.

Before the size bound, a block sync peer could serve an honest commit with a 5 MiB beacon:

BlockResponse { block H, commit(H) with beacon = 5 MiB }  ->  signature verifies, commit stored, FinalizeBlock over gRPC fails, node crashes on every restart

After, the response is refused before anything is stored:

BlockResponseFromProto  ->  invalid commit beacon or app hash size: beacon of 5242880 bytes and app hash of 32 bytes, expected both empty or 96 and 32 bytes

Testing

Targeted tests on the touched packages:

go test -run 'TestCommitBeaconFields|TestMaxCommitBytes|TestCommit$|TestBlockMaxDataBytes|TestCommitValidateBasicRandomnessSizes|TestBlockFromProtoMalformedLastCommitRandomness|TestUnmarshalBlockProtoMistypedLastCommitRandomness' ./types/
go test -run 'TestBlockResponseRefusesPaddedCommitBeacon|TestBlockSyncDropsRelayedCommitRandomness' ./internal/blocksync/
go test -run TestCommitMessageRefusesMalformedRandomness ./internal/consensus/
go test -run TestLoadBlockMistypedLastCommitRandomness ./internal/store/
go test -run TestBaseApplicationApplyBlockRandomness ./abci/types/
go test -run 'TestApplyBlockRandomness|TestApplyBlockRandomnessEquivocation|TestClientServer|TestKVStore|TestProcessProposalRoundReprocessing' ./abci/example/...
go test -run 'TestRouting|TestRoutedClientGrpc' ./abci/client/
go test -run 'TestApplyBlockRandomnessMetrics|TestFailureMetrics' ./internal/proxy/
go test -run 'TestTxFilter|TestProposalDropsRelayedCommitRandomness' ./internal/state/
go test -run 'TestMaxProposalBlockSize|TestCreateProposalBlock' ./node/

TestClientServer now calls ApplyBlockRandomness over both the socket and the gRPC transports. Regression tests for the review fixes:

  • TestBlockResponseRefusesPaddedCommitBeacon: a block sync response whose signed commit has its beacon padded (25 MiB, 5 MiB) or an app hash without a beacon is refused with ErrInvalidCommitRandomness.
  • TestCommitMessageRefusesMalformedRandomness and TestCommitValidateBasicRandomnessSizes: the same for consensus Commit messages and every size combination.
  • TestBlockFromProtoMalformedLastCommitRandomness: a block whose LastCommit has malformed fields still decodes, without them, and keeps its hash.
  • TestUnmarshalBlockProtoMistypedLastCommitRandomness and TestLoadBlockMistypedLastCommitRandomness: blocks whose LastCommit carries field 7 or 8 as a varint, fixed32 or fixed64 decode (and load from the store) as an older release reads them; truncated bytes still fail.
  • TestCommitBeaconFields encodes and decodes Commit and CommitInfo on the wire and compares the whole structs; TestRouting and TestApplyBlockRandomnessMetrics cover the routed client and the proxy client's apply_block_randomness metric.
  • TestApplyBlockRandomnessEquivocation: the kvstore answers for the requested block after an equivocating proposer's two blocks in one round, and refuses a block it did not process.
  • TestProposalDropsRelayedCommitRandomness: a proposal built from a relayed commit with a correctly sized beacon and app hash drops them and keeps the parts an older release rebuilds (a block that kept them would not), and neither PrepareProposal nor ProcessProposal passes them to the application.
  • TestBlockSyncDropsRelayedCommitRandomness: block sync of a commit with a correctly sized beacon and app hash added neither passes them to FinalizeBlock nor stores them in the seen commit.

make proto-gen, make mockery and make lint (new findings against v1.8-dev) are clean.

Breaking changes

  • The ABCI Application interface has a new method. Go applications that embed BaseApplication compile unchanged, but get an error if Tenderdash ever calls the method, which it will only do from consensus version 3. Applications must implement it before their chain moves to consensus version 3.
  • ABCISemVer is 1.6.0. See UPGRADING.md.
  • A commit whose beacon or app_hash is set with any size other than 96 and 32 bytes is refused, at every consensus version. No release sets them before consensus version 3.

Prior work

Attribution

Prepared with Claude Code.

🤖 Generated with Claude Code

PR Hygiene · 4362ced

  • Bots — thepastaclaw ✓, 1 thread unresolved — resolve it
  • Self-review — post /self-reviewed
  • Build green
  • Approvals
    • files with no dedicated owner (UPGRADING.md, abci/client/grpc_client.go, abci/client/mocks/client.go and 42 more) — lklimek or shumkov

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

…elds

Add a new ABCI method, ApplyBlockRandomness, for same-block randomness.
Tenderdash will call it at consensus version 2 with the random beacon of a
block and round (the BLS threshold signature recovered from its prevotes),
and the application returns the app hash the precommits sign.

- proto: RequestApplyBlockRandomness {hash, height, round, beacon} and
  ResponseApplyBlockRandomness {app_hash} in the Request/Response oneofs and
  the ABCI service; CommitInfo.beacon and CommitInfo.app_hash;
  Commit.beacon and Commit.app_hash.
- Go: Application interface, socket, gRPC, routed and local clients, socket
  server, proxy client with timing metrics, regenerated mocks.
- BaseApplication returns ErrApplyBlockRandomnessNotImplemented: an empty
  app hash must never pass as an answer.
- kvstore example: returns the app hash of the processed block unchanged.
- types.Commit carries Beacon and AppHash through protobuf and CommitInfo.
  MaxCommitOverheadBytes grows by 132 bytes (96+2 for the beacon, 32+2 for
  the app hash).

Nothing calls the method yet, and the new fields stay empty, so behaviour is
unchanged apart from the larger commit overhead reserved by the mempool size
pre-check.

Refs dashpay/platform#4682

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

coderabbitai Bot commented Nov 3, 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

@thepastaclaw

thepastaclaw commented Nov 3, 2026 •

Copy link
Copy Markdown

✅ Final review complete — no blockers (commit 4362ced) · triage: critical

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 3, 2026
QuantumExplorer and others added 3 commits November 4, 2026 04:05
Commit.beacon and Commit.app_hash are covered neither by the commit hash
nor by its threshold signature, so a peer relaying a validly signed commit
could fill them with any bytes. Before this fix a block sync peer could pad
the beacon of an honest commit: the node verified the signature, stored the
padded commit as its seen commit and passed it to FinalizeBlock. Over gRPC
ABCI a beacon above 4 MB made FinalizeBlock fail and the node crash on every
restart, and a beacon larger than Block.MaxBytes left it unable to propose.

Commit.ValidateBasic now refuses a commit unless both fields are empty or
exactly 96 and 32 bytes, whatever the consensus version. Every path that
accepts a commit on its own decodes it through CommitFromProto or validates
it with ValidateBasic (block sync responses, consensus Commit messages,
light blocks, stored commits), so such a commit is refused before it is
stored or passed on.

A block's LastCommit is not refused for these fields: releases before them
skip them as unknown, so refusing such a block would split an upgraded node
from them. BlockFromProto decodes it without the malformed fields instead,
so they are never read, kept or passed on.

Refs dashpay/platform#4682

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

Releases before Commit.beacon and Commit.app_hash (fields 7 and 8) skip
those fields whatever their wire type. The generated decoder of this
release instead refuses the whole block when its LastCommit carries one
with a wire type other than bytes. In a network still running older
releases, a byzantine proposer could therefore get such a block committed
by the older validators while upgraded nodes could not decode it, and an
older node that stored it would panic loading it after upgrading.

types.UnmarshalBlockProto decodes block bytes as before and, only when that
fails, drops the mistyped occurrences of those two fields from the block's
LastCommit and decodes again, so an upgraded node reads every block an older
one does. Consensus block part assembly and BlockStore.LoadBlock use it.

google.golang.org/protobuf becomes a direct dependency for its wire format
parser.

Refs dashpay/platform#4682

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The example application looked up the state for ApplyBlockRandomness by
height and round only. A node that executed two blocks of one round, as with
an equivocating proposer whose second block the network commits after a
later round was processed, failed with "more than one proposal executed",
which the spec makes fatal, and a block that was not processed silently got
another block's app hash.

ProcessProposal now records which state each block hash left at each round,
and ApplyBlockRandomness answers for the block the request names, refusing
one that was not processed. Without a hash it still uses the only state of
that height and round.

Refs dashpay/platform#4682

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

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

QuantumExplorer and others added 4 commits November 4, 2026 04:42
…ck commits

The ApplyBlockRandomness contract left four things open:

- Vote extensions: Tenderdash calls ApplyBlockRandomness before
  ExtendVote, but other processes verify a Precommit's extensions against
  the state ProcessProposal left, possibly before they recover the beacon.
  Extensions and their verification must not depend on the beacon.
- What the randomness may change: only the state behind the returned app
  hash. Transaction results, events and validator set or consensus
  parameter updates come from ProcessProposal and are fixed by the header
  the Prevotes signed.
- FinalizeBlock: from consensus version 2 the committed state is the
  candidate with the commit's beacon applied, and its root must equal
  commit.app_hash, so an application in same-block execution mode reads
  the randomness fields as well as the hash.
- When it is called: on every path that finalizes a block from a commit,
  the node's own included; the proto said only commits the node did not
  assemble itself.

The ABCI call grammar gains the method, and the CommitInfo table links
VoteExtension to its proto instead of a missing anchor. Regenerated
types.pb.go and api.md (comments only).

Refs dashpay/platform#4682

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The ABCI interface gained the ApplyBlockRandomness method and the
CommitInfo beacon and app_hash fields. RELEASES.md makes interface changes
a minor bump, and v1.8.0 to v1.8.2 already report 1.4.0, so an application
built against these protos could not tell from RequestInfo.abci_version
that a Tenderdash without them is too old.

Refs dashpay/platform#4682

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

MaxCommitOverheadBytes had grown by the 132 bytes of a commit's beacon and
app hash, but its only runtime use is the mempool's per-transaction size
pre-check, and commits carry those fields only from consensus version 2.
Before that, every chain lost 132 bytes of transaction size at CheckTx, and
one with Block.MaxBytes between 1129 and 1260 refused every transaction
while its proposals still had room.

MaxCommitOverheadBytes is back to the commit without the fields, and the
new MaxCommitRandomnessBytes holds them, for the consensus version 2 check
to add.

Commit.String, StringIndented and its log fields now show the beacon and
the app hash, so two commits that differ only there can be told apart.
TestCommitBeaconFields encodes and decodes Commit and CommitInfo on the
wire and compares whole structs.

Refs dashpay/platform#4682

Co-Authored-By: Claude Opus 5.5 <[email protected]>
TestRouting routes ApplyBlockRandomness to its configured client and
checks the response type, and TestApplyBlockRandomnessMetrics checks that
the proxy client records the call under apply_block_randomness, for
success and failure.

Refs dashpay/platform#4682

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

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

QuantumExplorer added a commit to dashpay/rs-tenderdash-abci that referenced this pull request Nov 3, 2026
Pin TENDERDASH_COMMITISH to c0e8c7f4, which carries the review fixes of
dashpay/tenderdash#1582: ABCISemVer 1.5.0 and comments on
ApplyBlockRandomness, FinalizeBlock and Commit.beacon. The messages are
unchanged.

The crate now reports ABCI 1.5.0, so its version check requires a
Tenderdash with ABCI ^1.5. Cover that in the version matrix.

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

@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

The compatibility decoder still rejects crafted block encodings accepted by the base revision, creating a rolling-upgrade consensus acceptance mismatch; proposal-side CommitInfo conversion also omits the new fields. Static verification at c0e8c7f confirms one blocking issue and one non-blocking suggestion; no builds or tests were run. Current CI reports successful build, tests, lint, vet, vulnerability and generation checks, with PR Hygiene still pending.

🔴 1 blocking | 🟡 1 suggestion(s)

1 finding(s) not shown inline (the lines are not part of this PR's diff)

🟡 Suggestion: Preserve the new fields in proposal-side CommitInfo conversion
internal/state/execution.go:778-783

Commit.ToCommitInfo now copies Beacon and AppHash, but buildLastCommitInfo independently constructs the old four-field representation. Both RequestPrepareProposal.LocalLastCommit and RequestProcessProposal.ProposedLastCommit use this helper, so they omit the new fields even when block.LastCommit contains them. This leaves a sibling ABCI conversion incomplete and duplicates a conversion that already has an owner, contrary to STYLE_GUIDE.md's Don't Repeat Yourself rule. It is non-blocking while the feature remains inactive. Keep the existing initial-height guard, delegate to ToCommitInfo, and add regression coverage for both proposal requests with populated commit fields.

	return block.LastCommit.ToCommitInfo()

source: muse-spark-1.3-contributor (phase1-reviewer: general); gpt-6.1-sol (phase2-reviewer: general)

Review provenance

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

  • Triage: critical by gpt-6.1-sol (effort low) — This cross-cutting change adds custom peer-facing block deserialization in types/block_decode.go (UnmarshalBlockProto), wires it into proposal processing, and changes commit validation and malformed-field handling in types/block.go, directly affecting block acceptance and upgrade compatibility.
  • 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.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — tenderdash-consensus-security (completed, effort xhigh); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify each finding against the current code and only fix it if needed.

In `types/block_decode.go`:
- [BLOCKING] types/block_decode.go:83-85: Match legacy skip semantics in the compatibility decoder
  The fallback still accepts fewer encodings than the base revision's generated decoder. Append `22 02 3b 44` to an otherwise valid serialized block: this adds another LastCommit occurrence containing a field-7 start-group and field-8 end-group. The legacy Block decoder merges the occurrence, and its Commit decoder skips the unknown group because skipTypes tracks depth without matching group numbers. At this head, strict decoding rejects field 7's wire type, then protowire.ConsumeFieldValue rejects the mismatched end-group, so UnmarshalBlockProto fails. A field-7 varint containing nine 0x80 bytes followed by 0x02 exposes the same problem: the legacy skipper accepts its termination, while protowire rejects uint64 overflow. A Byzantine proposer can therefore propose bytes that legacy validators accept but upgraded validators cannot decode; upgrading a node that already stored such a block also makes BlockStore.LoadBlock panic. Make both fallback scanners preserve the legacy generated decoder's acceptance rules, with bounds checks, and add differential regression cases for these encodings.

In `internal/state/execution.go`:
- [SUGGESTION] internal/state/execution.go:778-783: Preserve the new fields in proposal-side CommitInfo conversion
  Commit.ToCommitInfo now copies Beacon and AppHash, but buildLastCommitInfo independently constructs the old four-field representation. Both RequestPrepareProposal.LocalLastCommit and RequestProcessProposal.ProposedLastCommit use this helper, so they omit the new fields even when block.LastCommit contains them. This leaves a sibling ABCI conversion incomplete and duplicates a conversion that already has an owner, contrary to STYLE_GUIDE.md's Don't Repeat Yourself rule. It is non-blocking while the feature remains inactive. Keep the existing initial-height guard, delegate to ToCommitInfo, and add regression coverage for both proposal requests with populated commit fields.
Out-of-scope follow-up suggestions (1)

These are valid observations, but they are outside this PR's scope and should be handled in separate issues or author/maintainer-requested PRs rather than blocking this review.

  • Preserve authenticated original block bytes through block sync — The base revision already loses unknown fields and noncanonical encodings when prepareBlockResponse serves LoadBlock(...).ToProto(). The receiving blockApplier.Apply rebuilds the part set from that representation, and ValidatorSet.commitSignData rejects the resulting BlockID when its PartSetHeader differs from the authentic commit. A Byzantine proposer can therefore get a noncanonical block committed that honest peers cannot subsequently serve successfully through block sync. This is a concrete pre-existing availability issue, independent of the new randomness fields.
    • Follow-up: Track a separate change to retain and verify original authenticated block bytes or parts through block sync, with a regression covering a committed block containing ignored protobuf wire data.

Comment thread types/block_decode.go Resolved
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Your move: thepastaclaw requested changes on this head; dismiss the review or push a fix; thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

@github-actions github-actions Bot added waiting-self-review Waiting for the author to post /self-reviewed and removed waiting-bots Waiting for the review bots to report on this head labels Nov 3, 2026
QuantumExplorer and others added 3 commits November 4, 2026 15:30
…hen dropping mistyped commit fields

The fallback in UnmarshalBlockProto drops a LastCommit's beacon and app
hash fields that do not have the bytes wire type, so an upgraded node
decodes every block an older one does. It split the bytes with
protowire, which refuses encodings the generated decoder of older
releases skips: a group closed by an end-group of another field number,
and a ten-byte varint whose last byte overflows 64 bits. A proposer
could then send a block that older validators accept and upgraded ones
cannot decode.

The scanner now reads tags, varints and skipped fields with the rules
of the code gogoproto generates. The test checks each case against
gogotypes.Empty, whose generated decoder skips every field as older
releases skip fields 7 and 8, both for blocks it accepts and for blocks
it still refuses.

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

buildLastCommitInfo built RequestPrepareProposal.LocalLastCommit and
RequestProcessProposal.ProposedLastCommit field by field and left out
the commit's beacon and app hash. It now keeps its initial-height guard
and delegates to Commit.ToCommitInfo.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings in the source-derived consensus specification (#1562).

Conflict in spec/abci++/abci++_tmint_expected_behavior.md: v1.8-dev drops
the Commit call from the ABCI grammar, and this branch adds check-commit
and apply-randomness. The resolution keeps both, and notes that from
consensus version 2 the state FinalizeBlock persists has the root
ApplyBlockRandomness returned.

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

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

Nothing signs the beacon and app hash of a block's LastCommit, so a proposer
can fill them with well-sized values. SaveBlock stored them as the canonical
commit of the previous height, and LoadBlockCommit then served them through
/commit and state sync. Drop them from that record. The block's parts keep
them, as the encoding the next commit signs.

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

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

@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.

Re-review — Final validation — Phase 1 + Phase 2

Static verification of the complete diff at cd6b4ec found no actionable in-scope defects. Three prior findings are fixed; the proposal-side field-preservation request is withdrawn because forwarding unauthenticated randomness before consensus version 2 would violate the intended boundary. Current CI code checks passed, with PastaClaw review and PR Hygiene pending; no local builds or tests were run.

🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 nitpick(s)

Review provenance

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

  • Triage: critical by gpt-6.1-sol (effort low) — The cross-cutting diff adds intricate peer-facing block deserialization in types/block_decode.go (UnmarshalBlockProto and custom protobuf field parsing) and changes commit validation in types/block.go, directly affecting acceptance compatibility between node versions.
  • 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 final gate: an independent Phase-2 review ran after iterative findings were reconciled
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — tenderdash-consensus-security (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — tenderdash-consensus-security (completed, effort xhigh); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify the current code and confirm that no unresolved issues remain.

No unresolved findings remain from the prior review on this head.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

Regenerate proto/tendermint/types/types.pb.go, the only conflict.

dev now defines consensus version 2 for proposer liveness, so the docs can
no longer say this release defines only versions 0 and 1. Say what stays
true: this release never calls ApplyBlockRandomness.

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

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

@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.

Re-review — Final validation — Phase 1 + Phase 2

At exact head ea5bbb9, static inspection of the complete assigned diff found no actionable in-scope defects. Canonical commit persistence now strips unsigned randomness while preserving block parts; proposal gating and compatibility decoding also satisfy the inactive-feature contract. No local builds or tests were run: current CI reports no failed code checks, with unit-test shard 01 still pending and the build, other unit-test shards, ABCI/application tests, lint, generated-artifact checks, and both end-to-end jobs passing.

🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 nitpick(s)

Review provenance

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

  • Triage: critical by gpt-6.1-sol (effort low) — The large, cross-cutting diff adds intricate peer-facing block deserialization in types/block_decode.go (UnmarshalBlockProto and its wire-parsing helpers), changing acceptance of commit encodings on consensus and synchronization paths.
  • 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 final gate: an independent Phase-2 review ran after iterative findings were reconciled
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — tenderdash-consensus-security (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — tenderdash-consensus-security (completed, effort xhigh); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify the current code and confirm that no unresolved issues remain.

No unresolved findings remain from the prior review on this head.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

lklimek commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

Integration reminder: we expect #1595 to merge before this PR. After rebasing onto it, please update BlockResponseFromProto in internal/blocksync/synchronizer.go to decode the raw BlockResponse.block bytes with types.UnmarshalBlockProto(resp.Block) instead of proto.Unmarshal. Keep the original CommittedParts.Bytes unchanged for part-set reconstruction and commit verification; the compatibility decoder should only affect the decoded block. Otherwise, a block with mistyped LastCommit fields 7/8 that legacy consensus accepts would load through the compatibility decoder but still fail block sync. Please add a block-sync regression covering such committed bytes and verifying that the original parts and block ID are preserved.

Regenerate spec/abci/api.md, the only conflict, with make proto-doc.

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

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

@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.

Re-review — Final validation — Phase 1 + Phase 2

At f634be9, the inactive ApplyBlockRandomness plumbing, commit bounds, and pre-v2 normalization have no remaining verified in-scope defects. The block-sync committed-byte limitation also exists on the base revision and is tracked by #1595; it is retained as a non-blocking integration follow-up rather than a blocker. Current build, test, lint, vet, protobuf, and mock checks pass; PastaClaw review and PR Hygiene remain pending, and no local builds or tests were run.

🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 nitpick(s)

Review provenance

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

  • Triage: critical by gpt-6.1-sol (effort low) — This is a large cross-cutting change that modifies consensus-critical commit/block serialization and validation surfaces, ABCI application-vs-consensus interfaces, peer-facing protobuf deserialization, and cryptographic beacon-bearing commit data in files including types/block.go, types/block_decode.go, internal/consensus/state_try_add_commit.go, and proto/tendermint/types/types.proto.
  • 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.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — tenderdash-consensus-security (completed, effort xhigh); agent phase2-reviewer, gpt-6-astra — general (completed, effort xhigh); agent phase2-reviewer, gpt-6-astra — tenderdash-consensus-security (completed, effort xhigh); agent phase2-reviewer
  • Model comparison: every Phase-2 reviewer also ran on gpt-6-astra; the verifier weighed both sets without knowing which model wrote which
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify the current code and confirm that no unresolved issues remain.

No unresolved findings remain from the prior review on this head.
Out-of-scope follow-up suggestions (1)

These are valid observations, but they are outside this PR's scope and should be handled in separate issues or author/maintainer-requested PRs rather than blocking this review.

  • Integrate tolerant decoding with committed-byte block sync — The current block-sync server re-encodes LoadBlock(), and the receiver rebuilds parts with block.MakePartSet(), losing unknown or noncanonical committed bytes. Both operations are unchanged from base 0055c91, where legacy Commit decoding already discards unknown fields 7/8, so these committed blocks already fail block-sync BlockID verification. The generated response decoder also rejects mistyped fields before BlockResponseFromProto can normalize them. The maintainer's integration reminder tracks the raw-byte transport work in #1595; that implementation is not present on this head.
    • Follow-up: Complete committed-byte preservation through #1595. Its integration with this feature should decode raw block bytes using types.UnmarshalBlockProto, preserve the original bytes for part-set reconstruction and commit verification, and add a regression using committed mistyped LastCommit fields.

@github-actions

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

Dev released ABCI 1.5.0 with 2.0.0-dev.1 for CONSENSUS_VERSION_2 (#1572),
without ApplyBlockRandomness or the commit beacon fields, so bump
ABCISemVer to 1.6.0 for them, a minor per RELEASES.md.

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

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

Dev's #1595 made BlockResponse.block the committed block bytes and split
the applier into Apply (block and bytes) and ApplyBytes, so the commit
randomness tests no longer compiled after the merge.

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

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

Block sync decoded the committed bytes with proto.Unmarshal, which refuses a
block whose LastCommit carries a beacon or app hash field with another wire
type than bytes. Releases before the beacon skip those fields, so they can
commit and store such a block, and consensus and the block store already
decode it with types.UnmarshalBlockProto. Block sync now uses it too, so it
accepts every block they accept. The part set is still cut from the bytes
as received, so the block ID matches the commit.

Add a regression test that syncs a block committed with such a LastCommit
and checks that the stored parts and block ID are the committed ones.

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

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

QuantumExplorer added a commit to dashpay/rs-tenderdash-abci that referenced this pull request Nov 26, 2026
… merged head

Merge origin/develop (Tenderdash 2.0, v2.0.0-dev.2) into
feat/apply-block-randomness. Point proto/build.rs DEFAULT_VERSION at
7eda7e06af4693747d5cd1689eb56b0aedd05017, the head of
dashpay/tenderdash#1582 as merged into Tenderdash dev, which reports
ABCI 1.6.0 and Tenderdash 2.0.0-dev.3. Keep develop's ABCI 1.5.0 version
match cases and add 1.6.0 ones.

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

@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.

Re-review — Final validation — Phase 1 + Phase 2

New on this head: Block sync now uses the same compatibility decoder as consensus and the block store, with regression coverage that checks the original committed bytes and block ID are preserved. Build, lint, protobuf checks, block-sync tests, and Dash Core end-to-end tests passed; the rotation end-to-end test was still pending. The tests (00) shard hit the same two-minute TestReactorValidatorSetChanges timeout seen on dev in run 45666888646; that consensus-only test does not exercise the changed block-sync path.

🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 nitpick(s)

Review provenance

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

  • Triage: critical by gpt-6.2-sol (effort low) — The custom protobuf fallback in types/block_decode.go (UnmarshalBlockProto) makes an intricate change to which peer-supplied block bytes consensus and block sync accept, even though the new ABCI method is not yet called.
  • 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. Verify the current code and confirm that no unresolved issues remain.

No unresolved findings remain from the prior review on this head.

@github-actions

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

QuantumExplorer added a commit that referenced this pull request Nov 26, 2026
…andom-beacon

Brings in dev through #1582's merge, including proposer liveness and
round skip certificates (#1572). Conflict resolutions:

- CONSENSUS_VERSION_2 keeps dev's meaning (proposer liveness);
  VersionParams keeps both RandomBeacon and ProposerLivenessEnabled.
- execBlock and BlockReplayer.publishEvents take dev's form, finalizing
  with commit.BlockID (#1595), which the beacon path already required.
- makeConsensusStateWithParams takes dev's signature without cfg.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
QuantumExplorer added a commit to dashpay/platform that referenced this pull request Nov 26, 2026
…o claude/random-beacon-activation

The base now merges v5.2-dev, which has protocol version 16, and moves
random document properties and random token amounts there. Protocol
version 15 is the 5.1 line's and already runs Tenderdash consensus
version 2 (proposer liveness), so same-block randomness moves to
protocol version 16 and Tenderdash consensus version 3.

Protocol version 15's tables are the base's again. Protocol version 16
selects:
- CONTRACT_VERSIONS_V8: random_generated_from Some(0), so registration
  admits sys.random.uniform
- STATE_TRANSITION_SERIALIZATION_VERSIONS_V5: random_token_amount
  Some(0), so version 1 token transfers and mints decode
- DRIVE_ABCI_METHOD_VERSIONS_V12: block_end.apply_random_beacon Some(0)
- tenderdash_consensus_version 3

The note moves from v15 note 45 to v16 note 4. The block that switches
to 16 still runs under consensus version 2 and receives no beacon, so
the activation gate refuses random requests in it, as it did for the
switch to 15. Its test now switches from 15.

tenderdash-abci and tenderdash-proto pin dashpay/rs-tenderdash-abci#226
at 7da53f92fd, which merges develop (Tenderdash 2.0) and generates the
protos from dashpay/tenderdash#1582 at 7eda7e06af (ABCI 1.6.0).

The base's new state-transition proof tests finalize blocks at the
latest protocol version, so their commits now carry the beacon and the
app hash, which the block id's state id binds.

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

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

@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.

Re-review — Final validation — Phase 1 + Phase 2

New on this head: This head merges the latest dev into the PR; the ABCI randomness method and commit fields remain in place without activating randomness. The Linux build, unit tests, lint, and generated-code checks passed, and the initially failed Markdown link check passed on rerun. The Dash Core and quorum-rotation end-to-end checks were still pending.

🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 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.

Follow-up candidates (optional) (1)

New non-blocking observations on code unchanged since the last full review. No inline threads are opened for them and later reviews do not repeat them: fix forward or track separately if they are worth it.

🟡 Suggestion: The v2.0.0 upgrade guide lists an ABCI method that release did not ship
Impact: Application developers upgrading to v2.0.0 are told to expect ABCI 1.6.0 and ApplyBlockRandomness, but the published release ships ABCI 1.5.0 without the method.
UPGRADING.md:73-77

Readers following the v2.0.0 upgrade guide can prepare for an interface that the released binary does not expose. The previous review head filed this entry under Unreleased, but this head's merge brought in 3f2e06460, which renamed that section to v2.0.0 to record the stable release. The released source at 0b5069bb5 still declares ABCISemVer = "1.5.0"; this PR adds 1.6.0 and the new method afterward. Move this entry to a new ## Unreleased section above ## v2.0.0.

source: muse-spark-1.3-contributor (phase1-reviewer: general)

Review provenance

Source: reviewer 1: gpt-6.2-astra (agent: phase2-reviewer, role: general); reviewer 2: muse-spark-1.3-contributor (agent: phase1-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) — This is a large, cross-cutting change to consensus commit and block serialization, peer-facing protobuf deserialization, and the ABCI application trust boundary, including new beacon and app-hash data that affects consensus-critical state.
  • 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)
  • New since the last final review (47425eb1): 1 suggestion(s) on unchanged code listed as follow-up candidates
  • 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. Verify the current code and confirm that no unresolved issues remain.

No unresolved findings remain from the prior review on this head.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Your move: thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-self-review Waiting for the author to post /self-reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants