update comment for clarification (#31700)

This commit is contained in:
Tao Zhu 2023-05-18 12:37:09 -05:00 committed by GitHub
parent 3ac5bb2a60
commit 039991e780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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())