feat(health-check): probe Aptos by ledger chain id and a recent transaction - #3964
Closed
haiyuechen-nearone wants to merge 1 commit into
Closed
Conversation
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-aptos
branch
from
July 24, 2026 12:32
a135faf to
94fb0e1
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
from
July 24, 2026 12:32
dfe9f22 to
2812e3a
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
from
July 24, 2026 14:23
2812e3a to
4cdf6cd
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-aptos
branch
2 times, most recently
from
July 27, 2026 10:31
cd899ec to
aff82d6
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
2 times, most recently
from
July 27, 2026 11:02
1e88265 to
3d15686
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-aptos
branch
2 times, most recently
from
July 27, 2026 11:19
5e1e523 to
bbcf4ca
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
from
July 27, 2026 11:19
3d15686 to
95249bb
Compare
…action Extend the identity-based probe to Aptos, the last golden-transaction chain: verify the ledger chain_id (GET /v1; 1 = mainnet, 2 = testnet) against the configured expected identity, then run the inspector over a committed transaction 100 ledger versions behind the tip. With every chain now identity-based and configuration the sole source of expected identities, the golden module's vectors and the entire network machinery are deleted: the Network enum, the CLI's --network flag, and the chain-id/contract-id auto-detection all existed only to pick between built-in reference sets. The golden module becomes a small parse module of identity decoders.
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
from
July 27, 2026 13:33
95249bb to
79eb1a1
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-aptos
branch
from
July 27, 2026 13:33
bbcf4ca to
edcbe7c
Compare
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3764; rationale: #3969. Stacked on #3963, merge bottom-up:
eth_chainId+ a recent finalized txReplaces Aptos's pinned golden tx with the identity probe: verify the ledger
chain_id(GET /v1), then inspect a committed tx 100 versions behind the tip.The last golden chain: with every chain now identity-based, this deletes the
Networkenum, the--networkflag, and network auto-detection (all only picked between built-in reference sets), and turns the golden module into a smallparsemodule of identity decoders.The node-startup stack (#3848 → #3849 → #3850) builds on this and closes #3764.