Skip to content
Snippets Groups Projects
Unverified Commit f6ecabf7 authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

add whitelist_account (#464)

parent 693651c1
No related branches found
No related tags found
No related merge requests found
......@@ -1139,3 +1139,12 @@ macro_rules! add_benchmark {
}
)
}
#[macro_export]
macro_rules! whitelist_account {
($acc:ident) => {
frame_benchmarking::benchmarking::add_to_whitelist(
frame_system::Account::<Runtime>::hashed_key_for(&$acc).into(),
);
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment