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

Method with_resource_metering

crates/execution/node/src/node.rs:1136–1139  ·  view source on GitHub ↗

Configure resource metering by opcode for the native payload builder.

(mut self, resource_metering: ResourceMeteringConfig)

Source from the content-addressed store, hash-verified

1134
1135 /// Configure resource metering by opcode for the native payload builder.
1136 pub fn with_resource_metering(mut self, resource_metering: ResourceMeteringConfig) -> Self {
1137 self.resource_metering = resource_metering;
1138 self
1139 }
1140
1141 /// Configure the shared rejection cache for permanently rejected transactions.
1142 pub fn with_rejection_cache(mut self, rejection_cache: RejectionCache) -> Self {

Callers 1

runnerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected