Two entrypointsABCI Query and the gRPC registration; the state machine bypasses both.abci_querygRPC→ cachewasm in a tx → GRPCQueryRouter, never cached
Height in the keyLatest resolves to the ready height; a new block means new keys.kindheightmethodrequestcommit → old “latest” entries swept
Singleflight + byte capOne fill per key; errors never stored or shared; 128 MiB LRU.concurrent callers share one fillerrors: each waiter re-runsentry ≤ ¼ of cap
What is cachedSix services; Block, Export, keysign/keygen excluded; quotes only while fresh.typeswasmbankauthdenomschedulerquotes: latest height, blockTime ≥ now − max_lag