Fix Origins Used in Runtime Benchmarks (#12037)

* fix identity benchmark origin

* fix benchmarking macro

* bounties

* democracy

* scheduler

* tips and treasury

* unused

* dunno, this is causing issues
This commit is contained in:
Shawn Tabrizi
2022-08-16 11:36:34 +01:00
committed by GitHub
parent a467983398
commit 2fd028156e
8 changed files with 65 additions and 41 deletions
@@ -318,7 +318,9 @@ benchmarks! {
for i in 0 .. p {
add_proposal::<T>(i)?;
}
}: _(RawOrigin::Root, 0)
let cancel_origin = T::CancelProposalOrigin::successful_origin();
}: _<T::Origin>(cancel_origin, 0)
cancel_referendum {
let referendum_index = add_referendum::<T>(0)?;