Skip to content

Commit 062aa26

Browse files
committed
fix usage of prove-stark
1 parent cf1806f commit 062aa26

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

crates/host-bench/src/lib.rs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,6 @@ pub async fn run_ceno_reth_benchmark(args: HostArgs) -> eyre::Result<()> {
423423
let mut pub_io = CenoStdin::default();
424424

425425
info_span!("app.hints").in_scope(|| -> eyre::Result<_> {
426-
// TODO research and probably switch to openvm deserialer (they are
427-
// derived from risc0) let words =
428-
// openvm::serde::to_vec(&client_input).unwrap();
429-
// let bytes: Vec<u8> = words.into_iter().flat_map(|w|
430-
// w.to_le_bytes()).collect();
431426
hints.write(&client_input)?;
432427
pub_io.write(&block_hash.0)?;
433428
Ok(())
@@ -462,16 +457,7 @@ pub async fn run_ceno_reth_benchmark(args: HostArgs) -> eyre::Result<()> {
462457
let mut pub_io = CenoStdin::default();
463458

464459
info_span!("app.hints").in_scope(|| -> eyre::Result<_> {
465-
let bytes = bincode::serde::encode_to_vec(
466-
&client_input,
467-
bincode::config::standard(),
468-
)?;
469-
// TODO research and probably switch to openvm deserialer (they are
470-
// derived from risc0) let words =
471-
// openvm::serde::to_vec(&client_input).unwrap();
472-
// let bytes: Vec<u8> = words.into_iter().flat_map(|w|
473-
// w.to_le_bytes()).collect();
474-
hints.write(&bytes)?;
460+
hints.write(&client_input)?;
475461
pub_io.write(&block_hash.0)?;
476462
Ok(())
477463
})?;

0 commit comments

Comments
 (0)