Skip to content

Commit

Permalink
chore: doc devs need go, unneeded clone in prover loop (#1688)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy authored Nov 16, 2024
1 parent 20c5f23 commit 3a1e855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is a guide with helpful information for developers who want to contribute t

## Getting started

You can run the test suite in SP1 core by running the following command:
To build SP1, you must install [Go](https://go.dev/doc/install). You can run the test suite in SP1 core by running the following command:

```bash
cd core
Expand Down
2 changes: 1 addition & 1 deletion crates/core/machine/src/utils/prove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ where
let mut reader = std::io::BufReader::new(file);
let state: ExecutionState =
bincode::deserialize_from(&mut reader).expect("failed to deserialize state");
let mut runtime = Executor::recover(program.clone(), state.clone(), opts);
let mut runtime = Executor::recover(program, state, opts);
runtime.maximal_shapes = shape_config
.map(|config| config.maximal_core_shapes().into_iter().map(|s| s.inner).collect());

Expand Down

0 comments on commit 3a1e855

Please sign in to comment.