mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 00:47:55 +00:00
Fix the wasm runtime substitute caching bug (#1416)
This commit is contained in:
@@ -126,7 +126,7 @@ where
|
||||
let runtime_code = RuntimeCode {
|
||||
code_fetcher: &WrappedRuntimeCode((&code).into()),
|
||||
heap_pages: None,
|
||||
hash: Vec::new(),
|
||||
hash: make_hash(&code),
|
||||
};
|
||||
let version = Self::runtime_version(&executor, &runtime_code)?;
|
||||
let spec_version = version.spec_version;
|
||||
|
||||
Reference in New Issue
Block a user