Unverified Commit 6b66b177 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

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: default avatarAlexander 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: default avatarAlexander Popiak <[email protected]>
parent 8ddc9b0f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment