mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-07 21:23:57 -05:00
32 lines
890 B
JSON
32 lines
890 B
JSON
{
|
|
"l2_config": {
|
|
"endpoint": "https://rpc.scroll.io",
|
|
"chunk_proposer_config": {
|
|
"max_l2_gas_per_chunk": 20000000,
|
|
"chunk_timeout_sec": 72000000000,
|
|
"max_uncompressed_batch_bytes_size": 4194304
|
|
},
|
|
"batch_proposer_config": {
|
|
"batch_timeout_sec": 72000000000,
|
|
"max_chunks_per_batch": 45,
|
|
"max_uncompressed_batch_bytes_size": 4194304
|
|
},
|
|
"bundle_proposer_config": {
|
|
"max_batch_num_per_bundle": 45,
|
|
"bundle_timeout_sec": 36000000000
|
|
}
|
|
},
|
|
"db_config": {
|
|
"driver_name": "postgres",
|
|
"dsn": "postgres://postgres:postgres@db:5432/scroll?sslmode=disable",
|
|
"maxOpenNum": 200,
|
|
"maxIdleNum": 20
|
|
},
|
|
"db_config_for_replay": {
|
|
"driver_name": "postgres",
|
|
"dsn": "<mainnet read db config>",
|
|
"maxOpenNum": 200,
|
|
"maxIdleNum": 20
|
|
}
|
|
}
|