Configure resource metering by opcode for the native payload builder.
(mut self, resource_metering: ResourceMeteringConfig)
| 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 { |