Prep for Westend to Rococo Header Sync (#915)

* Bump Rococo and Westend RuntimeVersions

* Add helper scripts for running Rococo<>Westend header sync

* Remove extra space

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
This commit is contained in:
Hernando Castano
2021-04-20 17:19:34 -04:00
committed by Bastian Köcher
parent f857771ce8
commit 25a4151a8b
2 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -32,14 +32,15 @@ pub type Rococo = PolkadotLike;
pub type UncheckedExtrinsic = bp_polkadot_core::UncheckedExtrinsic<Call>; pub type UncheckedExtrinsic = bp_polkadot_core::UncheckedExtrinsic<Call>;
// NOTE: This needs to be kept up to date with the Rococo runtime found in the Polkadot repo.
pub const VERSION: RuntimeVersion = RuntimeVersion { pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: sp_version::create_runtime_str!("rococo"), spec_name: sp_version::create_runtime_str!("rococo"),
impl_name: sp_version::create_runtime_str!("parity-rococo-v1-1"), impl_name: sp_version::create_runtime_str!("parity-rococo-v1.5"),
authoring_version: 0, authoring_version: 0,
spec_version: 30, spec_version: 231,
impl_version: 0, impl_version: 0,
apis: sp_version::create_apis_vec![[]], apis: sp_version::create_apis_vec![[]],
transaction_version: 6, transaction_version: 0,
}; };
/// Rococo Runtime `Call` enum. /// Rococo Runtime `Call` enum.
+2 -2
View File
@@ -32,12 +32,12 @@ pub type Westend = PolkadotLike;
pub type UncheckedExtrinsic = bp_polkadot_core::UncheckedExtrinsic<Call>; pub type UncheckedExtrinsic = bp_polkadot_core::UncheckedExtrinsic<Call>;
/// Runtime version. // NOTE: This needs to be kept up to date with the Westend runtime found in the Polkadot repo.
pub const VERSION: RuntimeVersion = RuntimeVersion { pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: sp_version::create_runtime_str!("westend"), spec_name: sp_version::create_runtime_str!("westend"),
impl_name: sp_version::create_runtime_str!("parity-westend"), impl_name: sp_version::create_runtime_str!("parity-westend"),
authoring_version: 2, authoring_version: 2,
spec_version: 50, spec_version: 51,
impl_version: 0, impl_version: 0,
apis: sp_version::create_apis_vec![[]], apis: sp_version::create_apis_vec![[]],
transaction_version: 5, transaction_version: 5,