Getter for total gas cost.
| 73 | |
| 74 | /// Getter for total gas cost. |
| 75 | uint64_t getTotalCost() const { |
| 76 | return CostSum.load(std::memory_order_relaxed); |
| 77 | } |
| 78 | std::atomic_uint64_t &getTotalCostRef() { return CostSum; } |
| 79 | |
| 80 | /// Getter and setter for cost limit. |
no test coverage detected