Skip to content

Commit

Permalink
feat: works
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Feb 4, 2025
1 parent 8e30989 commit 1dcf579
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 79 deletions.
81 changes: 9 additions & 72 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ alloy-rpc-types-engine = { version = "0.11.0", default-features = false }
alloy-rpc-types-beacon = { version = "0.11.0", default-features = false }

# Keccak with the SHA3 patch is more efficient than the default Keccak.
alloy-primitives = { version = "0.8.19", default-features = false, features = ["sha3-keccak"] }
alloy-primitives = { version = "0.8.19", default-features = false }
# alloy-primitives = { version = "0.8.19", default-features = false, features = ["sha3-keccak"] }
alloy-sol-types = { version = "0.8.19", default-features = false }

# OP Alloy
Expand All @@ -111,7 +112,9 @@ sp1-lib = { version = "4.0.0", features = ["verify"] }
# sp1-sdk = { version = "4.0.0" }
# TODO: Switch back to version tag once the alloy bump is merged
sp1-sdk = { git = "https://github.com/succinctlabs/sp1", branch = "ratan/bump-alloy" }
sp1-zkvm = { version = "4.0.0", features = ["verify", "embedded"] }
# sp1-zkvm = { version = "4.0.0", features = ["verify", "embedded"] }
sp1-zkvm = { version = "4.0.0", features = ["verify"] }

# TODO: Switch back to version tag once the Docker workspace directory change is merged.
sp1-build = { git = "https://github.com/succinctlabs/sp1", branch = "ratan/bump-alloy" }

Expand All @@ -126,4 +129,4 @@ tiny-keccak = { git = "https://github.com/sp1-patches/tiny-keccak", tag = "patch
sha2 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", tag = "patch-sha2-0.10.8-sp1-4.0.0" }
ecdsa = { git = "https://github.com/sp1-patches/signatures", tag = "patch-0.16.9-sp1-4.0.0" }
substrate-bn = { git = "https://github.com/sp1-patches/bn", tag = "patch-0.6.0-sp1-4.0.0" }
sha3 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha3", tag = "patch-sha3-0.10.8-sp1-4.0.0" }
# sha3 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha3", tag = "patch-sha3-0.10.8-sp1-4.0.0" }
Binary file modified elf/range-elf
Binary file not shown.
8 changes: 4 additions & 4 deletions utils/build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ fn build_zkvm_program(program: &str) {
BuildArgs {
elf_name: Some(format!("{}-elf", program)),
output_directory: Some("../../elf".to_string()),
docker: true,
tag: "v4.0.0-rc.10".to_string(),
workspace_directory: Some("../../".to_string()),
// docker: true,
// tag: "v4.0.0-rc.10".to_string(),
// workspace_directory: Some("../../".to_string()),
..Default::default()
},
);
Expand All @@ -29,7 +29,7 @@ fn build_zkvm_program(program: &str) {
/// programs.
pub fn build_all() {
// Build range program.
// build_zkvm_program("range");
build_zkvm_program("range");

// Build aggregation program.
// build_zkvm_program("aggregation");
Expand Down

0 comments on commit 1dcf579

Please sign in to comment.