Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Dec 13, 2024
1 parent ce723a4 commit 784abd9
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 54 deletions.
100 changes: 50 additions & 50 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
services:
# OP Succinct Server
op-succinct-server-bob-testnet:
build:
context: .
dockerfile: ./proposer/succinct/Dockerfile
env_file:
- ${ENV_FILE:-.env.bobtestnet}
restart: unless-stopped
ports:
- "3001:3001"
# # OP Succinct Server
# op-succinct-server-bob-testnet:
# build:
# context: .
# dockerfile: ./proposer/succinct/Dockerfile
# env_file:
# - ${ENV_FILE:-.env.bobtestnet}
# restart: unless-stopped
# ports:
# - "3001:3001"

# OP Succinct Proposer
op-succinct-proposer-bob-testnet:
build:
context: .
dockerfile: ./proposer/op/Dockerfile.op_proposer
env_file:
- ${ENV_FILE:-.env.bobtestnet}
restart: unless-stopped
depends_on:
- op-succinct-server-bob-testnet
volumes:
- ./db:/usr/local/bin/dbdata
# The metrics port is the default port for the OP Proposer.
ports:
- "7301:7301"
# OP Succinct Server
op-succinct-server-conduit-10s:
build:
context: .
dockerfile: ./proposer/succinct/Dockerfile
env_file:
- ${ENV_FILE:-.env.conduit10s}
restart: unless-stopped
ports:
- "3005:3005"
# # OP Succinct Proposer
# op-succinct-proposer-bob-testnet:
# build:
# context: .
# dockerfile: ./proposer/op/Dockerfile.op_proposer
# env_file:
# - ${ENV_FILE:-.env.bobtestnet}
# restart: unless-stopped
# depends_on:
# - op-succinct-server-bob-testnet
# volumes:
# - ./db:/usr/local/bin/dbdata
# # The metrics port is the default port for the OP Proposer.
# ports:
# - "7301:7301"
# # OP Succinct Server
# op-succinct-server-conduit-10s:
# build:
# context: .
# dockerfile: ./proposer/succinct/Dockerfile
# env_file:
# - ${ENV_FILE:-.env.conduit10s}
# restart: unless-stopped
# ports:
# - "3005:3005"

# OP Succinct Proposer
op-succinct-proposer-conduit-10s:
build:
context: .
dockerfile: ./proposer/op/Dockerfile.op_proposer
env_file:
- ${ENV_FILE:-.env.conduit10s}
restart: unless-stopped
depends_on:
- op-succinct-server-conduit-10s
volumes:
- ./db:/usr/local/bin/dbdata
# The metrics port is the default port for the OP Proposer.
ports:
- "7305:7305"
# # OP Succinct Proposer
# op-succinct-proposer-conduit-10s:
# build:
# context: .
# dockerfile: ./proposer/op/Dockerfile.op_proposer
# env_file:
# - ${ENV_FILE:-.env.conduit10s}
# restart: unless-stopped
# depends_on:
# - op-succinct-server-conduit-10s
# volumes:
# - ./db:/usr/local/bin/dbdata
# # The metrics port is the default port for the OP Proposer.
# ports:
# - "7305:7305"

# Worldchain Mainnet
op-succinct-server-worldchain-mainnet:
Expand Down
2 changes: 1 addition & 1 deletion proposer/op/proposer/prove.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

const PROOF_STATUS_TIMEOUT = 30 * time.Second
const WITNESS_GEN_TIMEOUT = 20 * time.Minute
const WITNESS_GEN_TIMEOUT = 40 * time.Minute

// This limit is set to prevent overloading the witness generation server. Until Kona improves their native I/O API (https://github.com/anton-rs/kona/issues/553)
// the maximum number of concurrent witness generation requests is roughly num_cpu / 2. Set it to 5 for now to be safe.
Expand Down
3 changes: 0 additions & 3 deletions proposer/succinct/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@ RUN curl -L https://sp1.succinct.xyz | bash && \
# --mount=type=cache,target=/build/target \
# cargo build --bin server --release && \
# cp target/release/server /build/server && \
# cp target/release-client-lto/fault-proof /build/fault_proof && \
# cp target/release-client-lto/range /build/range && \
# cp target/native_host_runner/release/native_host_runner /build/native_host_runner

COPY target/release/server /build/server
COPY target/release-client-lto/fault-proof /build/fault_proof
COPY target/release-client-lto/range /build/range
COPY target/native_host_runner/release/native_host_runner /build/native_host_runner

Expand Down Expand Up @@ -78,7 +76,6 @@ RUN curl -L https://sp1.succinct.xyz | bash && \

# Copy only the built binaries from builder
COPY --from=builder /build/server /usr/local/bin/server
COPY --from=builder /build/fault_proof /usr/local/bin/fault_proof
COPY --from=builder /build/range /usr/local/bin/range
COPY --from=builder /build/native_host_runner /usr/local/bin/native_host_runner

Expand Down

0 comments on commit 784abd9

Please sign in to comment.