Skip to content
Snippets Groups Projects
Unverified Commit ec1153a3 authored by Dónal Murray's avatar Dónal Murray
Browse files

Replace extrinsic_call with block for clean_open_channel_requests

parent aa9e2caf
No related merge requests found
......@@ -320,8 +320,10 @@ mod benchmarks {
let outgoing = (0..c).map(|id| (id + PREFIX_1).into()).collect::<Vec<ParaId>>();
let config = Configuration::<T>::config();
#[extrinsic_call]
Hrmp::<T>::clean_open_channel_requests(&config, &outgoing);
#[block]
{
Hrmp::<T>::clean_open_channel_requests(&config, &outgoing);
}
assert_eq!(HrmpOpenChannelRequestsList::<T>::decode_len().unwrap_or_default() as u32, 0);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment