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

feat: conduit 10s #154

Closed
wants to merge 3 commits into from
Closed
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
47 changes: 47 additions & 0 deletions configs/98206/rollup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"genesis": {
"l1": {
"number": 6840895,
"hash": "0xfd51701f05e03465ea4cdec2fe4486b9ece9e4ffa6c1b325201d5a3a866fcf85"
},
"l2": {
"number": 0,
"hash": "0x65b1366bf44b929b83219bbe2cdd2836e03eda8f524723e6e7b73441c1408926"
},
"l2_time": 1728429240,
"system_config": {
"batcherAddr": "0x28e42BB4F7ba7692558722dF24Ffb746A95050e1",
"overhead": "0xbc",
"scalar": "0xa6fe0",
"gasLimit": 30000000,
"baseFeeScalar": null,
"blobBaseFeeScalar": null,
"eip1559Denominator": null,
"eip1559Elasticity": null
}
},
"block_time": 2,
"max_sequencer_drift": 600,
"seq_window_size": 3600,
"channel_timeout": 300,
"granite_channel_timeout": 50,
"l1_chain_id": 11155111,
"l2_chain_id": 98206,
"base_fee_params": {
"max_change_denominator": "0x32",
"elasticity_multiplier": "0x6"
},
"canyon_base_fee_params": {
"max_change_denominator": "0xfa",
"elasticity_multiplier": "0x6"
},
"regolith_time": 0,
"canyon_time": 0,
"delta_time": 0,
"ecotone_time": 0,
"fjord_time": 0,
"batch_inbox_address": "0x907E875fb1aF0f9284F40Dc670A10D1064c69677",
"deposit_contract_address": "0xD7590946d5b522bE75AF40bEf54e2273C411f34a",
"l1_system_config_address": "0xd281a22cc35891C72F487bd23a3C637360Be7eb5",
"protocol_versions_address": "0x0000000000000000000000000000000000000000"
}
12 changes: 6 additions & 6 deletions contracts/opsuccinctl2ooconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"chainId": 13269,
"chainId": 98206,
"challenger": "0x0000000000000000000000000000000000000000",
"finalizationPeriod": 0,
"l2BlockTime": 2,
"owner": "0xDEd0000E32f8F40414d3ab3a830f735a3553E18e",
"proposer": "0xDEd0000E32f8F40414d3ab3a830f735a3553E18e",
"rollupConfigHash": "0x50efb1261373319cd7ba429612d9a18e585627618ec04560e7d27ba7e36d4c05",
"startingBlockNumber": 2388661,
"startingOutputRoot": "0x8ef839cbbc8228ec45ac3a17a1dc7323c0b6aff59e3f9b27a5374dcefedb4417",
"startingTimestamp": 1728264674,
"rollupConfigHash": "0x30b42c4ddb990b02477ec7dc3aeca511a8a7f02b9e55c276d019a4d7d8ab2bfd",
"startingBlockNumber": 49632,
"startingOutputRoot": "0x1d9a8c6f04cbf6f9f5f049701366d7a46567f10dee94c8467c2f89850d94eb41",
"startingTimestamp": 1728528504,
"submissionInterval": 1000,
"verifierGateway": "0x3B6041173B80E77f038f3F2C0f9744f04837185e",
"aggregationVkey": "0x00e4dc504bcd3355a4bf7382ba15d74e058aa144948edb753879055d243ebad0",
"rangeVkeyCommitment": "0x33a4ae25566346bb578b113564a7b67e359a22ea59016fdc49e0054f19228e96"
"rangeVkeyCommitment": "0x4e9a1f1d39372a7a1b2147c75a7c3c1132fdebbf1f6fc613091386e742b64658"
}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ services:
- ${ENV_FILE:-.env}
restart: unless-stopped
ports:
- "3000:3000"
- "3004:3004"

# OP Succinct Proposer
op-succinct-proposer:
4 changes: 2 additions & 2 deletions proposer/succinct/Dockerfile
Original file line number Diff line number Diff line change
@@ -36,8 +36,8 @@ COPY programs ./programs
# Build the server
RUN cargo build --bin server --release

# Expose port 3000
EXPOSE 3000
# Expose port 3004
EXPOSE 3004

# Run the server
CMD ["/app/target/release/server"]
2 changes: 1 addition & 1 deletion proposer/succinct/bin/server.rs
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ async fn main() {
.layer(DefaultBodyLimit::disable())
.layer(RequestBodyLimitLayer::new(102400 * 1024 * 1024));

let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
let listener = tokio::net::TcpListener::bind("0.0.0.0:3004").await.unwrap();

info!("Server listening on {}", listener.local_addr().unwrap());
axum::serve(listener, app).await.unwrap();