Skip to content
lib.rs 36.2 KiB
Newer Older
			if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }
			Ok(batches)
#[cfg(test)]
mod tests {
	use super::*;
Rakan Alhneiti's avatar
Rakan Alhneiti committed
	use frame_system::offchain::CreateSignedTransaction;
	fn validate_transaction_submitter_bounds() {
		fn is_submit_signed_transaction<T>() where
Rakan Alhneiti's avatar
Rakan Alhneiti committed
			T: CreateSignedTransaction<Call>,
Rakan Alhneiti's avatar
Rakan Alhneiti committed
		is_submit_signed_transaction::<Runtime>();