Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' of github.com:paritytech/substrate into kiz-der…
…ive-impl-system
  • Loading branch information
gupnik committed Jul 13, 2023
commit 832d417a957c1c4b71f636a9f1c89c223b0c3e8a
8 changes: 0 additions & 8 deletions frame/examples/default-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,10 @@ pub mod tests {
use frame_support::{derive_impl, parameter_types};
use pallet::{self as pallet_default_config_example, config_preludes::*};

type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Runtime>;
type Block = frame_system::mocking::MockBlock<Runtime>;

frame_support::construct_runtime!(
pub struct Runtime
where
Block = Block,
NodeBlock = Block,
UncheckedExtrinsic = UncheckedExtrinsic,
{
System: frame_system,
DefaultPallet: pallet_default_config_example,
Expand All @@ -168,9 +163,6 @@ pub mod tests {

// type Index = u32;
// type BlockNumber = u32;
// type Header =
// sp_runtime::generic::Header<frame_system::pallet_prelude::BlockNumberFor<Self>,
// Self::Hashing>;
// type Hash = sp_core::hash::H256;
// type Hashing = sp_runtime::traits::BlakeTwo256;
// type AccountId = u64;
Expand Down
2 changes: 1 addition & 1 deletion frame/multisig/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use frame_support::{
assert_noop, assert_ok, derive_impl,
traits::{ConstU32, ConstU64, Contains},
};
use sp_runtime::TokenError;
use sp_runtime::{BuildStorage, TokenError};

type Block = frame_system::mocking::MockBlock<Test>;

Expand Down
2 changes: 1 addition & 1 deletion frame/proxy/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use frame_support::{
RuntimeDebug,
};
use sp_core::H256;
use sp_runtime::traits::BlakeTwo256;
use sp_runtime::{traits::BlakeTwo256, BuildStorage};

type Block = frame_system::mocking::MockBlock<Test>;

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.