Skip to content

Commit

Permalink
Alphabetically sort runtime config types
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Oct 24, 2024
1 parent d99fc35 commit 8d57919
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pallets/attestation/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ impl pallet_staking_extension::Config for Test {
type AttestationHandler = ();
type Currency = Balances;
type MaxEndpointLength = MaxEndpointLength;
type PckCertChainVerifier = pallet_staking_extension::pck::MockPckCertChainVerifyer;
type Randomness = TestPastRandomness;
type RuntimeEvent = RuntimeEvent;
type WeightInfo = ();
type PckCertChainVerifier = pallet_staking_extension::pck::MockPckCertChainVerifyer;
}

parameter_types! {
Expand Down
2 changes: 1 addition & 1 deletion pallets/propagation/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ impl pallet_staking_extension::Config for Test {
type AttestationHandler = ();
type Currency = Balances;
type MaxEndpointLength = MaxEndpointLength;
type PckCertChainVerifier = pallet_staking_extension::pck::MockPckCertChainVerifyer;
type Randomness = TestPastRandomness;
type RuntimeEvent = RuntimeEvent;
type WeightInfo = ();
type PckCertChainVerifier = pallet_staking_extension::pck::MockPckCertChainVerifyer;
}

parameter_types! {
Expand Down
2 changes: 1 addition & 1 deletion pallets/registry/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,10 @@ impl pallet_staking_extension::Config for Test {
type AttestationHandler = ();
type Currency = Balances;
type MaxEndpointLength = MaxEndpointLength;
type PckCertChainVerifier = pallet_staking_extension::pck::MockPckCertChainVerifyer;
type Randomness = TestPastRandomness;
type RuntimeEvent = RuntimeEvent;
type WeightInfo = ();
type PckCertChainVerifier = pallet_staking_extension::pck::MockPckCertChainVerifyer;
}

parameter_types! {
Expand Down
2 changes: 1 addition & 1 deletion pallets/staking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,10 @@ impl pallet_staking_extension::Config for Test {
type AttestationHandler = MockAttestationHandler;
type Currency = Balances;
type MaxEndpointLength = MaxEndpointLength;
type PckCertChainVerifier = MockPckCertChainVerifyer;
type Randomness = TestPastRandomness;
type RuntimeEvent = RuntimeEvent;
type WeightInfo = ();
type PckCertChainVerifier = MockPckCertChainVerifyer;
}

// Build genesis storage according to the mock runtime.
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,10 @@ impl pallet_staking_extension::Config for Runtime {
type AttestationHandler = Attestation;
type Currency = Balances;
type MaxEndpointLength = MaxEndpointLength;
type PckCertChainVerifier = pallet_staking_extension::pck::MockPckCertChainVerifyer;
type Randomness = pallet_babe::RandomnessFromOneEpochAgo<Runtime>;
type RuntimeEvent = RuntimeEvent;
type WeightInfo = weights::pallet_staking_extension::WeightInfo<Runtime>;
type PckCertChainVerifier = pallet_staking_extension::pck::MockPckCertChainVerifyer;
}

parameter_types! {
Expand Down

0 comments on commit 8d57919

Please sign in to comment.