File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
async_substrate_interface Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1018,12 +1018,6 @@ async def init_runtime(
10181018 )
10191019 )
10201020
1021- await self .load_runtime (
1022- runtime_info = runtime_info ,
1023- metadata = metadata ,
1024- metadata_v15 = metadata_v15 ,
1025- )
1026-
10271021 runtime = Runtime (
10281022 chain = self .chain ,
10291023 runtime_config = self .runtime_config ,
@@ -1033,6 +1027,13 @@ async def init_runtime(
10331027 runtime_info = runtime_info ,
10341028 )
10351029 self .runtime_cache .add_item (runtime_version = runtime_version , runtime = runtime )
1030+
1031+ await self .load_runtime (
1032+ runtime_info = runtime .runtime_info ,
1033+ metadata = runtime .metadata ,
1034+ metadata_v15 = runtime .metadata_v15 ,
1035+ )
1036+
10361037 return runtime
10371038
10381039 async def create_storage_key (
You can’t perform that action at this time.
0 commit comments