Query editor
-- VERIFY budget fit, with the required execution work shown separately.-- Key point: FrameTx separates cheap admission from expensive execution.-- Admission + keyed nonce is one combined 52,636 gas path and fits VERIFY.-- Full Railgun execution is still needed, but it stays in execution rather than VERIFY.WITH rows AS (SELECT * FROM (VALUES(1, 'VERIFY budget', 'Budget cap', 100000, 'Limit', 'Public-mempool VERIFY cap'),(2, 'VERIFY: admission only', 'Keyed nonce consumption', 44109, 'Fits', 'First-use keyed nonce path counted inside the combined admission cost'),(2, 'VERIFY: admission only', 'Other admission checks', 8527, 'Fits', 'Remaining checks in the local minimal admission prototype'),(3, 'Execution: full Railgun tx', 'Verifier arithmetic', 180896, 'Execution', 'MULMOD + ADDMOD in today’s direct private-transfer verifier path'),(3, 'Execution: full Railgun tx', 'Other proof/EVM compute', 348631, 'Execution', 'Remaining proof/EVM compute: verifier scaffolding, stack/memory/control-flow opcodes, and other compute'),(3, 'Execution: full Railgun tx', 'State/account access', 132200, 'Execution', 'Measured address/state access bucket'),(3, 'Execution: full Railgun tx', 'State writes', 76200, 'Execution', 'Measured state-growth bucket'),(3, 'Execution: full Railgun tx', 'Logs/history', 7104, 'Execution', 'Measured logs/history bucket'),(3, 'Execution: full Railgun tx', 'Memory + bloom', 2029, 'Execution', 'Measured memory plus bloom-topic buckets'),(3, 'Execution: full Railgun tx', 'Other / unattributed', 240014, 'Execution', 'Residual profiler bucket')) AS t(sort_key, item, component, gas, result, note))SELECT *FROM rowsORDER BY sort_key,CASE componentWHEN 'Budget cap' THEN 1WHEN 'Keyed nonce consumption' THEN 1WHEN 'Other admission checks' THEN 2WHEN 'Verifier arithmetic' THEN 1WHEN 'Other proof/EVM compute' THEN 2WHEN 'State/account access' THEN 3WHEN 'State writes' THEN 4WHEN 'Logs/history' THEN 5WHEN 'Memory + bloom' THEN 6WHEN 'Other / unattributed' THEN 7ELSE 99END