From 039991e780f738a936aa88de12e56fa790128ada Mon Sep 17 00:00:00 2001 From: Tao Zhu <82401714+taozhu-chicago@users.noreply.github.com> Date: Thu, 18 May 2023 12:37:09 -0500 Subject: [PATCH] update comment for clarification (#31700) --- core/src/banking_stage/consumer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/banking_stage/consumer.rs b/core/src/banking_stage/consumer.rs index b073afc829..fd9804d48d 100644 --- a/core/src/banking_stage/consumer.rs +++ b/core/src/banking_stage/consumer.rs @@ -430,8 +430,8 @@ impl Consumer { } = execute_and_commit_transactions_output; // once feature `apply_cost_tracker_during_replay` is activated, leader shall no longer - // adjust block with executed cost (a behavior more inline with bankless leader), instead - // will be exclusively using requested `compute_unit_limit` in cost tracking. + // adjust block with executed cost (a behavior more inline with bankless leader), it + // should use requested, or default `compute_unit_limit` as transaction's execution cost. if !bank .feature_set .is_active(&feature_set::apply_cost_tracker_during_replay::id())