aboutsummaryrefslogtreecommitdiff
path: root/zkvms/zkwasm/host/src/main.rs
diff options
context:
space:
mode:
authorKamen Mladenov <kamen@syndamia.com>2025-04-16 11:52:23 +0300
committerKamen Mladenov <kamen@syndamia.com>2025-04-23 17:28:22 +0300
commit3d7b8956c11eeef81ea88d1e94c3690a1d3bda1e (patch)
treec1b20345398ec9aaaee0170183cdee52edcf0085 /zkvms/zkwasm/host/src/main.rs
parentcde8452f059bc2f918b43c451404ea8927e34b47 (diff)
downloadzkVMs-benchmarks-3d7b8956c11eeef81ea88d1e94c3690a1d3bda1e.tar
zkVMs-benchmarks-3d7b8956c11eeef81ea88d1e94c3690a1d3bda1e.tar.gz
zkVMs-benchmarks-3d7b8956c11eeef81ea88d1e94c3690a1d3bda1e.zip
fix(zkvms/zkwasm): Explicit type in argument
In certain cases, we would get errors that the "x" type cannot be inferred.
Diffstat (limited to 'zkvms/zkwasm/host/src/main.rs')
-rw-r--r--zkvms/zkwasm/host/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zkvms/zkwasm/host/src/main.rs b/zkvms/zkwasm/host/src/main.rs
index d04938a..288c3a5 100644
--- a/zkvms/zkwasm/host/src/main.rs
+++ b/zkvms/zkwasm/host/src/main.rs
@@ -28,7 +28,7 @@ macro_rules! build_input {
}
let bytes = all
.into_iter()
- .map(|x| x.to_be_bytes())
+ .map(|x: u64| x.to_be_bytes())
.flatten()
.collect::<Vec<u8>>();
std::fs::write($path, bytes);