File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sugondat-chain/runtimes/sugondat-kusama/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,10 @@ parameter_types! {
3232
3333 pub storage NextLengthMultiplier : Multiplier = Multiplier :: saturating_from_integer( 1 ) ;
3434 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
3739 pub MinimumMultiplierBlockSize : Multiplier = Multiplier :: saturating_from_rational( 1 , 10u128 ) ;
3840 pub MaximumMultiplierBlockSize : Multiplier = Bounded :: max_value( ) ;
3941}
You can’t perform that action at this time.
0 commit comments