We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ccd0c3 commit 87e9537Copy full SHA for 87e9537
async_substrate_interface/sync_substrate.py
@@ -763,12 +763,6 @@ def init_runtime(
763
)
764
765
766
- self.load_runtime(
767
- runtime_info=runtime_info,
768
- metadata=metadata,
769
- metadata_v15=metadata_v15,
770
- )
771
-
772
runtime = Runtime(
773
chain=self.chain,
774
runtime_config=self.runtime_config,
@@ -778,6 +772,13 @@ def init_runtime(
778
runtime_info=runtime_info,
779
780
self.runtime_cache.add_item(runtime_version=runtime_version, runtime=runtime)
775
+
776
+ self.load_runtime(
777
+ runtime_info=runtime.runtime_info,
+ metadata=runtime.metadata,
+ metadata_v15=runtime.metadata_v15,
+ )
781
782
return runtime
783
784
def create_storage_key(
0 commit comments