github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/config/debug.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 = "localhost"
    13  Port = "5432"
    14  EnableLog = true
    15  MaxConns = 10
    16  
    17  [Pool]
    18  IntervalToRefreshBlockedAddresses = "5m"
    19  MaxTxBytesSize=30132
    20  MaxTxDataBytesSize=30000
    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 = "localhost"
    29  	Port = "5433"
    30  	EnableLog = false
    31  	MaxConns = 10
    32  
    33  [Etherman]
    34  URL = "http://localhost:8545"
    35  MultiGasProvider = false
    36  	[Etherman.Etherscan]
    37  		ApiKey = ""
    38  
    39  [RPC]
    40  Host = "0.0.0.0"
    41  Port = 8123
    42  ReadTimeout = "60s"
    43  WriteTimeout = "60s"
    44  MaxRequestsPerIPAndSecond = 10000
    45  SequencerNodeURI = ""
    46  EnableL2SuggestedGasPricePolling = true
    47  	[RPC.WebSockets]
    48  		Enabled = true
    49  		Port = 8133
    50  
    51  [Synchronizer]
    52  SyncInterval = "5s"
    53  SyncChunkSize = 100
    54  TrustedSequencerURL = ""
    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 = "1s"
    83  		ForcedBatchDeadlineTimeout = "1s"
    84  		SleepDuration = "100ms"
    85  		ResourcePercentageToCloseBatch = 10
    86  		GERFinalityNumberOfBlocks = 0
    87  		ClosingSignalsManagerWaitForCheckingL1Timeout = "10s"
    88  		ClosingSignalsManagerWaitForCheckingGER = "10s"
    89  		ClosingSignalsManagerWaitForCheckingForcedBatches = "10s"
    90  		ForcedBatchesFinalityNumberOfBlocks = 0
    91  		TimestampResolution = "10s"
    92  	[Sequencer.DBManager]
    93  		PoolRetrievalInterval = "500ms"
    94  		L2ReorgRetrievalInterval = "5s"
    95  	[Sequencer.Worker]
    96  		ResourceCostMultiplier = 1000
    97  
    98  [SequenceSender]
    99  WaitPeriodSendSequence = "15s"
   100  LastBatchVirtualizationTimeMaxWaitPeriod = "10s"
   101  MaxBatchesForL1 = 1000
   102  SenderAddress = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
   103  PrivateKeys = [{Path = "./test/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 = "../test/sequencer.keystore", Password = "testonly"},
   122  	{Path = "../test/aggregator.keystore", Password = "testonly"}
   123  ]
   124  
   125  [L2GasPriceSuggester]
   126  Type = "default"
   127  DefaultGasPriceWei = 1000000000
   128  
   129  [MTClient]
   130  URI = "127.0.0.1:50061"
   131  
   132  [Executor]
   133  URI = "127.0.0.1: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
   142  
   143  [EventLog]
   144  	[EventLog.DB]
   145  	User = "event_user"
   146  	Password = "event_password"
   147  	Name = "event_db"
   148  	Host = "localhost"
   149  	Port = "5435"
   150  	EnableLog = false
   151  	MaxConns = 200