Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Dec 17, 2024
1 parent 0702a44 commit bc4d286
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion node/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ where
timestamp.timestamp(),
SlotDuration::from_millis(RELAY_CHAIN_SLOT_DURATION_MILLIS as u64),
);

// Create a mocked parachain inherent data provider to pass all validations in the
// parachain system.
// Without this, the pending functionality will fail.
Expand All @@ -428,6 +427,7 @@ where
downward_messages: Default::default(),
horizontal_messages: Default::default(),
};

Ok((timestamp, parachain_inherent_data))
};

Expand Down
2 changes: 1 addition & 1 deletion pallet/account-migration/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion {
frame_support::parameter_types! {
pub const Version: sp_version::RuntimeVersion = VERSION;
}
#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
Expand Down
2 changes: 1 addition & 1 deletion pallet/deposit/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use frame_support::derive_impl;
use sp_io::TestExternalities;
use sp_runtime::BuildStorage;

#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type Block = frame_system::mocking::MockBlock<Self>;
Expand Down
2 changes: 1 addition & 1 deletion pallet/ethtx-forwarder/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use sp_std::prelude::*;
pub type AccountId = sp_core::H160;
pub type Balance = u64;

#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
Expand Down
2 changes: 1 addition & 1 deletion pallet/staking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl Display for AccountId {
write!(f, "{}", self.0)
}
}
#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
Expand Down
2 changes: 1 addition & 1 deletion precompile/assets/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl From<Account> for sp_core::H256 {
}
}

#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
Expand Down
2 changes: 1 addition & 1 deletion precompile/state-storage/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl Into<H160> for Account {
}
}

#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
Expand Down
2 changes: 1 addition & 1 deletion runtime/crab/src/pallets/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ frame_support::parameter_types! {
pub const Version: sp_version::RuntimeVersion = VERSION;
}

#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
Expand Down
2 changes: 1 addition & 1 deletion runtime/darwinia/src/pallets/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ frame_support::parameter_types! {
pub const Version: sp_version::RuntimeVersion = VERSION;
}

#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
Expand Down
2 changes: 1 addition & 1 deletion runtime/koi/src/pallets/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ frame_support::parameter_types! {
pub const Version: sp_version::RuntimeVersion = VERSION;
}

#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
Expand Down

0 comments on commit bc4d286

Please sign in to comment.