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

Class MapProvider

crates/execution/payload/src/builder.rs:2097–2097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2095
2096 #[derive(Debug)]
2097 struct MapProvider(Mutex<HashMap<TxHash, MeterBundleResponse>>);
2098
2099 impl MeteringProvider for MapProvider {
2100 fn get(&self, tx_hash: &TxHash) -> Option<MeterBundleResponse> {

Calls

no outgoing calls