Update System Weights (#5888)
* Update system weights * Use maximum block weight for scheduler * Update offences to use full block * Move weight inside if statement * Add one read to offences `on_initialize` * Delete factory test * Revert "Delete factory test" This reverts commit 8f95aacd. * Revert "Add one read to offences `on_initialize`" This reverts commit 7df7ebc7. * Revert "Move weight inside if statement" This reverts commit 87277d07. * Revert "Update offences to use full block" This reverts commit 0bbe0ce1 . * Use scheduler in Sudo * Apply suggestions from code review Co-authored-by: Alexander Popiak <[email protected]> * Revert "Use scheduler in Sudo" This reverts commit 95bd2768 . * remove max extrinsic weight (it does nothing useful) * fix tests * introduce `sudo_unchecked_weight` * bump spec version * scheduler 80 percent of maximum * Update `set_changes_trie_config` weight * Update bin/node/runtime/src/lib.rs * Update frame/democracy/src/tests.rs * Update tests.rs * update based on feedback Co-authored-by: Alexander Popiak <[email protected]>
parent
8ddc9b0f
Please register or sign in to comment