Query editor
-- Direct private-transfer gas accounting before and after FrameTx + keyed nonces.-- Today is the measured Railgun direct private-transfer sample.-- After is a counterfactual FrameTx accounting split: the same Railgun execution work remains,-- plus a measured local VERIFY admission prototype that includes keyed nonce consumption,-- plus the frame overhead used in the model.-- The compute bucket is split into visible verifier arithmetic and remaining EVM/verifier scaffolding.WITH rows AS (SELECT * FROM (VALUES(1, 'Today: one execution tx', 1, 'Verifier arithmetic', 180896, 'MULMOD + ADDMOD in the direct private-transfer sample.'),(1, 'Today: one execution tx', 2, 'Other proof/EVM compute', 348631, 'Rest of the profiler compute bucket: verifier scaffolding, stack/memory/control-flow opcodes, and other arithmetic not separately attributed here.'),(1, 'Today: one execution tx', 3, 'State/account access', 132200, 'Measured address/state access bucket.'),(1, 'Today: one execution tx', 4, 'State writes', 76200, 'Measured state-growth bucket.'),(1, 'Today: one execution tx', 5, 'Logs/history', 7104, 'Measured logs/history bucket.'),(1, 'Today: one execution tx', 6, 'Memory + bloom', 2029, 'Measured memory plus bloom-topic buckets.'),(1, 'Today: one execution tx', 7, 'Other / unattributed', 240014, 'Residual profiler bucket.'),(2, 'After: FrameTx + keyed nonce', 1, 'Verifier arithmetic', 180896, 'Still execution. Full private proof verification does not move to VERIFY.'),(2, 'After: FrameTx + keyed nonce', 2, 'Other proof/EVM compute', 348631, 'Still execution. Verifier scaffolding and residual compute stay in execution.'),(2, 'After: FrameTx + keyed nonce', 3, 'State/account access', 132200, 'Still execution.'),(2, 'After: FrameTx + keyed nonce', 4, 'State writes', 76200, 'Still execution. Keyed nonce does not remove tree/root maintenance.'),(2, 'After: FrameTx + keyed nonce', 5, 'Logs/history', 7104, 'Still execution.'),(2, 'After: FrameTx + keyed nonce', 6, 'Memory + bloom', 2029, 'Still execution.'),(2, 'After: FrameTx + keyed nonce', 7, 'Other / unattributed', 240014, 'Still execution.'),(2, 'After: FrameTx + keyed nonce', 8, 'VERIFY admission', 52636, 'New cheap admission path. Local prototype includes payer/root checks and keyed nonce consumption.'),(2, 'After: FrameTx + keyed nonce', 9, 'FrameTx overhead', 15950, 'Frame overhead used in the model.')) AS t(scenario_order, scenario, component_order, component, gas, note)), totals AS (SELECT scenario, SUM(gas) AS total_gasFROM rowsGROUP BY 1)SELECTr.scenario_order,r.scenario,r.component_order,r.component,r.gas,ROUND(100.0 * r.gas / t.total_gas, 1) AS pct_of_scenario,t.total_gas,r.noteFROM rows rJOIN totals t ON r.scenario = t.scenarioORDER BY r.scenario_order, r.component_order