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

add comment warning about hardcoded smith metadata

parent 3cab44eb
No related branches found
No related tags found
No related merge requests found
Pipeline #19527 passed
This commit is part of merge request !147. Comments created here will be created in the context of that merge request.
......@@ -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