Skip to content

Commit 3ff8c3b

Browse files
author
Arjan Zijderveld
committed
Type registry update
1 parent 31bf46f commit 3ff8c3b

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

scalecodec/type_registry/default.json

+15-2
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,21 @@
350350
]
351351
]
352352
},
353-
"FullIdentification": "Exposure",
354-
"IdentificationTuple": "(ValidatorId, FullIdentification)",
353+
"FullIdentification": {
354+
"type": "struct",
355+
"type_mapping": [
356+
["total", "Compact<Balance>"],
357+
["own", "Compact<Balance>"],
358+
["others", "Vec<IndividualExposure>"]
359+
]
360+
},
361+
"IdentificationTuple": {
362+
"type": "struct",
363+
"type_mapping": [
364+
["validatorId", "ValidatorId"],
365+
["exposure", "FullIdentification"]
366+
]
367+
},
355368
"SetId": "u64",
356369
"Reasons": {
357370
"type": "enum",

0 commit comments

Comments
 (0)