Skip to content

Commit

Permalink
Fix the wasm runtime substitute caching bug (paritytech#1416)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cem Eliguzel authored Sep 6, 2023
1 parent 8254c92 commit 608455e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/client/service/src/client/wasm_substitutes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 608455e

Please sign in to comment.