Skip to content

Commit 87d435a

Browse files
committed
feat: v4.1.0-dev (#2047)
1 parent 285fb8e commit 87d435a

File tree

5 files changed

+15
-59
lines changed

5 files changed

+15
-59
lines changed

Cargo.toml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -97,50 +97,6 @@ p3-uni-stark = "=0.2.0-succinct"
9797
p3-maybe-rayon = "=0.2.0-succinct"
9898
p3-bn254-fr = "=0.2.0-succinct"
9999

100-
# For local development.
101-
102-
# p3-air = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
103-
# p3-field = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
104-
# p3-commit = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
105-
# p3-matrix = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
106-
# p3-baby-bear = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
107-
# p3-util = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
108-
# p3-challenger = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
109-
# p3-dft = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
110-
# p3-fri = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
111-
# p3-goldilocks = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
112-
# p3-keccak = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
113-
# p3-keccak-air = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
114-
# p3-blake3 = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
115-
# p3-mds = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
116-
# p3-merkle-tree = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
117-
# p3-poseidon2 = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
118-
# p3-symmetric = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
119-
# p3-uni-stark = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
120-
# p3-maybe-rayon = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
121-
# p3-bn254-fr = { git = "https://github.com/succinctlabs/plonky3-private", branch = "sp1-v4" }
122-
123-
# p3-air = { path = "../Plonky3/air" }
124-
# p3-field = { path = "../Plonky3/field" }
125-
# p3-commit = { path = "../Plonky3/commit" }
126-
# p3-matrix = { path = "../Plonky3/matrix" }
127-
# p3-baby-bear = { path = "../Plonky3/baby-bear" }
128-
# p3-util = { path = "../Plonky3/util" }
129-
# p3-challenger = { path = "../Plonky3/challenger" }
130-
# p3-dft = { path = "../Plonky3/dft" }
131-
# p3-fri = { path = "../Plonky3/fri" }
132-
# p3-goldilocks = { path = "../Plonky3/goldilocks" }
133-
# p3-keccak = { path = "../Plonky3/keccak" }
134-
# p3-keccak-air = { path = "../Plonky3/keccak-air" }
135-
# p3-blake3 = { path = "../Plonky3/blake3" }
136-
# p3-mds = { path = "../Plonky3/mds" }
137-
# p3-merkle-tree = { path = "../Plonky3/merkle-tree" }
138-
# p3-poseidon2 = { path = "../Plonky3/poseidon2" }
139-
# p3-symmetric = { path = "../Plonky3/symmetric" }
140-
# p3-uni-stark = { path = "../Plonky3/uni-stark" }
141-
# p3-maybe-rayon = { path = "../Plonky3/maybe-rayon" }
142-
# p3-bn254-fr = { path = "../Plonky3/bn254-fr" }
143-
144100
# misc
145101
hashbrown = "0.14.5"
146102
itertools = "0.13.0"

crates/cuda/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl SP1CudaProver {
107107
pub fn new() -> Result<Self, Box<dyn StdError>> {
108108
let container_name = "sp1-gpu";
109109
let image_name = std::env::var("SP1_GPU_IMAGE")
110-
.unwrap_or_else(|_| "public.ecr.aws/succinct-labs/moongate:v4.0.0".to_string());
110+
.unwrap_or_else(|_| "public.ecr.aws/succinct-labs/moongate:v4.1.0".to_string());
111111

112112
let cleaned_up = Arc::new(AtomicBool::new(false));
113113
let cleanup_name = container_name;

crates/perf/workflow_prove.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ GIT_REF=$(git rev-parse --abbrev-ref HEAD)
66
# Define the list of CPU workloads.
77
CPU_WORKLOADS=(
88
"v4/chess"
9-
# "v4/fibonacci"
10-
# "v4/json"
11-
# "v4/regex"
12-
# "v4/rsp"
13-
# "v4/ssz-withdrawals"
14-
# "v4/tendermint"
9+
"v4/fibonacci"
10+
"v4/json"
11+
"v4/regex"
12+
"v4/rsp"
13+
"v4/ssz-withdrawals"
14+
"v4/tendermint"
1515
)
1616

1717
# Define the list of CUDA workloads.
1818
CUDA_WORKLOADS=(
1919
"v4/chess"
20-
# "v4/fibonacci"
21-
# "v4/json"
22-
# "v4/regex"
23-
# "v4/rsp"
24-
# "v4/ssz-withdrawals"
25-
# "v4/tendermint"
20+
"v4/fibonacci"
21+
"v4/json"
22+
"v4/regex"
23+
"v4/rsp"
24+
"v4/ssz-withdrawals"
25+
"v4/tendermint"
2626
)
2727

2828
# Define the list of network workloads.

crates/sdk/src/network/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl NetworkProverBuilder {
7676
pub fn build(self) -> NetworkProver {
7777
let private_key = match self.private_key {
7878
Some(private_key) => private_key,
79-
None => std::env::var("NETWORK_PRIVATE_KEY").expect(
79+
None => std::env::var("NETWORK_PRIVATE_KEY").ok().filter(|k| !k.is_empty()).expect(
8080
"NETWORK_PRIVATE_KEY environment variable is not set. \
8181
Please set it to your private key or use the .private_key() method.",
8282
),

patch-testing/sp1-test/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub fn pretty_comparison(
111111
name,
112112
old,
113113
new,
114-
((old as f64 - new as f64) / old as f64) * 100.0
114+
((new as f64 - old as f64) / old as f64) * 100.0
115115
)?;
116116
}
117117

0 commit comments

Comments
 (0)