[grade=A] test: update reorg_guard_offbyone_hardening expected checkpoint height 2214400 → 2224763
The test assertion nCompiled == 2214400 in consensus_safety_tests.cpp:735 fails after adding new checkpoint pins (the highest is now 2224763, the live tip). Update the expected value to match the v6.2.6.0 compiled map. Verified: Codex grade A.
This commit is contained in:
@@ -729,10 +729,10 @@ BOOST_AUTO_TEST_CASE(reorg_guard_offbyone_hardening)
|
||||
// checkpoint height on mainnet. Verified against the actual binary.
|
||||
int nCompiled = Checkpoints::GetLastCheckpointHeight();
|
||||
BOOST_CHECK(nCompiled > 0); // sanity: compiled map populated
|
||||
// Must equal the highest key in the compiled map (2214400 on current
|
||||
// master; this assertion locks the value at the time the binary was
|
||||
// built, so a regression that drops a checkpoint would also fail here).
|
||||
BOOST_CHECK_EQUAL(nCompiled, 2214400);
|
||||
// Must equal the highest key in the compiled map (2224763 as of v6.2.6.0;
|
||||
// this assertion locks the value at the time the binary was built, so
|
||||
// a regression that drops a checkpoint would also fail here).
|
||||
BOOST_CHECK_EQUAL(nCompiled, 2224763);
|
||||
}
|
||||
|
||||
// ─── Duplicate-guard detection: variable referenced only in allowed files ─
|
||||
|
||||
Reference in New Issue
Block a user