Skip to content

Commit e331209

Browse files
author
Arjan Zijderveld
committed
Type registry update Polkadot
1 parent 1191308 commit e331209

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

scalecodec/type_registry/polkadot.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"runtime_id": 24,
2+
"runtime_id": 25,
33
"types": {
44
"Address": "AccountIdAddress",
55
"BlockNumber": "U32",
@@ -36,7 +36,7 @@
3636
]
3737
},
3838
"CompactAssignments": "CompactAssignmentsFrom258",
39-
"RefCount": "u8"
39+
"RefCount": "u32"
4040
},
4141
"versioning": [
4242
{

test/test_type_registry.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ def test_valid_type_registry_presets(self):
215215
self.assertEqual(
216216
type_definition.__name__,
217217
original_type_reg['types'][type_string].__name__,
218-
'Type string "{}" mismatch between latest state and when versioning is applied'
218+
'Type string "{}" mismatch between latest state and when versioning is applied'.format(
219+
type_string
220+
)
219221
)
220222

221223

0 commit comments

Comments
 (0)