Skip to content
Snippets Groups Projects
Commit e6293136 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

add comment warning about hardcoded smith metadata

parent 14030b41
No related branches found
No related tags found
1 merge request!147Membership pallet benchmark
......@@ -44,6 +44,9 @@ benchmarks_instance_pallet! {
assert_has_event::<T, I>(Event::<T, I>::MembershipRequested(idty).into());
}
request_membership {
// Dave identity (4)
// for main wot, no constraints
// for smith subwot, his pubkey is hardcoded in default metadata
let idty: T::IdtyId = 4.into();
Membership::<T, I>::take(idty);
let caller: T::AccountId = T::AccountIdOf::convert(idty.clone()).unwrap();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment