Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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),
Copy link
Copy Markdown
Contributor

@michalkucharczyk michalkucharczyk Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this doc is outdated (guess that scale-encoding is not really needed)?

};
let version = Self::runtime_version(&executor, &runtime_code)?;
let spec_version = version.spec_version;
Expand Down