mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 05:51:02 +00:00
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:
@@ -190,7 +190,8 @@ benchmarks_instance_pallet! {
|
||||
let reason_hash = T::Hashing::hash(&reason[..]);
|
||||
let hash = T::Hashing::hash_of(&(&reason_hash, &beneficiary));
|
||||
ensure!(Tips::<T, I>::contains_key(hash), "tip does not exist");
|
||||
}: _(RawOrigin::Root, hash)
|
||||
let reject_origin = T::RejectOrigin::successful_origin();
|
||||
}: _<T::Origin>(reject_origin, hash)
|
||||
|
||||
impl_benchmark_test_suite!(TipsMod, crate::tests::new_test_ext(), crate::tests::Test);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user