Link pallet-wot instances to related instances of pallet-certification and pallet-membership
The problem is described here on the forum: https://forum.duniter.org/t/pallets-instanciables-et-verifications-dadhesion/11699
This is necessary for example:
- to check that an identity is member of the matching wot when it wants to emit a cert
- to check that the target of the cert is member of the matching wot or has a pending membership to this wot
Integration tests showing the problem:
-
test_smith_certification
(Bob can add smith cert to Dave even if he has no pending smith membership) - TODO other tests