Closed gabriele-0201 closed 11 months ago
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite.
I have manually created the SlowAdjustingFeeUpdate with parameters specified in the runtime instead of using the struct specified in polkadot_runtime_common. This allows integration testing (implemented in #176) to work on both weight and length multipliers. Having tests already in place would simplify the process of changing and testing one parameter from the default
Move all of the fee adjustment logic into a separate pallet accordingly to #173
Storage items are
TargetBlockSize
andNextLengthMultiplier
, both needing initial values. I decided to define default values for them when empty. This could also be solved with a GenesisConfig of the pallet, but it seems very complicated and would likely require additional steps for the runtime upgrade. Using default values for the storage items should not require any custom handling for the upgrade.