From 5569946a8fb894a39e4f77f9e8c64d46bbf10748 Mon Sep 17 00:00:00 2001 From: Tao Zhu <82401714+taozhu-chicago@users.noreply.github.com> Date: Wed, 8 Feb 2023 17:33:28 -0600 Subject: [PATCH] correct a comment with right info (#30201) --- runtime/src/cost_model.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/cost_model.rs b/runtime/src/cost_model.rs index f0faf20c7..88b0ea15c 100644 --- a/runtime/src/cost_model.rs +++ b/runtime/src/cost_model.rs @@ -143,11 +143,11 @@ impl CostModel { // calculate bpf cost based on compute budget instructions let mut budget = ComputeBudget::default(); - // Starting from v1.14, cost model uses compute_budget.set_compute_unit_limit to + // Starting from v1.15, cost model uses compute_budget.set_compute_unit_limit to // measure bpf_costs (code below), vs earlier versions that use estimated // bpf instruction costs. The calculated transaction costs are used by leaders // during block packing, different costs for same transaction due to different versions - // will not impact consensus. So for v1.14+, should call compute budget with + // will not impact consensus. So for v1.15+, should call compute budget with // the feature gate `enable_request_heap_frame_ix` enabled. let enable_request_heap_frame_ix = true; let result = budget.process_instructions(