Where the time goesSignature checks ~76% of CPU; voter rewritten once per signer.bytes written per messageN²before
Save the voter onceApply attestations in memory, one SetObservedTx*Voter at the end.applyapplyapplyapplyapplySet voter × 1in memoryif any added
Same store, less gasStore byte-identical; gas_used drops, so ship at an upgrade height.gas_usedLastResultsHash→ upgrade heightwhole KV store compared after every messagenot version-gated in code
Signature cacheOnly successes stored, keyed on exact pubkey, sig and bytes.SHA-256(len|…)hit → truemiss → verifyok: store
Warm it in ebifrostBifrost submits; a bounded goroutine verifies before the block.bifrost gRPCcopy + payloadslot free?verify → cachetxnetwork feesolvencyerrataprice feedbusy → skip, never queue
ResultsBatch messages ~45% faster warmed, 6–9% cold (author's numbers).ObservedTxQuorumIn/batch-quorumdevelop7.70cold7.15warmed4.23 ms