From 3ede36656e56b2682bd0604fe23bf258618f4dc5 Mon Sep 17 00:00:00 2001 From: pgolovkin Date: Fri, 4 Feb 2022 12:58:29 +0300 Subject: [PATCH] update types for runtime 22 --- custom_types.json | 2 +- custom_types_mst.json | 2 +- query.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_types.json b/custom_types.json index 8c15c2a..fdef916 100644 --- a/custom_types.json +++ b/custom_types.json @@ -1,5 +1,5 @@ { - "runtime_id": 19, + "runtime_id": 21, "versioning": [ { "runtime_range": [ diff --git a/custom_types_mst.json b/custom_types_mst.json index c000f4a..db6f332 100644 --- a/custom_types_mst.json +++ b/custom_types_mst.json @@ -1,5 +1,5 @@ { - "runtime_id": 19, + "runtime_id": 21, "versioning": [ { "runtime_range": [ diff --git a/query.py b/query.py index ee8a11c..76a3e56 100644 --- a/query.py +++ b/query.py @@ -8,7 +8,7 @@ type_registry=load_type_registry_file('./custom_types.json'), ) -block_hash = substrate.get_block_hash(block_id=3554113) +block_hash = substrate.get_block_hash(block_id=3854841) extrinsics = substrate.get_block(block_hash=block_hash)['extrinsics']