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