Query editor
-- Measured follow-up experiments for Railgun FrameTx VERIFY feasibility-- Static result table from local RPC traces, slot derivation from verified source, and a minimal EVM prototype.-- Values are measured/prototype outputs, not measured EIP-8141 FrameTx traces.WITH rows AS (SELECT * FROM (VALUES(1, 'Trace exact Railgun storage slots', 'Direct private transfer', 'Receipt gas used', '987074', 'gas', 'tx 0x29f0f4d09d30fd608d5a04b76455a9964cda36cf89c022b5f6f2c22d13b67afc', 'Measured transaction gas'),(1, 'Trace exact Railgun storage slots', 'Direct private transfer', 'Railgun storage writes by category', 'tree frontier/root maintenance: 12; nullifier spentness: 1; rootHistory mapping: 1; history/sync: 1', 'slot changes', 'trace_call against parent block plus Sourcify storage layout', 'Tree frontier/root maintenance is nextLeafIndex 1, merkleRoot 1, filledSubTrees 10. It is not twelve Merkle roots; no external token storage in sample'),(1, 'Trace exact Railgun storage slots', 'Transact + unshield', 'Receipt gas used', '1119339', 'gas', 'tx 0xec5a647573136c27960b5b7ea544bd9d22d6393759b91f13b7f1e33f1dbc5ed4', 'Measured transaction gas'),(1, 'Trace exact Railgun storage slots', 'Transact + unshield', 'Railgun storage writes by category', 'tree frontier/root maintenance: 12; nullifier spentness: 1; rootHistory mapping: 1; history/sync: 1; external token storage contracts: 1', 'slot changes', 'trace_call against parent block plus Sourcify storage layout', 'Tree frontier/root maintenance is not nullifier/keyed-nonce state. External token storage is USDT token accounting'),(2, 'Prototype minimal FrameTx VERIFY contract', 'Minimal Railgun-style admission', 'VERIFY admission path', '52636', 'gas', 'local Ganache, solc 0.8.17 optimizer 200', 'Prototype only: payer credit SLOAD, root SLOAD, payload/bounds checks, keyed nonce SSTORE, APPROVE represented as event'),(2, 'Prototype minimal FrameTx VERIFY contract', 'Minimal VERIFY fail: root not recent', 'Early root failure', '28286', 'gas', 'local Ganache, solc 0.8.17 optimizer 200', 'Fails before keyed nonce consumption'),(2, 'Prototype minimal FrameTx VERIFY contract', 'Minimal VERIFY fail: payer unfunded', 'Early payer failure', '25893', 'gas', 'local Ganache, solc 0.8.17 optimizer 200', 'Fails before root/keyed nonce checks'),(3, 'Benchmark keyed nonce paths', 'Keyed nonce first-use', 'Zero to nonzero terminal key consumption', '44109', 'gas', 'local Ganache, solc 0.8.17 optimizer 200', 'Transaction wrapper included'),(3, 'Benchmark keyed nonce paths', 'Keyed nonce warm/check-only', 'Consumed-key SLOAD check', '24035', 'gas', 'local Ganache, solc 0.8.17 optimizer 200', 'Transaction wrapper included'),(3, 'Benchmark keyed nonce paths', 'Keyed nonce duplicate / failed-key', 'SLOAD then revert on already consumed key', '24133', 'gas', 'local Ganache, solc 0.8.17 optimizer 200', 'Transaction wrapper included'),(3, 'Benchmark keyed nonce paths', 'Keyed nonce terminal consumption', 'Second zero to nonzero terminal key', '44109', 'gas', 'local Ganache, solc 0.8.17 optimizer 200', 'Same as first-use path in prototype'),(4, 'Measure direct execution failure cost', 'Direct private transfer', 'Successful replay against parent state', '952810', 'gas', 'trace_call tx 0x29f0... at parent block', 'Trace replay gas is lower than receipt gas because transaction envelope/base accounting differs'),(4, 'Measure direct execution failure cost', 'Malformed proof point', 'Early invalid curve-point failure', '114066', 'gas', 'proof.a.x mutated by +1', 'Early malformed-proof bound: exits in Snark.negate before full pairing'),(4, 'Measure direct execution failure cost', 'Invalid proof public input', 'Full verifier then Invalid Snark Proof', '297313', 'gas', 'first nullifier mutated while preserving calldata shape and root state', 'Faithful pay-for-failure proxy before nullifier/state writes'),(4, 'Measure direct execution failure cost', 'Duplicate nullifier after inclusion', 'Valid proof then nullifier already spent', '300127', 'gas', 'original tx replayed at inclusion block state', 'Measures valid-proof duplicate-spend failure')) AS t(priority, experiment, sample, metric, value, unit, evidence, caveat))SELECT priority, experiment, sample, metric, value, unit, evidence, caveatFROM rowsORDER BY priority, experiment, sample, metric