Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ members = [
resolver = "2"

[workspace.dependencies]
alloy-sol-types = "0.7.7"
alloy-sol-types = "0.7.7"

## Uncomment to minimize the size of produced RISC-V binary
#[profile.release]
#lto = "fat"
#opt-level = "s"
#strip = "symbols"
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ cd program
cargo prove build
```

The produced binary can be found in `target/elf-compilation/riscv32im-succinct-zkvm-elf/release`.
To reduce the size of the binary, uncomment the following lines in `Cargo.toml` (in the project root):

```toml
[profile.release]
lto = "fat"
opt-level = "s"
strip = "symbols"
```

### Execute the Program

To run the program without generating a proof:
Expand Down