Commit 13a09ec 1 parent ab3d443 commit 13a09ec Copy full SHA for 13a09ec
File tree 3 files changed +5
-4
lines changed
pallets/core/src/modules/trust_registry
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ pub struct InitOrUpdateTrustRegistry<T: TypesAndLimits> {
43
43
#[ scale_info( omit_prefix) ]
44
44
pub struct SetSchemasMetadata < T : TypesAndLimits > {
45
45
pub registry_id : TrustRegistryId ,
46
- pub schemas : MultiTargetUpdate < TrustRegistrySchemaId , SchemaMetadataModification < T > > ,
46
+ pub schemas :
47
+ MultiTargetUpdate < TrustRegistrySchemaId , TrustRegistrySchemaMetadataModification < T > > ,
47
48
pub nonce : T :: BlockNumber ,
48
49
}
49
50
Original file line number Diff line number Diff line change @@ -612,7 +612,7 @@ newdid =>
612
612
line!( ) ,
613
613
vec![ (
614
614
schema_ids[ 0 ] ,
615
- SchemaMetadataModification :: Modify ( OnlyExistent (
615
+ TrustRegistrySchemaMetadataModification :: Modify ( OnlyExistent (
616
616
TrustRegistrySchemaMetadataUpdate {
617
617
issuers: Some ( IssuersUpdate :: <Test >:: Modify (
618
618
MultiTargetUpdate :: from_iter( [ (
Original file line number Diff line number Diff line change @@ -531,12 +531,12 @@ impl<T: Limits> TrustRegistrySchemaMetadataUpdate<T> {
531
531
}
532
532
}
533
533
534
- pub type SchemaMetadataModification < T > = SetOrAddOrRemoveOrModify <
534
+ pub type TrustRegistrySchemaMetadataModification < T > = SetOrAddOrRemoveOrModify <
535
535
TrustRegistrySchemaMetadata < T > ,
536
536
OnlyExistent < TrustRegistrySchemaMetadataUpdate < T > > ,
537
537
> ;
538
538
539
- impl < T : Limits > SchemaMetadataModification < T > {
539
+ impl < T : Limits > TrustRegistrySchemaMetadataModification < T > {
540
540
pub ( super ) fn record_inner_issuers_and_verifiers_diff (
541
541
& self ,
542
542
entity : & Option < TrustRegistrySchemaMetadata < T > > ,
You can’t perform that action at this time.
0 commit comments