Skip to content

Commit d32a2ff

Browse files
committed
fix tests
1 parent 4c3b343 commit d32a2ff

File tree

1 file changed

+1
-5
lines changed
  • pallets/transaction-fee/src/tests

1 file changed

+1
-5
lines changed

pallets/transaction-fee/src/tests/mock.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ parameter_types! {
217217
}
218218

219219
impl pallet_subtensor::Config for Test {
220-
type RuntimeEvent = RuntimeEvent;
221220
type RuntimeCall = RuntimeCall;
222221
type Currency = Balances;
223222
type InitialIssuance = InitialIssuance;
@@ -318,7 +317,6 @@ impl pallet_crowdloan::Config for Test {
318317
type PalletId = CrowdloanPalletId;
319318
type Currency = Balances;
320319
type RuntimeCall = RuntimeCall;
321-
type RuntimeEvent = RuntimeEvent;
322320
type WeightInfo = pallet_crowdloan::weights::SubstrateWeight<Test>;
323321
type Preimages = Preimage;
324322
type MinimumDeposit = MinimumDeposit;
@@ -395,7 +393,6 @@ parameter_types! {
395393
}
396394

397395
impl pallet_subtensor_swap::Config for Test {
398-
type RuntimeEvent = RuntimeEvent;
399396
type SubnetInfo = SubtensorModule;
400397
type BalanceOps = SubtensorModule;
401398
type ProtocolId = SwapProtocolId;
@@ -437,7 +434,6 @@ impl pallet_scheduler::Config for Test {
437434

438435
impl pallet_evm_chain_id::Config for Test {}
439436
impl pallet_drand::Config for Test {
440-
type RuntimeEvent = RuntimeEvent;
441437
type AuthorityId = TestAuthId;
442438
type Verifier = pallet_drand::verifier::QuicknetVerifier;
443439
type UnsignedPriority = ConstU64<{ 1 << 20 }>;
@@ -493,7 +489,7 @@ impl<LocalCall> frame_system::offchain::CreateInherent<LocalCall> for Test
493489
where
494490
RuntimeCall: From<LocalCall>,
495491
{
496-
fn create_inherent(call: Self::RuntimeCall) -> Self::Extrinsic {
492+
fn create_bare(call: Self::RuntimeCall) -> Self::Extrinsic {
497493
UncheckedExtrinsic::new_inherent(call)
498494
}
499495
}

0 commit comments

Comments
 (0)