chore: bump spec versions for mainnet upgrade (RC 1_020_005, AH 1_020_005, People 1_020_008)
This commit is contained in:
@@ -138,7 +138,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
|
||||
impl_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
|
||||
authoring_version: 1,
|
||||
spec_version: 1_020_007,
|
||||
spec_version: 1_020_005,
|
||||
impl_version: 0,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
transaction_version: 16,
|
||||
|
||||
@@ -157,7 +157,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: alloc::borrow::Cow::Borrowed("people-pezkuwichain"),
|
||||
impl_name: alloc::borrow::Cow::Borrowed("people-pezkuwichain"),
|
||||
authoring_version: 1,
|
||||
spec_version: 1_020_007,
|
||||
spec_version: 1_020_008,
|
||||
impl_version: 0,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
transaction_version: 1,
|
||||
|
||||
@@ -134,10 +134,9 @@ impl xcm_executor::traits::ConvertOrigin<RuntimeOrigin> for RelayWelatiPlurality
|
||||
) -> Result<RuntimeOrigin, Location> {
|
||||
let origin = origin.into();
|
||||
match (kind, origin.unpack()) {
|
||||
(
|
||||
OriginKind::Superuser,
|
||||
(1, [Plurality { id: BodyId::Index(40 | 41 | 42), .. }]),
|
||||
) => Ok(RuntimeOrigin::root()),
|
||||
(OriginKind::Superuser, (1, [Plurality { id: BodyId::Index(40..=42), .. }])) => {
|
||||
Ok(RuntimeOrigin::root())
|
||||
},
|
||||
_ => Err(origin),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user