Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix mock weight info
Browse files Browse the repository at this point in the history
  • Loading branch information
hirschenberger committed Oct 11, 2021
1 parent a3330da commit 9d51dd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/parachains/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl crate::ump::Config for Test {
type UmpSink = TestUmpSink;
type FirstMessageFactorPercent = FirstMessageFactorPercent;
type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;
type WeightInfo = crate::ump::WeightInfo<()>;
type WeightInfo = ();
}

impl crate::hrmp::Config for Test {
Expand Down
2 changes: 1 addition & 1 deletion runtime/parachains/src/ump/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ frame_benchmarking::benchmarks! {

frame_benchmarking::impl_benchmark_test_suite!(
Ump,
crate::mock::new_test_ext(Default::default()).build(),
crate::mock::new_test_ext(crate::ump::tests::GenesisConfigBuilder::default().build()),
crate::mock::Test
);

0 comments on commit 9d51dd9

Please sign in to comment.