-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add dummy configuration and documentation for permissionless batch pr…
…oduction toolkit
- Loading branch information
1 parent
a9eac08
commit 606162e
Showing
11 changed files
with
222 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"prover_manager": { | ||
"provers_per_session": 1, | ||
"session_attempts": 5, | ||
"bundle_collection_time_sec": 3600, | ||
"batch_collection_time_sec": 3600, | ||
"chunk_collection_time_sec": 3600, | ||
"verifier": { | ||
"mock_mode": false, | ||
"low_version_circuit": { | ||
"params_path": "./conf/params", | ||
"assets_path": "./conf/assets", | ||
"fork_name": "darwinV2", | ||
"min_prover_version": "v4.4.55" | ||
}, | ||
"high_version_circuit": { | ||
"params_path": "./conf/params", | ||
"assets_path": "./conf/assets", | ||
"fork_name": "darwinV2", | ||
"min_prover_version": "v4.4.56" | ||
} | ||
} | ||
}, | ||
"db": { | ||
"driver_name": "postgres", | ||
"dsn": "postgres://db/scroll?sslmode=disable&user=postgres", | ||
"maxOpenNum": 200, | ||
"maxIdleNum": 20 | ||
}, | ||
"l2": { | ||
"chain_id": 111 | ||
}, | ||
"auth": { | ||
"secret": "prover secret key", | ||
"challenge_expire_duration_sec": 3600, | ||
"login_expire_duration_sec": 3600 | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<fill with correct genesis.json> |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"prover_name_prefix": "prover_", | ||
"keys_dir": "/app/", | ||
"db_path": "/app/", | ||
"coordinator": { | ||
"base_url": "http://coordinator:8390", | ||
"retry_count": 3, | ||
"retry_wait_time_sec": 5, | ||
"connection_timeout_sec": 60 | ||
}, | ||
"l2geth": { | ||
"endpoint": "<L2 RPC with generated blocks reachable from Docker network>" | ||
}, | ||
"prover": { | ||
"circuit_type": 2, | ||
"circuit_version": "v0.13.1", | ||
"n_workers": 1, | ||
"cloud": { | ||
"base_url": "https://sindri.app/api/v1/", | ||
"api_key": "<API key>", | ||
"retry_count": 3, | ||
"retry_wait_time_sec": 5, | ||
"connection_timeout_sec": 60 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"l1_config": { | ||
"endpoint": "<L1 RPC execution node>" | ||
}, | ||
"l2_config": { | ||
"confirmations": "0x0", | ||
"endpoint": "<L2 RPC with generated blocks reachable from Docker network>", | ||
"relayer_config": { | ||
"commit_sender_signer_config": { | ||
"signer_type": "PrivateKey", | ||
"private_key_signer_config": { | ||
"private_key": "1414141414141414141414141414141414141414141414141414141414141414" | ||
} | ||
}, | ||
"l1_commit_gas_limit_multiplier": 1.2 | ||
}, | ||
"chunk_proposer_config": { | ||
"propose_interval_milliseconds": 100, | ||
"max_block_num_per_chunk": 100, | ||
"max_tx_num_per_chunk": 100, | ||
"max_l1_commit_gas_per_chunk": 11234567, | ||
"max_l1_commit_calldata_size_per_chunk": 112345, | ||
"chunk_timeout_sec": 300, | ||
"max_row_consumption_per_chunk": 1048319, | ||
"gas_cost_increase_multiplier": 1.2, | ||
"max_uncompressed_batch_bytes_size": 634880 | ||
}, | ||
"batch_proposer_config": { | ||
"propose_interval_milliseconds": 1000, | ||
"max_l1_commit_gas_per_batch": 11234567, | ||
"max_l1_commit_calldata_size_per_batch": 112345, | ||
"batch_timeout_sec": 300, | ||
"gas_cost_increase_multiplier": 1.2, | ||
"max_uncompressed_batch_bytes_size": 634880 | ||
}, | ||
"bundle_proposer_config": { | ||
"max_batch_num_per_bundle": 20, | ||
"bundle_timeout_sec": 36000 | ||
} | ||
}, | ||
"db_config": { | ||
"driver_name": "postgres", | ||
"dsn": "postgres://db/scroll?sslmode=disable&user=postgres", | ||
"maxOpenNum": 200, | ||
"maxIdleNum": 20 | ||
}, | ||
"recovery_config": { | ||
"enable": true, | ||
"l1_block_height": <commit tx of last finalized batch on L1>, | ||
"latest_finalized_batch": <last finalized batch on L1>, | ||
"l2_block_height_limit": <L2 block up to which to produce batch>, | ||
"force_latest_finalized_batch": false, | ||
"force_l1_message_count": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters