runtime: prepare Westend runtime for BEEFY (#2914)

* runtime: bump westend spec_version and add beefy keys migration

* bump beefy

* runtime: revert westend spec_version change
This commit is contained in:
André Silva
2021-04-21 13:00:14 +01:00
committed by GitHub
parent 47889d845c
commit 142a0aec2f
2 changed files with 7 additions and 6 deletions
+5 -5
View File
@@ -452,7 +452,7 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]] [[package]]
name = "beefy-gadget" name = "beefy-gadget"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#7fa0c1c084f88b56c5b4515e8ff94d25330d2e97" source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#846e0ef3b929d8922ddadaaea8e664754fada39a"
dependencies = [ dependencies = [
"beefy-primitives", "beefy-primitives",
"futures 0.3.14", "futures 0.3.14",
@@ -479,7 +479,7 @@ dependencies = [
[[package]] [[package]]
name = "beefy-gadget-rpc" name = "beefy-gadget-rpc"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#7fa0c1c084f88b56c5b4515e8ff94d25330d2e97" source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#846e0ef3b929d8922ddadaaea8e664754fada39a"
dependencies = [ dependencies = [
"beefy-gadget", "beefy-gadget",
"beefy-primitives", "beefy-primitives",
@@ -500,7 +500,7 @@ dependencies = [
[[package]] [[package]]
name = "beefy-primitives" name = "beefy-primitives"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#7fa0c1c084f88b56c5b4515e8ff94d25330d2e97" source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#846e0ef3b929d8922ddadaaea8e664754fada39a"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-api", "sp-api",
@@ -4458,7 +4458,7 @@ dependencies = [
[[package]] [[package]]
name = "pallet-beefy" name = "pallet-beefy"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#7fa0c1c084f88b56c5b4515e8ff94d25330d2e97" source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=master#846e0ef3b929d8922ddadaaea8e664754fada39a"
dependencies = [ dependencies = [
"beefy-primitives", "beefy-primitives",
"frame-support", "frame-support",
@@ -10550,7 +10550,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04f8ab788026715fa63b31960869617cba39117e520eb415b0139543e325ab59" checksum = "04f8ab788026715fa63b31960869617cba39117e520eb415b0139543e325ab59"
dependencies = [ dependencies = [
"cfg-if 0.1.10", "cfg-if 0.1.10",
"rand 0.7.3", "rand 0.3.23",
"static_assertions", "static_assertions",
] ]
+2 -1
View File
@@ -91,6 +91,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("westend"), spec_name: create_runtime_str!("westend"),
impl_name: create_runtime_str!("parity-westend"), impl_name: create_runtime_str!("parity-westend"),
authoring_version: 2, authoring_version: 2,
// NOTE: see https://github.com/paritytech/polkadot/wiki/Westend
spec_version: 51, spec_version: 51,
impl_version: 0, impl_version: 0,
#[cfg(not(feature = "disable-runtime-api"))] #[cfg(not(feature = "disable-runtime-api"))]
@@ -840,7 +841,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>, frame_system::ChainContext<Runtime>,
Runtime, Runtime,
AllPallets, AllPallets,
(), UpgradeSessionKeys,
>; >;
/// The payload being signed in transactions. /// The payload being signed in transactions.
pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>; pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>;