Skip to content

aptos: set fork-choice to height#237

Merged
a10zn8 merged 1 commit into
mainfrom
feat/aptos-fork-choice-height
Jul 9, 2026
Merged

aptos: set fork-choice to height#237
a10zn8 merged 1 commit into
mainfrom
feat/aptos-fork-choice-height

Conversation

@a10zn8

@a10zn8 a10zn8 commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Aptos head events in nodecore use synthetic, height-encoded block ids — the REST head-poll path exposes no usable parent hash, so hash-based (quorum) fork choice can't work. Set fork-choice: height for the Aptos protocol, same as Aztec and Kadena.

Follow-up to #235; surfaced in the review of drpcorg/nodecore#237 (parent-hash discussion).

🤖 Generated with Claude Code

The Aptos REST head-poll path carries synthetic height-encoded block
ids (no real block hashes), so quorum-based fork choice can't compare
hashes - pick heads by height, as Aztec and Kadena do.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@a10zn8
a10zn8 merged commit b5add9f into main Jul 9, 2026
1 check failed
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.

1 participant