From 12ff4fd742ca3fe66eae95da6df53be90afd9b3b Mon Sep 17 00:00:00 2001 From: Mitchell Turner Date: Mon, 21 Oct 2024 15:42:13 +0300 Subject: [PATCH] Update crates/fuel-gas-price-algorithm/src/v1.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: MÃ¥rten Blankfors --- crates/fuel-gas-price-algorithm/src/v1.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/fuel-gas-price-algorithm/src/v1.rs b/crates/fuel-gas-price-algorithm/src/v1.rs index 7d658bb9942..e56286840a7 100644 --- a/crates/fuel-gas-price-algorithm/src/v1.rs +++ b/crates/fuel-gas-price-algorithm/src/v1.rs @@ -165,9 +165,10 @@ pub struct AlgorithmUpdaterV1 { /// the activity is increased The chain activity exists on a scale /// between 0 and the sum of the normal, hold, and decrease buffers. /// -/// e.g. if the decrease buffer size is 20, the hold buffer size is 60, and the increase buffer size is 40: +/// e.g. if the decrease activity threshold is 20, the hold activity threshold is 80, and the max activity is 120, +/// we'd have the following ranges: /// -/// 0<-- decrease buffer -->20<-- hold buffer -->80<-- normal buffer -->120 +/// 0 <-- decrease range -->20<-- hold range -->80<-- normal range -->120 /// /// The current chain activity determines the behavior of the DA gas price. ///