MCPcopy Create free account
hub / github.com/base/base / headers_cache

Method headers_cache

crates/proof/rpc/src/l2_client.rs:173–175  ·  view source on GitHub ↗

Returns the headers cache.

(&self)

Source from the content-addressed store, hash-verified

171
172 /// Returns the headers cache.
173 pub const fn headers_cache(&self) -> &MeteredCache<B256, BaseHeader> {
174 &self.headers_cache
175 }
176
177 /// Returns the proofs cache.
178 pub const fn proofs_cache(&self) -> &MeteredCache<ProofCacheKey, EIP1186AccountProofResponse> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected