github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/config/environments/local/local.node.config.toml (about) 1 IsTrustedSequencer = false 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://your.L1node.url" 35 MultiGasProvider = false 36 [Etherman.Etherscan] 37 ApiKey = "" 38 39 [RPC] 40 Host = "0.0.0.0" 41 Port = 8545 42 ReadTimeout = "60s" 43 WriteTimeout = "60s" 44 MaxRequestsPerIPAndSecond = 5000 45 SequencerNodeURI = "https://internal.supernets2-test.net:2083/" 46 EnableL2SuggestedGasPricePolling = true 47 [RPC.WebSockets] 48 Enabled = true 49 Port = 8546 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 BlocksAmountForTxsToBeDeleted = 100 59 FrequencyToCheckTxsForDelete = "12h" 60 MaxTxsPerBatch = 150 61 MaxBatchBytesSize = 129848 62 MaxCumulativeGasUsed = 30000000 63 MaxKeccakHashes = 468 64 MaxPoseidonHashes = 279620 65 MaxPoseidonPaddings = 149796 66 MaxMemAligns = 262144 67 MaxArithmetics = 262144 68 MaxBinaries = 262144 69 MaxSteps = 8388608 70 WeightBatchBytesSize = 1 71 WeightCumulativeGasUsed = 1 72 WeightKeccakHashes = 1 73 WeightPoseidonHashes = 1 74 WeightPoseidonPaddings = 1 75 WeightMemAligns = 1 76 WeightArithmetics = 1 77 WeightBinaries = 1 78 WeightSteps = 1 79 TxLifetimeCheckTimeout = "10m" 80 MaxTxLifetime = "3h" 81 [Sequencer.Finalizer] 82 GERDeadlineTimeout = "5s" 83 ForcedBatchDeadlineTimeout = "60s" 84 SleepDuration = "100ms" 85 ResourcePercentageToCloseBatch = 10 86 GERFinalityNumberOfBlocks = 0 87 ClosingSignalsManagerWaitForCheckingL1Timeout = "10s" 88 ClosingSignalsManagerWaitForCheckingGER = "10s" 89 ClosingSignalsManagerWaitForCheckingForcedBatches = "10s" 90 ForcedBatchesFinalityNumberOfBlocks = 64 91 TimestampResolution = "10s" 92 [Sequencer.DBManager] 93 PoolRetrievalInterval = "500ms" 94 L2ReorgRetrievalInterval = "5s" 95 [Sequencer.Worker] 96 ResourceCostMultiplier = 1000 97 98 [SequenceSender] 99 WaitPeriodSendSequence = "5s" 100 LastBatchVirtualizationTimeMaxWaitPeriod = "5s" 101 MaxBatchesForL1 = 1000 102 SenderAddress = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266" 103 PrivateKeys = [{Path = "/pk/sequencer.keystore", Password = "testonly"}] 104 105 [Aggregator] 106 Host = "0.0.0.0" 107 Port = 50081 108 ForkId = 2 109 RetryTime = "5s" 110 VerifyProofInterval = "30s" 111 TxProfitabilityCheckerType = "acceptall" 112 TxProfitabilityMinReward = "1.1" 113 ProofStatePollingInterval = "5s" 114 SenderAddress = "0x70997970c51812dc3a010c7d01b50e0d17dc79c8" 115 CleanupLockedProofsInterval = "2m" 116 GeneratingProofCleanupThreshold = "10m" 117 118 [EthTxManager] 119 ForcedGas = 0 120 PrivateKeys = [ 121 {Path = "/pk/sequencer.keystore", Password = "testonly"}, 122 {Path = "/pk/aggregator.keystore", Password = "testonly"} 123 ] 124 125 [L2GasPriceSuggester] 126 Type = "default" 127 DefaultGasPriceWei = 1000000000 128 129 [MTClient] 130 URI = "supernets2-prover:50061" 131 132 [Executor] 133 URI = "supernets2-prover:50071" 134 135 [Metrics] 136 Host = "0.0.0.0" 137 Port = 9091 138 Enabled = false 139 ProfilingHost = "0.0.0.0" 140 ProfilingPort = 6060 141 ProfilingEnabled = false