Skip to content

Commit

Permalink
feat: new alloc works
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Dec 13, 2024
1 parent 6c64526 commit ce723a4
Show file tree
Hide file tree
Showing 15 changed files with 329 additions and 107 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[net]
git-fetch-with-cli = true
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/target
/data
/execution-reports
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ artifact_*

*.egg-info/

# SP1 Testing Suite Artifacts
sp1-testing-suite-artifacts/

# Contracts
Expand Down
33 changes: 20 additions & 13 deletions Cargo.lock

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

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,15 @@ sp1-lib = { version = "3.3.0", features = ["verify"] }
sp1-zkvm = { git = "https://github.com/succinctlabs/sp1-wip.git", branch = "ratan/allocators", features = ["verify", "embedded", "libm", "lib"], default-features = false }
# Note: This rev includes the SP1 mock groth16 bytes fix, skipping deferred verification, executor opts and network-v2 changes. Also turn off debug assertions on the executor.
# ratan/v3.3.0-network-v2-with-features branch includes the network-v2 changes from `19ae3e1`.
sp1-sdk = { git = "https://github.com/succinctlabs/sp1.git", rev = "3ef33280f638d080a1ceda6de597867e720df660", features = [
sp1-sdk = { git = "https://github.com/succinctlabs/sp1.git", rev = "bb1fade9f0b3aa66637dd5af3657fd007d5f72d1", features = [
"network-v2",
] }
sp1-build = { version = "3.3.0" }
sp1-core-executor = { git = "https://github.com/succinctlabs/sp1.git", rev = "bb1fade9f0b3aa66637dd5af3657fd007d5f72d1" }
sp1-stark = { git = "https://github.com/succinctlabs/sp1.git", rev = "bb1fade9f0b3aa66637dd5af3657fd007d5f72d1" }
p3-baby-bear = "0.1.4-succinct"
p3-fri = "0.1.4-succinct"
p3-field = "0.1.4-succinct"

[profile.release-client-lto]
inherits = "release"
Expand Down
12 changes: 6 additions & 6 deletions contracts/opsuccinctl2ooconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"l2BlockTime": 2,
"owner": "0xDEd0000E32f8F40414d3ab3a830f735a3553E18e",
"proposer": "0xDEd0000E32f8F40414d3ab3a830f735a3553E18e",
"rollupConfigHash": "0x0d7101e2acc7eae1fb42cfce5c604d14da561726e4e01b509315e5a9f97a9816",
"startingBlockNumber": 5726082,
"startingOutputRoot": "0x88cf50185686c85146bdfd3aa17c9624b13a7c3ec912f68026c54171735a0be3",
"startingTimestamp": 1733804652,
"submissionInterval": 1200,
"rollupConfigHash": "0x08b1efa3b7fffb2cd455c9da85e032866e03f281e8957dd651c41f7480af36b7",
"startingBlockNumber": 7329701,
"startingOutputRoot": "0xed41adc7ca1cdaaf5300743ebbc29dd2ec1ff338a2bfc2903bd50211682b4515",
"startingTimestamp": 1733995041,
"submissionInterval": 100000000,
"verifier": "0x397A5f7f3dBd538f23DE225B51f532c34448dA9B",
"aggregationVkey": "0x00ea4171dbd0027768055bee7f6d64e17e9cec99b29aad5d18e5d804b967775b",
"rangeVkeyCommitment": "0x51decb4a49105f2a1403423f560bc55d6d02e5eb57f21d0c5bd6a661555a8e53"
"rangeVkeyCommitment": "0x30551a8d53294391723baf2344d23d0d18cc0fc856fe43db303f9d94447127fa"
}
67 changes: 60 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,80 @@
services:
# OP Succinct Server
op-succinct-server:
op-succinct-server-bob-testnet:
build:
context: .
dockerfile: ./proposer/succinct/Dockerfile
env_file:
- ${ENV_FILE:-.env}
- ${ENV_FILE:-.env.bobtestnet}
restart: unless-stopped
ports:
- "3000:3000"
- "3001:3001"

# OP Succinct Proposer
op-succinct-proposer:
op-succinct-proposer-bob-testnet:
build:
context: .
dockerfile: ./proposer/op/Dockerfile.op_proposer
env_file:
- ${ENV_FILE:-.env}
- ${ENV_FILE:-.env.bobtestnet}
restart: unless-stopped
depends_on:
- op-succinct-server
- op-succinct-server-bob-testnet
volumes:
- ./db:/usr/local/bin/dbdata
# The metrics port is the default port for the OP Proposer.
ports:
- "7300:7300"
- "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"

# Worldchain Mainnet
op-succinct-server-worldchain-mainnet:
build:
context: .
dockerfile: ./proposer/succinct/Dockerfile
env_file:
- .env.worldchainmainnet
restart: unless-stopped
volumes:
- ./execution-reports/docker:/usr/local/bin/execution-reports
ports:
- "3003:3003"

op-succinct-proposer-worldchain-mainnet:
build:
context: .
dockerfile: ./proposer/op/Dockerfile.op_proposer
env_file:
- .env.worldchainmainnet
restart: unless-stopped
depends_on:
- op-succinct-server-worldchain-mainnet
volumes:
- ./db:/usr/local/bin/dbdata
ports:
- "7302:7302"
Binary file added elf/range-elf
Binary file not shown.
Loading

0 comments on commit ce723a4

Please sign in to comment.