From 00ced37085ab61726d7feb37127268f18789e77e Mon Sep 17 00:00:00 2001 From: Aramik Date: Fri, 25 Oct 2024 13:03:35 -0700 Subject: [PATCH 1/2] Enable Passkey transactions on Mainnet --- e2e/package-lock.json | 3 ++- runtime/frequency/src/lib.rs | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/e2e/package-lock.json b/e2e/package-lock.json index 94a5961d24..64badb16cf 100644 --- a/e2e/package-lock.json +++ b/e2e/package-lock.json @@ -2197,7 +2197,8 @@ "node_modules/@frequency-chain/api-augment": { "version": "0.0.0", "resolved": "file:../js/api-augment/dist/frequency-chain-api-augment-0.0.0.tgz", - "integrity": "sha512-KySS+LrgUlm46nyG7YalU6N70EeJiXHy2whviI5p00k1fh26LVKtFJtMENFJPpHNoxgfNyaKSDFiwFH4Xb3kIA==", + "integrity": "sha512-F7WdPWkU1rhFCZBX5pL31wegfCt9vctJxM6D7dYbEjUrR/X/MC0ddfb5H7B4xHltqZxs+DeL4I6685aS6P+IzA==", + "license": "Apache-2.0", "dependencies": { "@polkadot/api": "^14.1.1", "@polkadot/rpc-provider": "^14.1.1", diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index 601db4afc5..2a0fb4218f 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -956,7 +956,6 @@ impl pallet_frequency_tx_payment::Config for Runtime { } /// Configurations for passkey pallet -#[cfg(any(not(feature = "frequency"), feature = "frequency-lint-check"))] impl pallet_passkey::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; @@ -1248,8 +1247,6 @@ construct_runtime!( Capacity: pallet_capacity::{Pallet, Call, Storage, Event, FreezeReason} = 64, FrequencyTxPayment: pallet_frequency_tx_payment::{Pallet, Call, Event} = 65, Handles: pallet_handles::{Pallet, Call, Storage, Event} = 66, - // Currently enabled only under feature flag - #[cfg(any(not(feature = "frequency"), feature = "frequency-lint-check"))] Passkey: pallet_passkey::{Pallet, Call, Storage, Event, ValidateUnsigned} = 67, } ); From 965ad9dea1a7ac1257da0d0577ecdf9e7ce746c4 Mon Sep 17 00:00:00 2001 From: Aramik Date: Fri, 25 Oct 2024 13:05:16 -0700 Subject: [PATCH 2/2] bump spec version --- runtime/frequency/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index 2a0fb4218f..34f24da1ed 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -381,7 +381,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("frequency"), impl_name: create_runtime_str!("frequency"), authoring_version: 1, - spec_version: 122, + spec_version: 123, impl_version: 0, apis: apis::RUNTIME_API_VERSIONS, transaction_version: 1, @@ -395,7 +395,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("frequency-testnet"), impl_name: create_runtime_str!("frequency"), authoring_version: 1, - spec_version: 122, + spec_version: 123, impl_version: 0, apis: apis::RUNTIME_API_VERSIONS, transaction_version: 1,