Skip to content
Commit 2b8f6e9d authored by Oliver Tale-Yazdi's avatar Oliver Tale-Yazdi Committed by GitHub
Browse files

Runtime dependent weights (#5064)



* Copy Substrate weights into each runtime

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Define weights per runtime

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Do the same for test-runtime

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix CI

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Generate multiplier tests via macro

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix tests

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix CI

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix imports

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix test

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix imports

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Change rococo tests to use ExtrinsicBaseWeight

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix imports

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Spellcheck on

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Spellcheck on

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Spellcheck

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Re-Export weight constants in the runtime

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Prepare for cumulus companion

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fmt

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

Co-authored-by: default avatarShawn Tabrizi <[email protected]>
parent 078bf680
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