Skip to content

Commit b102887

Browse files
authored
Merge pull request #225 from succinctlabs/aurelien/gro2-550-fix-moongate-statefulness-issue
feat: handle stateless proving request
1 parent b2c64c4 commit b102887

File tree

5 files changed

+171
-70
lines changed

5 files changed

+171
-70
lines changed

Cargo.lock

Lines changed: 37 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ debug-assertions = true
1919
[workspace.dependencies]
2020

2121
# sp1
22-
sp1-core-executor = { version = "4.2.0" }
23-
sp1-core-machine = { version = "4.2.0" }
24-
sp1-prover = { version = "4.2.0" }
25-
sp1-recursion-core = { version = "4.2.0" }
26-
sp1-cuda = { version = "4.2.0" }
27-
sp1-stark = { version = "4.2.0" }
28-
sp1-eval = { version = "4.2.0" }
22+
sp1-core-executor = { version = "4.2.1" }
23+
sp1-core-machine = { version = "4.2.1" }
24+
sp1-prover = { version = "4.2.1" }
25+
sp1-recursion-core = { version = "4.2.1" }
26+
sp1-cuda = { version = "4.2.1" }
27+
sp1-stark = { version = "4.2.1" }
28+
sp1-eval = { version = "4.2.1" }
2929

3030
# p3
3131
p3-interpolation = "=0.2.2-succinct"

Dockerfile.server

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ RUN apt-get update && apt-get install -y \
1111
pkg-config \
1212
&& rm -rf /var/lib/apt/lists/*
1313

14+
# Define a TMPDIR on the same "filesystem" as /root for rustup
15+
ENV RUSTUP_TMPDIR=/root/rustup_tmp
16+
# For general temp operations, also good to ensure it's not on a different device
17+
ENV TMPDIR=${RUSTUP_TMPDIR}
18+
19+
RUN mkdir -p /root/rustup_tmp
20+
1421
# Install Rust
1522
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
1623
ENV PATH="/root/.cargo/bin:${PATH}"

server/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ edition = "2021"
66
[dependencies]
77
sp1-prover = { workspace = true }
88
sp1-core-executor = { workspace = true }
9+
sp1-core-machine = { workspace = true }
910
sp1-cuda = { workspace = true }
11+
sp1-stark = { workspace = true }
1012
moongate-core = { path = "../core" }
1113
moongate-prover = { path = "../prover" }
1214
tokio = { version = "^1.38.0", features = ["full"] }
@@ -20,6 +22,7 @@ http-body-util = "0.1.2"
2022
bytes = "1.7.2"
2123
serde_json = "1.0.128"
2224
http = "1.1.0"
25+
sha2 = "0.10.8"
2326

2427
[target.'cfg(not(target_env = "msvc"))'.dependencies]
2528
jemallocator = "0.3.2"

0 commit comments

Comments
 (0)