Reputation: 20648
I have created a pallet in Substrate node template and trying to create mocks
Already created the implementation for Config as follows
impl frame_system::pallet::Config for Test {
type BaseCallFilter = Everything;
type BlockWeights = ();
type BlockLength = ();
type Origin = Origin;
type Call = Call;
type Index = u64;
type BlockNumber = BlockNumber;
type Hash = H256;
type Hashing = BlakeTwo256;
type AccountId = AccountId;
type Lookup = IdentityLookup<Self::AccountId>;
type Header = Header;
type Event = Event;
type BlockHashCount = BlockHashCount;
type DbWeight = ();
type Version = ();
type PalletInfo = PalletInfo;
type AccountData = pallet_balances::AccountData<Balance>;
type OnNewAccount = ();
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = SS58Prefix;
type OnSetCode = ();
type MaxConsumers = frame_support::traits::ConstU32<16>;
}
But I am getting errors as ^ the trait
frame_system::pallet::Configis not implemented for
Test
which is already implemented. How to fix this issue ?
Upvotes: 0
Views: 664
Reputation: 20648
This happened due to a version update on Substrate Polkadot Version and Closing
Upvotes: 1