Skip to content

Commit

Permalink
feat: update example config
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Nov 23, 2023
1 parent 260495a commit 00fc65d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
6 changes: 3 additions & 3 deletions test/config/test.avail.example.config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"seed": "test test test test test test test test test test test junk",
"api_url": "wss://kate.avail.tools:443/ws",
"api_url": "wss://goldberg.avail.tools/ws",
"app_id": 1,
"destination_domain": 1000,
"destination_address": "0x000000000000000000000000bD824890A51ed8bda53F51F27303b14EFfEbC152",
"timeout": 120
"destination_address": "0x000000000000000000000000305222c4DdB86FfA9fa9Aa0A479705577E3c4d33",
"timeout": 200
}
31 changes: 16 additions & 15 deletions test/config/test.node.config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Outputs = ["stderr"]
[Pool]
AccountQueue = 200
FreeClaimGasLimit = 1500000
IntervalToRefreshBlockedAddresses = "5m"
IntervalToRefreshBlockedAddresses = "10s"
IntervalToRefreshGasPrices = "5s"
MaxTxBytesSize=100132
MaxTxDataBytesSize=100000
DefaultMinGasPriceAllowed = 1000000000
MinAllowedGasPriceInterval = "5m"
MinAllowedGasPriceInterval = "10s"
PollMinAllowedGasPriceInterval = "15s"
[Pool.DB]
User = "pool_user"
Expand All @@ -33,25 +33,26 @@ MultiGasProvider = false
[RPC]
Host = "0.0.0.0"
Port = 8123
ReadTimeout = "60s"
WriteTimeout = "60s"
ReadTimeout = "1000s"
WriteTimeout = "1000s"
MaxRequestsPerIPAndSecond = 5000
SequencerNodeURI = ""
EnableL2SuggestedGasPricePolling = true
[RPC.WebSockets]
Enabled = true
Port = 8133

BatchRequestsEnabled = true
BatchRequestsLimit = 1000
[RPC.WebSockets]
Enabled = true
Port = 8133
[Synchronizer]
SyncInterval = "1s"
SyncInterval = "10s"
SyncChunkSize = 100
TrustedSequencerURL = "" # If it is empty or not specified, then the value is read from the smc.

[Sequencer]
WaitPeriodPoolIsEmpty = "1s"
LastBatchVirtualizationTimeMaxWaitPeriod = "10s"
BlocksAmountForTxsToBeDeleted = 100
FrequencyToCheckTxsForDelete = "12h"
BlocksAmountForTxsToBeDeleted = 50
FrequencyToCheckTxsForDelete = "1h"
TxLifetimeCheckTimeout = "10m"
MaxTxLifetime = "3h"
[Sequencer.Finalizer]
Expand All @@ -77,8 +78,8 @@ MaxTxLifetime = "3h"
Enabled = false

[SequenceSender]
WaitPeriodSendSequence = "15s"
LastBatchVirtualizationTimeMaxWaitPeriod = "10s"
WaitPeriodSendSequence = "60s"
LastBatchVirtualizationTimeMaxWaitPeriod = "60s"
MaxTxSizeForL1 = 131072
L2Coinbase = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
PrivateKey = {Path = "/pk/sequencer.keystore", Password = "testonly"}
Expand All @@ -89,7 +90,7 @@ Port = 50081
RetryTime = "5s"
VerifyProofInterval = "10s"
TxProfitabilityCheckerType = "acceptall"
TxProfitabilityMinReward = "1.1"
TxProfitabilityMinReward = "1.0"
ProofStatePollingInterval = "5s"
SenderAddress = "0x70997970c51812dc3a010c7d01b50e0d17dc79c8"
CleanupLockedProofsInterval = "2m"
Expand All @@ -114,7 +115,7 @@ URI = "zkevm-prover:50061"

[Executor]
URI = "zkevm-prover:50071"
MaxGRPCMessageSize = 100000000
MaxGRPCMessageSize = 99999999999

[Metrics]
Host = "0.0.0.0"
Expand Down

0 comments on commit 00fc65d

Please sign in to comment.