You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run reexec_all over testnet with the census instrumentation: every mainnet result is half a claim #412
The retroactive-guard campaign's mainnet half is complete: 9,429,718 blocks, 106 segments, 28 census counters, both positive controls firing. Testnet has had no equivalent run, and without it every result is half a claim.
Why it blocks real work
The RSKIP proposing removal of DUPN, SWAPN and TXINDEX cannot merge its Part 2 without this. Mainnet is settled — SWAPN executed once, at #996,053, and replaying that block with the opcode removed gives an identical state root, gasUsed and receipt set. Testnet is not settled, and the mainnet occurrence was a mis-addressed ERC-20 transfer whose first calldata octet is 0xa9. Nothing about that is mainnet-specific, so the expectation should be that testnet also has occurrences, each needing the same two-way replay rather than a count.
Two obstacles
1. reexec_all is hard-wired to mainnet. It builds BlockProcessor::new(RskHardforkConfig::mainnet(), …) and uses ChainConfig::mainnet() for the genesis allocation. It needs a network option before it can be pointed at testnet.
2. Neither mainnet positive control works on testnet, and a campaign that cannot validate its instrument is worthless:
Control
On testnet
BR-086 (funds-migration end age)
different heights; window must be re-derived
EVM-023a (pre-RSKIP-136 precompile charge)
empty — bahamas is at height 0 on testnet, so it can never fire
A testnet run therefore needs its own control. The natural candidate is EVM-023, whose branch is known occupied on testnet at #808,484: a constructor calls the Bridge with a selector that is not a Bridge method, which post-RSKIP-88 throws, and pre-RSKIP-197 that throw kills the caller with all its gas. A testnet run reporting zero there has a broken instrument, not a clean window.
Scope
Below testnet iris300 (2,060,500) settles the opcode question. The whole chain settles the rest of the catalogue's testnet half.
Without segments this is one sequential pass from genesis — roughly 3–5 hours at observed rates, against a parallel run with them. #411 also depends on #410, so the order is #410 → #411 → this.
Also worth carrying
the three high-water marks (deepest CALL frame, EVM memory, largest RETURN) for testnet, for comparison with mainnet's 401 / 422,944 octets / 24,573 octets
the gap record, so the testnet segment set is validated as it is measured
Activity