github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/config/test.node.config.toml (about) 1 IsTrustedSequencer = true 2 3 [Log] 4 Environment = "development" # "production" or "development" 5 Level = "debug" 6 Outputs = ["stderr"] 7 8 [StateDB] 9 User = "state_user" 10 Password = "state_password" 11 Name = "state_db" 12 Host = "supernets2-state-db" 13 Port = "5432" 14 EnableLog = false 15 MaxConns = 200 16 17 [Pool] 18 IntervalToRefreshBlockedAddresses = "5m" 19 MaxTxBytesSize=100132 20 MaxTxDataBytesSize=100000 21 DefaultMinGasPriceAllowed = 1000000000 22 MinAllowedGasPriceInterval = "5m" 23 PollMinAllowedGasPriceInterval = "15s" 24 [Pool.DB] 25 User = "pool_user" 26 Password = "pool_password" 27 Name = "pool_db" 28 Host = "supernets2-pool-db" 29 Port = "5432" 30 EnableLog = false 31 MaxConns = 200 32 33 [Etherman] 34 URL = "http://supernets2-mock-l1-network:8545" 35 MultiGasProvider = false 36 [Etherscan] 37 ApiKey = "" 38 39 [RPC] 40 Host = "0.0.0.0" 41 Port = 8123 42 ReadTimeout = "60s" 43 WriteTimeout = "60s" 44 MaxRequestsPerIPAndSecond = 5000 45 SequencerNodeURI = "" 46 EnableL2SuggestedGasPricePolling = true 47 [RPC.WebSockets] 48 Enabled = true 49 Port = 8133 50 51 [Synchronizer] 52 SyncInterval = "1s" 53 SyncChunkSize = 100 54 TrustedSequencerURL = "" # If it is empty or not specified, then the value is read from the smc. 55 56 [Sequencer] 57 WaitPeriodPoolIsEmpty = "1s" 58 LastBatchVirtualizationTimeMaxWaitPeriod = "10s" 59 BlocksAmountForTxsToBeDeleted = 100 60 FrequencyToCheckTxsForDelete = "12h" 61 MaxTxsPerBatch = 150 62 MaxBatchBytesSize = 129848 63 MaxCumulativeGasUsed = 30000000 64 MaxKeccakHashes = 468 65 MaxPoseidonHashes = 279620 66 MaxPoseidonPaddings = 149796 67 MaxMemAligns = 262144 68 MaxArithmetics = 262144 69 MaxBinaries = 262144 70 MaxSteps = 8388608 71 WeightBatchBytesSize = 1 72 WeightCumulativeGasUsed = 1 73 WeightKeccakHashes = 1 74 WeightPoseidonHashes = 1 75 WeightPoseidonPaddings = 1 76 WeightMemAligns = 1 77 WeightArithmetics = 1 78 WeightBinaries = 1 79 WeightSteps = 1 80 TxLifetimeCheckTimeout = "10m" 81 MaxTxLifetime = "3h" 82 [Sequencer.Finalizer] 83 GERDeadlineTimeout = "2s" 84 ForcedBatchDeadlineTimeout = "5s" 85 SleepDuration = "100ms" 86 ResourcePercentageToCloseBatch = 10 87 GERFinalityNumberOfBlocks = 0 88 ClosingSignalsManagerWaitForCheckingL1Timeout = "10s" 89 ClosingSignalsManagerWaitForCheckingGER = "10s" 90 ClosingSignalsManagerWaitForCheckingForcedBatches = "10s" 91 ForcedBatchesFinalityNumberOfBlocks = 0 92 TimestampResolution = "10s" 93 [Sequencer.DBManager] 94 PoolRetrievalInterval = "500ms" 95 L2ReorgRetrievalInterval = "5s" 96 [Sequencer.Worker] 97 ResourceCostMultiplier = 1000 98 99 [SequenceSender] 100 WaitPeriodSendSequence = "15s" 101 LastBatchVirtualizationTimeMaxWaitPeriod = "10s" 102 MaxBatchesForL1 = 1000 103 SenderAddress = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266" 104 PrivateKeys = [{Path = "/pk/sequencer.keystore", Password = "testonly"}] 105 106 [Aggregator] 107 Host = "0.0.0.0" 108 Port = 50081 109 ForkId = 2 110 RetryTime = "5s" 111 VerifyProofInterval = "10s" 112 TxProfitabilityCheckerType = "acceptall" 113 TxProfitabilityMinReward = "1.1" 114 ProofStatePollingInterval = "5s" 115 SenderAddress = "0x70997970c51812dc3a010c7d01b50e0d17dc79c8" 116 CleanupLockedProofsInterval = "2m" 117 GeneratingProofCleanupThreshold = "10m" 118 119 [EthTxManager] 120 ForcedGas = 0 121 PrivateKeys = [ 122 {Path = "/pk/sequencer.keystore", Password = "testonly"}, 123 {Path = "/pk/aggregator.keystore", Password = "testonly"} 124 ] 125 126 [L2GasPriceSuggester] 127 Type = "follower" 128 UpdatePeriod = "10s" 129 Factor = 0.5 130 DefaultGasPriceWei = 1000000000 131 132 [MTClient] 133 URI = "supernets2-prover:50061" 134 135 [Executor] 136 URI = "supernets2-prover:50071" 137 138 [Metrics] 139 Host = "0.0.0.0" 140 Port = 9091 141 Enabled = true 142 ProfilingHost = "0.0.0.0" 143 ProfilingPort = 6060 144 ProfilingEnabled = true 145 146 [EventLog] 147 [EventLog.DB] 148 User = "event_user" 149 Password = "event_password" 150 Name = "event_db" 151 Host = "supernets2-event-db" 152 Port = "5432" 153 EnableLog = false 154 MaxConns = 200