Skip to content

Commit

Permalink
Remove DynamicDispatchResult in benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
imstar15 committed Jul 31, 2023
1 parent eb25f28 commit 5afe04b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pallets/automation-time/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,6 @@ benchmarks! {
let call: <T as Config>::Call = frame_system::Call::remark { remark: vec![] }.into();
let encoded_call = call.encode();
}: { AutomationTime::<T>::run_dynamic_dispatch_action(caller.clone(), encoded_call, task_id.clone()) }
verify {
// assert_last_event::<T>(Event::DynamicDispatchResult{ who: caller, task_id: task_id.clone(), result: Ok(()) }.into())
}

run_dynamic_dispatch_action_fail_decode {
let caller: T::AccountId = account("caller", 0, SEED);
Expand Down

0 comments on commit 5afe04b

Please sign in to comment.