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 3090762 commit 2ca828dCopy full SHA for 2ca828d
async_substrate_interface/sync_substrate.py
@@ -737,6 +737,9 @@ def init_runtime(
737
f"No runtime information for block '{block_hash}'"
738
)
739
740
+ if runtime_version == self.runtime_version:
741
+ return
742
+
743
runtime = self.runtime_cache.retrieve(runtime_version=runtime_version)
744
if not runtime or runtime.metadata is None:
745
self.last_block_hash = block_hash
0 commit comments