Skip to content

Commit

Permalink
Added Polymesh type registry #74
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanz committed Jul 11, 2022
1 parent 3bcbaf4 commit d2f5758
Show file tree
Hide file tree
Showing 4 changed files with 5,681 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scalecodec/type_registry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

SUPPORTED_TYPE_REGISTRY_PRESETS = ('canvas', 'default', 'development', 'kusama', 'polkadot', 'rococo', 'metadata_types',
'substrate-node-template', 'westend', 'statemint', 'statemine', 'karura',
'moonbeam', 'moonriver', 'moonbase-alpha', 'crust', 'test')
'moonbeam', 'moonriver', 'moonbase-alpha', 'crust', 'polymesh-mainnet',
'polymesh-testnet', 'test')

ONLINE_BASE_URL = 'https://raw.githubusercontent.com/polkascan/py-scale-codec/v1.0/scalecodec/type_registry/'

Expand Down
2 changes: 1 addition & 1 deletion scalecodec/type_registry/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -7733,7 +7733,7 @@
"KeyValue": "(StorageKey, StorageData)",
"KeyTypeId": "u32",
"LookupSource": "Address",

"IndicesLookupSource": "LookupSource",
"LookupTarget": "AccountId",
"Perbill": "u32",
"Permill": "u32",
Expand Down
Loading

0 comments on commit d2f5758

Please sign in to comment.