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 2ca828d commit 1189d6eCopy full SHA for 1189d6e
async_substrate_interface/async_substrate.py
@@ -992,6 +992,9 @@ async def init_runtime(
992
f"No runtime information for block '{block_hash}'"
993
)
994
995
+ if runtime_version == self.runtime_version:
996
+ return
997
+
998
runtime = self.runtime_cache.retrieve(runtime_version=runtime_version)
999
if not runtime or runtime.metadata is None:
1000
self.last_block_hash = block_hash
0 commit comments