Skip to content
Snippets Groups Projects
Unverified Commit 74d09f01 authored by bgallois's avatar bgallois
Browse files

fix benchmarks test suite

parent aec2a73a
Branches
Tags
1 merge request!186Remove gdev-benchmark chainspecs
Pipeline #33705 waiting for manual action
......@@ -136,6 +136,8 @@ impl pallet_identity::Config for Test {
type RevocationSignature = TestSignature;
type RuntimeEvent = RuntimeEvent;
type WeightInfo = ();
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkSetupHandler = ();
}
// Membership
......@@ -155,6 +157,8 @@ impl pallet_membership::Config<Instance1> for Test {
type RuntimeEvent = RuntimeEvent;
type WeightInfo = ();
type PendingMembershipPeriod = PendingMembershipPeriod;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkSetupHandler = ();
}
// Cert
......@@ -211,6 +215,8 @@ impl pallet_membership::Config<Instance2> for Test {
type PendingMembershipPeriod = SmithPendingMembershipPeriod;
type WeightInfo = ();
type RuntimeEvent = RuntimeEvent;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkSetupHandler = ();
}
// SmithCert
......
......@@ -84,11 +84,11 @@ benchmarks! {
impl_benchmark_test_suite!(
Pallet,
crate::mock::new_test_ext(crate::mock::UniversalDividendConfig {
first_reeval: 48_000,
first_ud: 6_000,
first_reeval: Some(48_000),
first_ud: Some(6_000),
initial_monetary_mass: 0,
initial_members: vec![1],
ud,
ud: 10,
}),
crate::mock::Test
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment