Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stone-prover submodule #25

Merged
merged 2 commits into from
Aug 12, 2024
Merged
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
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ Cargo.lock
Scarb.lock
.snfoundry_cache/

stone-prover

bootloader*.json

# Python
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "stone-prover"]
path = stone-prover
url = https://github.com/iosis-tech/stone-prover.git
2 changes: 1 addition & 1 deletion delegator.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Use the official Rust image from the Docker Hub
# Stage 1: Use the official Rust image from the Docker Hub
FROM rust:latest

# Set the working directory inside the container
Expand Down
7 changes: 2 additions & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ services:
dockerfile: delegator.dockerfile
image: zetina-delegator
hostname: zetina-delegator
depends_on:
- zetina-runtime
- zetina-executor
deploy:
resources:
limits:
cpus: '10'
memory: '10G'
cpus: '1'
memory: '1G'
environment:
- RUST_LOG=info
networks:
Expand Down
6 changes: 3 additions & 3 deletions executor.dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Use the base runtime image
FROM zetina-runtime:latest

# Expose necessary ports
EXPOSE 5678/udp 5679/tcp

# Build
RUN cargo build --release --bin zetina-executor

# Expose necessary ports
EXPOSE 5678/udp 5679/tcp
1 change: 1 addition & 0 deletions stone-prover
Submodule stone-prover added at 23845d
Loading