Skip to content

Commit

Permalink
Update substrate/client/executor/src/wasm_runtime.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Köcher <git@kchr.de>
  • Loading branch information
RomarQ and bkchr authored Nov 26, 2024
1 parent 2da154a commit 9e4abc7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions substrate/client/executor/src/wasm_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,12 @@ fn compute_artifact_version(
code_hash: &[u8],
semantics: &sc_executor_wasmtime::Semantics,
) -> String {
log::trace!(
tracing::trace!(
target: "wasmtime-runtime",
"Computing wasm runtime hash [allow_missing_func_imports: {}, code_hash: {}, semantics: {:?}]",
allow_missing_func_imports, sp_core::bytes::to_hex(&code_hash, false), semantics
allow_missing_func_imports,
code_hash = sp_core::bytes::to_hex(&code_hash, false),
?semantics,
"Computing wasm runtime hash",
);
let mut buffer = Vec::new();
buffer.extend_from_slice(code_hash);
Expand Down

0 comments on commit 9e4abc7

Please sign in to comment.