File tree 1 file changed +4
-2
lines changed
sugondat-chain/runtimes/sugondat-kusama/src 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,10 @@ parameter_types! {
32
32
33
33
pub storage NextLengthMultiplier : Multiplier = Multiplier :: saturating_from_integer( 1 ) ;
34
34
pub storage TargetBlockSize : Perquintill = Perquintill :: from_percent( 16 ) ; // 0.8MiB
35
- // TODO: update those value accordingly with https://github.com/thrumdev/blobs/issues/16
36
- pub AdjustmentVariableBlockSize : Multiplier = Multiplier :: saturating_from_rational( 75 , 1_000_000 ) ;
35
+ // v = p / k * (1 - s*) = 0.3 / (300 * (1 - 0.16))
36
+ // at most 30% (=p) fees variation in one hour, 300 blocks (=k)
37
+ pub AdjustmentVariableBlockSize : Multiplier = Multiplier :: saturating_from_rational( 1 , 840 ) ;
38
+ // TODO: decide the value of MinimumMultiplierBlockSize, https://github.com/thrumdev/blobs/issues/154
37
39
pub MinimumMultiplierBlockSize : Multiplier = Multiplier :: saturating_from_rational( 1 , 10u128 ) ;
38
40
pub MaximumMultiplierBlockSize : Multiplier = Bounded :: max_value( ) ;
39
41
}
You can’t perform that action at this time.
0 commit comments