Hostile-read repairs across the kernel artifacts: 17 confirmed over-claims fixed to honest
A 6-lens hostile panel with adversarial verification confirmed 17 attacks that would hold in a public takedown. All repaired: the MI contract now carries the two base-fee floor-lapse windows (12,978,617-13,087,959 and 13,596,033-13,596,141) as explicit ruleset validation exceptions, so a stranger implementing the written rules no longer halts where our own follower did; the honesty boundary now states the full record of reject-on-disagreement including the windows, and why the fact stays load-bearing; the independence claim is bounded (upstream skeletons yes, AERE ruleset has one author in both forks, so a common-author bug passes any differential gate by construction); the harness verdict claims only what it measures, records engine identity via web3_clientVersion on every run, refuses same-URL endpoint pairs, and prints its NOT MEASURED block on every run; stage 4 names the live engine (upstream parallel processing enabled by default, idling on empty blocks) and its oracle's model limits; 'governed registry' became 'owner-controlled' with the single-key fact stated. The panel also confirmed the import-proof doc claimed a two-month validation history where six days is the truth; fixed.
This commit is contained in:
1 parent
46c42164de
commit
f2ab368c36
5 files changed
+116
-19
No files matched your search
@@ -103,7 +103,7 @@ const FIELD_BY_NAME = new Map(MI_FIELDS.map((f) => [f.name, f]));
|
||||
|
||||
// ---- read-only JSON-RPC over the Node built-ins, no dependencies -------------------------------
|
||||
|
||||
const ALLOWED_METHODS = new Set(['eth_chainId', 'eth_blockNumber', 'eth_getBlockByNumber']);
|
||||
const ALLOWED_METHODS = new Set(['eth_chainId', 'eth_blockNumber', 'eth_getBlockByNumber', 'web3_clientVersion']);
|
||||
|
||||
function rpc(endpoint, method, params, tries = 4) {
|
||||
if (!ALLOWED_METHODS.has(method)) {
|
||||
@@ -335,7 +335,11 @@ async function main() {
|
||||
honesty: 'A matching header root served over RPC proves both endpoints serve the same bytes; '
|
||||
+ 'the load-bearing fact is that Nethermind validates on processing and rejects on '
|
||||
+ 'disagreement. Consensus is classical secp256k1 ECDSA QBFT plus Falcon; MI is execution '
|
||||
+ 'only and this is not a post-quantum-consensus claim. Not a benchmark.',
|
||||
+ 'only and this is not a post-quantum-consensus claim. Not a benchmark. Both endpoints are '
|
||||
+ 'operated by the same party (the trust root does not move; what is removed is the class '
|
||||
+ 'of lies needing only one client implementation). State older than the ~512-block RPC '
|
||||
+ 'state window is not probed. Engine identity of each endpoint is recorded below.',
|
||||
engines: null,
|
||||
verdict: null,
|
||||
};
|
||||
|
||||
@@ -345,6 +349,30 @@ async function main() {
|
||||
console.log(` Nethermind: ${NETH_RPC}`);
|
||||
console.log(` mode: ${report.mode}${INJECT ? ` (AERE_MI_INJECT=${INJECT})` : ''}`);
|
||||
|
||||
// endpoint-identity gate: one endpoint agreeing with itself measures nothing
|
||||
if (BESU_RPC.replace(/\/+$/, '') === NETH_RPC.replace(/\/+$/, '')) {
|
||||
report.verdict = 'NOT MEASURED: both endpoints are the same URL; agreement of an endpoint with itself is not a measurement';
|
||||
console.log('RESULT: ' + report.verdict);
|
||||
return finish(report, 2);
|
||||
}
|
||||
|
||||
// engine identity, recorded so "who answered" travels with every report
|
||||
try {
|
||||
const [ebesu, eneth] = await Promise.all([
|
||||
rpc(BESU_RPC, 'web3_clientVersion', []), rpc(NETH_RPC, 'web3_clientVersion', [])]);
|
||||
report.engines = { besu: ebesu, nethermind: eneth };
|
||||
console.log(' engines: ' + ebesu + ' | ' + eneth);
|
||||
if (String(ebesu).toLowerCase().split('/')[0] === String(eneth).toLowerCase().split('/')[0]) {
|
||||
console.log(' WARNING: both endpoints report the SAME engine family; the cross-client claim does not hold for this run');
|
||||
}
|
||||
} catch (e) { report.engines = { error: String(e.message) }; }
|
||||
|
||||
// NOT MEASURED, printed on every run (the contract's non-claims, stated by the tool itself):
|
||||
console.log(' NOT MEASURED by this harness: post-quantum consensus; independent derivation');
|
||||
console.log(' (proven only via the follower validate-on-processing behavior); throughput or');
|
||||
console.log(' latency; who operates the endpoints (same party today); state older than the');
|
||||
console.log(' ~512-block RPC window; gas accounting beyond the gasUsed commitment.');
|
||||
|
||||
// chain-id gate on both endpoints
|
||||
const [besuChain, nethChain] = await Promise.all([chainIdOf(BESU_RPC), chainIdOf(NETH_RPC)]);
|
||||
report.chainId = { besu: besuChain, nethermind: nethChain };
|
||||
@@ -458,7 +486,10 @@ async function main() {
|
||||
report.verdict = `AGREE: Besu and Nethermind committed identical MI fields ` +
|
||||
`(stateRoot, receiptsRoot, transactionsRoot, logsBloom, gasUsed, hash, parentHash) in BOTH ` +
|
||||
`directions for all ${report.blocksCovered} covered blocks, and the pre-state chain links on ` +
|
||||
`both clients. Two independent execution paths derived the same post-state.`;
|
||||
`both clients. What this proves: both endpoints serve identical canonical MI commitments ` +
|
||||
`(the same bytes) for every covered block. Independent derivation is NOT proven by this ` +
|
||||
`run alone; it rests on the follower's validate-on-processing behavior, stated in the ` +
|
||||
`honesty field, and on the recorded engine identities.`;
|
||||
console.log('RESULT: AGREE across ' + report.blocksCovered + ' blocks (both directions, 0 divergences).');
|
||||
finish(report, 0);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user