Skip to content

Commit de95260

Browse files
committed
Added WeightV1 and WeightV2 JAMdotTech/py-polkadot-sdk#252
1 parent a12c199 commit de95260

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

scalecodec/type_registry/default.json

+15-1
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,21 @@
15381538
]
15391539
]
15401540
},
1541-
"Weight": "u64",
1541+
"WeightV1": "u64",
1542+
"WeightV2": {
1543+
"type": "struct",
1544+
"type_mapping": [
1545+
[
1546+
"ref_time",
1547+
"Compact<u64>"
1548+
],
1549+
[
1550+
"proof_size",
1551+
"Compact<u64>"
1552+
]
1553+
]
1554+
},
1555+
"Weight": "WeightV1",
15421556
"WeightMultiplier": "Fixed64",
15431557
"XcmResponse": {
15441558
"type": "enum",

0 commit comments

Comments
 (0)