 JesseAbramandShawn Tabrizi
|
5aca3b54d8
|
min collator check (#498)
* min collator check
* change statemint/mine min candidates
* Ci pass
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Apply suggestions from code review
* build fixes
* add error messages to errors
* added validator register check
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
|
2021-06-22 18:59:14 +02:00 |
|
 JesseAbramandShawn Tabrizi
|
37e474a947
|
Add session weight (#477)
* session weight
* decouple session benchmarking and collator selection
* removed mock
* licensing
* benchmarking script
* set benchmarking into runtime
* Update scripts/benchmarks.sh
* real weights
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
|
2021-06-08 13:24:19 +02:00 |
|
  
|
c06e556906
|
Add on_idle hook (#8209)
* add in idle hook
* remaining weight passed through to on_idle
* added weight return
* remove TODO
* weight adjustment fix
* added adjusted weight into tuple
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* compile errors for on_idle in dispatch
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/support/src/dispatch.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* on idle tuple clean up
* register reduced weight
* collect and add reduced wait from on idle call
* better demo example
* Update frame/support/procedural/src/pallet/expand/hooks.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* added tests to dispatch.rs
* idle test on executive
* skip on idle if remaining weight is 0
* Update frame/executive/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* Update frame/support/src/dispatch.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* abstract common logic out to functions
* docs
* remove demo example
* remove debug
* spacing
* docs
* revert template pallet to master
* change reduced weight to used weight
* remove empty line
* lint
* spacing
* Update frame/support/src/traits.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* documentation
* Update frame/support/procedural/src/pallet/expand/hooks.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* docs
* Update frame/support/src/traits.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* docs
* Update frame/support/src/traits.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* Update frame/support/src/traits.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* Update frame/support/src/traits.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
|
2021-03-11 18:04:14 +01:00 |
|