Skip to content

Commit

Permalink
clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
codeblooded1729 committed May 20, 2024
1 parent 9f7c09e commit ffbca83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions build_scripts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[package]
categories = ["cryptography"]
description = "Build scripts for mozak examples"
edition = "2021"
keywords = ["crypto", "zero-knowledge", "vm"]
license = "All rights reserved"
name = "build_scripts"
readme = "README.md"
repository = "https://github.com/0xmozak/mozak-vm"
version = "0.1.0"
edition = "2021"

[dependencies]
4 changes: 2 additions & 2 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ fn main() -> Result<()> {
Command::Run(RunArgs { elf, system_tape }) => {
let program = load_program(elf).unwrap();
let self_prog_id = get_self_prog_id::<F, C, D>(&program, &config);
let raw_tapes = raw_tapes_from_system_tape(system_tape, self_prog_id.into());
let raw_tapes = raw_tapes_from_system_tape(system_tape, self_prog_id);
let state: State<F> = State::new(program.clone(), raw_tapes);
step(&program, state)?;
}
Expand All @@ -147,7 +147,7 @@ fn main() -> Result<()> {
}) => {
let program = load_program(elf).unwrap();
let self_prog_id = get_self_prog_id::<F, C, D>(&program, &config);
let raw_tapes = raw_tapes_from_system_tape(system_tape, self_prog_id.clone());
let raw_tapes = raw_tapes_from_system_tape(system_tape, self_prog_id);
let state = State::new(program.clone(), raw_tapes);
let record = step(&program, state)?;
let stark = if cli.debug {
Expand Down

0 comments on commit ffbca83

Please sign in to comment.