File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
sugondat/chain/pallets/length-fee-adjustment/src Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -140,10 +140,14 @@ pub mod pallet {
140
140
pub type TargetBlockSize < T : Config > =
141
141
StorageValue < _ , Perquintill , ValueQuery , TargetBlockSizeDefault > ;
142
142
143
+ /// Genesis config for setting up `NextLengthMultiplier` and `TargetBlockSize` storage.
144
+ /// Set None if the default values `NextLengthMultiplierDefault` & `TargetBlockSizeDefault` are to be used.
143
145
#[ pallet:: genesis_config]
144
146
#[ derive( frame_support:: DefaultNoBound ) ]
145
147
pub struct GenesisConfig < T : Config > {
148
+ /// Genesis set up for next length multiplier storage item
146
149
pub next_length_multiplier : Option < FixedU128 > ,
150
+ /// Genesis set up for target_block_size storage item
147
151
pub target_block_size : Option < Perquintill > ,
148
152
_phantom : PhantomData < T > ,
149
153
}
You can’t perform that action at this time.
0 commit comments