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

Benchmark's successful origin api update #13146

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
try successful origin unimplemented by default
  • Loading branch information
muharem committed Jan 15, 2023
commit cbe6311d8e5804e5308a3413ded9bdf685f4c31e
2 changes: 1 addition & 1 deletion frame/support/src/traits/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub trait EnsureOrigin<OuterOrigin> {
/// ** Should be used for benchmarking only!!! **
#[cfg(feature = "runtime-benchmarks")]
fn try_successful_origin() -> Result<OuterOrigin, ()> {
Ok(Self::successful_origin())
unimplemented!();
ggwpez marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand Down