From e01ba38e6f25ca45b44fd1cbde74a798f514ad85 Mon Sep 17 00:00:00 2001 From: Aere Network Date: Mon, 12 Oct 2026 12:39:28 +0300 Subject: [PATCH] tools/verify-anchor.mjs: commit-round height of testnet 28001 is set (6157024); mainnet 2800 unchanged --- tools/verify-anchor.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/verify-anchor.mjs b/tools/verify-anchor.mjs index 1545695..d0b4e49 100644 --- a/tools/verify-anchor.mjs +++ b/tools/verify-anchor.mjs @@ -110,7 +110,7 @@ const MAX_V3_ROWS = 64; // H_r per chain: UNSET on both chains at the time of writing (no v3 anchor exists on any live chain). When the fleet publishes H_r // for a chain it is written here, in the same hour, before H_r (D-372: the new verifier is published BEFORE the first v3 anchor). // COMMIT_ROUND_BLOCK overrides (a height, or "none"); cloud-gateway/orar-ancore.mjs carries the same value for the consumers. -const COMMIT_ROUND_DEFAULT = CHAIN_ID === 28001 ? null : null; +const COMMIT_ROUND_DEFAULT = CHAIN_ID === 28001 ? 6157024 : null; const COMMIT_ROUND_BLOCK = process.env.COMMIT_ROUND_BLOCK === undefined ? COMMIT_ROUND_DEFAULT : (/^(none|unset|)$/i.test(process.env.COMMIT_ROUND_BLOCK) ? null : Number(process.env.COMMIT_ROUND_BLOCK)); if (COMMIT_ROUND_BLOCK !== null && !(Number.isInteger(COMMIT_ROUND_BLOCK) && COMMIT_ROUND_BLOCK > 0)) { console.error('FAIL: COMMIT_ROUND_BLOCK must be a positive block height or "none"'); stop(1); }