-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from EspressoSystems/feat/preconfirmations
Configure zkEVM node to work with HotShot preconfirmations
- Loading branch information
Showing
9 changed files
with
407 additions
and
71 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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,82 @@ | ||
{ | ||
"runExecutorServer": true, | ||
"runExecutorClient": false, | ||
"runExecutorClientMultithread": false, | ||
|
||
"runStateDBServer": true, | ||
"runStateDBTest": false, | ||
|
||
"runAggregatorServer": false, | ||
"runAggregatorClient": false, | ||
"runAggregatorClientMock": true, | ||
"aggregatorClientMockTimeout": 1000, | ||
"proverName": "test-prover", | ||
|
||
"runFileGenBatchProof": false, | ||
"runFileGenAggregatedProof": false, | ||
"runFileGenFinalProof": false, | ||
"runFileProcessBatch": false, | ||
"runFileProcessBatchMultithread": false, | ||
|
||
"runKeccakScriptGenerator": false, | ||
"runKeccakTest": false, | ||
"runStorageSMTest": false, | ||
"runBinarySMTest": false, | ||
"runMemAlignSMTest": false, | ||
"runSHA256Test": false, | ||
"runBlakeTest": false, | ||
|
||
"executeInParallel": true, | ||
"useMainExecGenerated": false, | ||
"saveRequestToFile": false, | ||
"saveInputToFile": false, | ||
"saveDbReadsToFile": false, | ||
"saveDbReadsToFileOnChange": false, | ||
"saveOutputToFile": true, | ||
"saveProofToFile": true, | ||
"saveResponseToFile": false, | ||
"loadDBToMemCache": true, | ||
"opcodeTracer": false, | ||
"logRemoteDbReads": false, | ||
"logExecutorServerResponses": false, | ||
|
||
"proverServerPort": 50051, | ||
"proverServerMockPort": 50052, | ||
"proverServerMockTimeout": 10000000, | ||
"proverClientPort": 50051, | ||
"proverClientHost": "127.0.0.1", | ||
|
||
"executorServerPort": 50071, | ||
"executorROMLineTraces": false, | ||
"executorClientPort": 50071, | ||
"executorClientHost": "127.0.0.1", | ||
|
||
"stateDBServerPort": 50061, | ||
"stateDBURL": "local", | ||
|
||
"aggregatorServerPort": 50081, | ||
"aggregatorClientPort": 50081, | ||
"aggregatorClientHost": "zkevm-1-aggregator", | ||
|
||
"mapConstPolsFile": false, | ||
"mapConstantsTreeFile": false, | ||
|
||
"inputFile": "input_executor_0.json", | ||
"inputFile2": "input_executor_1.json", | ||
|
||
"keccakScriptFile": "config/scripts/keccak_script.json", | ||
"storageRomFile": "config/scripts/storage_sm_rom.json", | ||
|
||
"outputPath": "output", | ||
|
||
"databaseURL": "postgresql://prover_user:prover_pass@zkevm-1-preconfirmations-state-db:5432/prover_db", | ||
"dbNodesTableName": "state.nodes", | ||
"dbProgramTableName": "state.program", | ||
"dbAsyncWrite": false, | ||
"cleanerPollingPeriod": 600, | ||
"requestsPersistence": 3600, | ||
"maxExecutorThreads": 20, | ||
"maxProverThreads": 8, | ||
"maxStateDBThreads": 8 | ||
} | ||
|
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,82 @@ | ||
{ | ||
"runExecutorServer": true, | ||
"runExecutorClient": false, | ||
"runExecutorClientMultithread": false, | ||
|
||
"runStateDBServer": true, | ||
"runStateDBTest": false, | ||
|
||
"runAggregatorServer": false, | ||
"runAggregatorClient": false, | ||
"runAggregatorClientMock": true, | ||
"aggregatorClientMockTimeout": 1000, | ||
"proverName": "test-prover", | ||
|
||
"runFileGenBatchProof": false, | ||
"runFileGenAggregatedProof": false, | ||
"runFileGenFinalProof": false, | ||
"runFileProcessBatch": false, | ||
"runFileProcessBatchMultithread": false, | ||
|
||
"runKeccakScriptGenerator": false, | ||
"runKeccakTest": false, | ||
"runStorageSMTest": false, | ||
"runBinarySMTest": false, | ||
"runMemAlignSMTest": false, | ||
"runSHA256Test": false, | ||
"runBlakeTest": false, | ||
|
||
"executeInParallel": true, | ||
"useMainExecGenerated": false, | ||
"saveRequestToFile": false, | ||
"saveInputToFile": false, | ||
"saveDbReadsToFile": false, | ||
"saveDbReadsToFileOnChange": false, | ||
"saveOutputToFile": true, | ||
"saveProofToFile": true, | ||
"saveResponseToFile": false, | ||
"loadDBToMemCache": true, | ||
"opcodeTracer": false, | ||
"logRemoteDbReads": false, | ||
"logExecutorServerResponses": false, | ||
|
||
"proverServerPort": 50051, | ||
"proverServerMockPort": 50052, | ||
"proverServerMockTimeout": 10000000, | ||
"proverClientPort": 50051, | ||
"proverClientHost": "127.0.0.1", | ||
|
||
"executorServerPort": 50071, | ||
"executorROMLineTraces": false, | ||
"executorClientPort": 50071, | ||
"executorClientHost": "127.0.0.1", | ||
|
||
"stateDBServerPort": 50061, | ||
"stateDBURL": "local", | ||
|
||
"aggregatorServerPort": 50081, | ||
"aggregatorClientPort": 50081, | ||
"aggregatorClientHost": "zkevm-2-aggregator", | ||
|
||
"mapConstPolsFile": false, | ||
"mapConstantsTreeFile": false, | ||
|
||
"inputFile": "input_executor_0.json", | ||
"inputFile2": "input_executor_1.json", | ||
|
||
"keccakScriptFile": "config/scripts/keccak_script.json", | ||
"storageRomFile": "config/scripts/storage_sm_rom.json", | ||
|
||
"outputPath": "output", | ||
|
||
"databaseURL": "postgresql://prover_user:prover_pass@zkevm-2-preconfirmations-state-db:5432/prover_db", | ||
"dbNodesTableName": "state.nodes", | ||
"dbProgramTableName": "state.program", | ||
"dbAsyncWrite": false, | ||
"cleanerPollingPeriod": 600, | ||
"requestsPersistence": 3600, | ||
"maxExecutorThreads": 20, | ||
"maxProverThreads": 8, | ||
"maxStateDBThreads": 8 | ||
} | ||
|