Add BEEFY capabilities to Westend and Kusama (#7591)

* runtime: add BEEFY and MMR to Westend

Signed-off-by: Adrian Catangiu <adrian@parity.io>

* runtime: add BEEFY and MMR to Kusama

Signed-off-by: Adrian Catangiu <adrian@parity.io>

* node/service: enable BEEFY for Westend and Kusama

Signed-off-by: Adrian Catangiu <adrian@parity.io>

* node/service: regenerate genesis keys for westend-native and kusama-native

Since these keys are only used for development/local chains, also publish
the secret seeds used to generate the public keys, so that developers can
recover/generate the private key pairs if needed.

Signed-off-by: Adrian Catangiu <adrian@parity.io>

* runtime: add session keys migration to add BEEFY to Westend and Kusama

* runtime: fix migration

* fix try-runtime build

* cargo fmt

* fix parachains slashing benchmark

* address review comments

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <git@kchr.de>

* runtime: fix session keys migration

---------

Signed-off-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Adrian Catangiu
2023-08-22 12:08:54 +03:00
committed by GitHub
parent 515ec1a98b
commit ce728be008
14 changed files with 638 additions and 247 deletions
+1 -6
View File
@@ -46,12 +46,7 @@ fn sample_size_is_sensible() {
#[test]
fn call_size() {
assert!(
core::mem::size_of::<RuntimeCall>() <= 230,
"size of RuntimeCall is more than 230 bytes: some calls have too big arguments, use Box to reduce \
the size of RuntimeCall.
If the limit is too strong, maybe consider increase the limit to 300.",
);
RuntimeCall::assert_size_under(256);
}
#[test]