Skip to content

Commit 03f93e1

Browse files
author
Arjan Zijderveld
committed
Type registry update
1 parent d784fab commit 03f93e1

File tree

4 files changed

+43
-4
lines changed

4 files changed

+43
-4
lines changed

scalecodec/type_registry/default.json

+7
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,13 @@
243243
["last_write", "Option<BlockNumber>"]
244244
]
245245
},
246+
"Pays": {
247+
"type": "enum",
248+
"value_list": [
249+
"Yes",
250+
"No"
251+
]
252+
},
246253
"DispatchClass": {
247254
"type": "enum",
248255
"value_list": [

scalecodec/type_registry/kulupu.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
{
22
"runtime_id": 3,
33
"types": {
4-
"Weight": "u64"
4+
"Weight": "u64",
5+
"DispatchInfo": {
6+
"type": "struct",
7+
"type_mapping": [
8+
["weight", "Weight"],
9+
["class", "DispatchClass"],
10+
["paysFee", "Pays"]
11+
]
12+
}
513
}
614
}

scalecodec/type_registry/kusama.json

+26-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@
1515
["parachains", "AccountId"]
1616
]
1717
},
18-
"Keys": "SessionKeysPolkadot"
18+
"Keys": "SessionKeysPolkadot",
19+
"DispatchInfo": {
20+
"type": "struct",
21+
"type_mapping": [
22+
["weight", "Weight"],
23+
["class", "DispatchClass"],
24+
["paysFee", "Pays"]
25+
]
26+
}
1927
},
2028
"versioning": [
2129
{
@@ -195,7 +203,7 @@
195203
}
196204
},
197205
{
198-
"runtime_range": [1019, 1058],
206+
"runtime_range": [1019, 1061],
199207
"types": {
200208
"Heartbeat": {
201209
"type": "struct",
@@ -205,6 +213,14 @@
205213
["sessionIndex", "SessionIndex"],
206214
["authorityIndex", "AuthIndex"]
207215
]
216+
},
217+
"DispatchInfo": {
218+
"type": "struct",
219+
"type_mapping": [
220+
["weight", "Weight"],
221+
["class", "DispatchClass"],
222+
["paysFee", "bool"]
223+
]
208224
}
209225
}
210226
},
@@ -220,6 +236,14 @@
220236
["authorityIndex", "AuthIndex"],
221237
["validatorsLen", "u32"]
222238
]
239+
},
240+
"DispatchInfo": {
241+
"type": "struct",
242+
"type_mapping": [
243+
["weight", "Weight"],
244+
["class", "DispatchClass"],
245+
["paysFee", "Pays"]
246+
]
223247
}
224248
}
225249
}

scalecodec/type_registry/nodle.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"runtime_id": 198,
2+
"runtime_id": 13,
33
"types": {
44
"BlockNumber": "u32",
55
"Keys": {

0 commit comments

Comments
 (0)