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

Class MapProvider

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

Source from the content-addressed store, hash-verified

2099
2100 #[derive(Debug)]
2101 struct MapProvider(Mutex<HashMap<TxHash, MeterBundleResponse>>);
2102
2103 impl MeteringProvider for MapProvider {
2104 fn get(&self, tx_hash: &TxHash) -> Option<MeterBundleResponse> {

Calls

no outgoing calls