Skip to content
  • Tomasz Drwięga's avatar
    Streamline frame_system weight parametrization (#6629) · 39a776cd
    Tomasz Drwięga authored
    
    
    * Basic weights builder.
    
    * Fixing WiP
    
    * Make the tests work.
    
    * Fix weights in node/runtime.
    
    * WiP.
    
    * Update pallets with new weights parameters.
    
    * Validate returns a Result now.
    
    * Count mandatory weight separately.
    
    * DRY
    
    * BREAKING: Updating state root, because of the left-over weight-tracking stuff
    
    * Update tests affected by Mandatory tracking.
    
    * Fixing tests.
    
    * Fix defaults for simple_max
    
    * Update frame/system/src/weights.rs
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Rework the API a bit.
    
    * Fix compilation & tests.
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Add extra docs & rename few things.
    
    * Fix whitespace in ASCII art.
    
    * Update frame/system/src/limits.rs
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * Fix max_extrinsic calculations.
    
    * Fix conflicts.
    
    * Fix compilation.
    
    * Fix new code.
    
    * re-remove generic asset
    
    * Fix usage.
    
    * Update state root.
    
    * Update proxy.
    
    * Fix tests.
    
    * Move weights validity to integrity_test
    
    * Remove redundant BlockWeights.
    
    * Add all/non_mandatory comment
    
    * Add test.
    
    * Remove fn block_weights
    
    * Make the macro prettier.
    
    * Fix some docs.
    
    * Make max_total behave more predictabily.
    
    * Add BlockWeights to metadata.
    
    * fix balances test
    
    * Fix utility test.
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    Co-authored-by: default avatarShawn Tabrizi <[email protected]>
    Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
    Co-authored-by: default avatarthiolliere <[email protected]>
    39a776cd