Skip to content

Commit

Permalink
Enable Passkey transactions on Mainnet (#2199)
Browse files Browse the repository at this point in the history
# Goal
The goal of this PR is to enable Passkey pallet features on Mainnet

Closes #2197 

# Discussion


# Checklist
- [x] Spec version incremented?
  • Loading branch information
aramikm authored Oct 28, 2024
1 parent 9ba9bdd commit 368422e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions runtime/frequency/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -1248,8 +1247,6 @@ construct_runtime!(
Capacity: pallet_capacity::{Pallet, Call, Storage, Event<T>, FreezeReason} = 64,
FrequencyTxPayment: pallet_frequency_tx_payment::{Pallet, Call, Event<T>} = 65,
Handles: pallet_handles::{Pallet, Call, Storage, Event<T>} = 66,
// Currently enabled only under feature flag
#[cfg(any(not(feature = "frequency"), feature = "frequency-lint-check"))]
Passkey: pallet_passkey::{Pallet, Call, Storage, Event<T>, ValidateUnsigned} = 67,
}
);
Expand Down

0 comments on commit 368422e

Please sign in to comment.