Skip to content

Commit

Permalink
Config fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara committed Oct 23, 2024
1 parent 82d4f31 commit 8b98194
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions testdata/scripts/node/validate/default.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,4 @@ TraceSampleRatio = 0.01
Invalid configuration: invalid secrets: 2 errors:
- Database.URL: empty: must be provided and non-empty
- Password.Keystore: empty: must be provided and non-empty

6 changes: 3 additions & 3 deletions testdata/scripts/node/validate/defaults-override.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ LinkContractAddress = '0x514910771AF9Ca656af840dff83E8264EcF986CA'
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
LogKeepBlocksDepth = 100000
LogPrunePageSize = 0
LogPrunePageSize = 10000
BackupLogPollerBlockDelay = 100
MinIncomingConfirmations = 3
MinContractPayment = '0.1 link'
Expand Down Expand Up @@ -403,8 +403,8 @@ Mode = 'BlockHistory'
PriceDefault = '20 gwei'
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceMin = '1 gwei'
LimitDefault = 500000
LimitMax = 500000
LimitDefault = 8000000
LimitMax = 8000000
LimitMultiplier = '1'
LimitTransfer = 21000
EstimateLimit = false
Expand Down
12 changes: 6 additions & 6 deletions testdata/scripts/node/validate/invalid.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -440,25 +440,25 @@ HTTPURL = 'https://foo.bar'

Invalid configuration: invalid secrets: 2 errors:
- Database: 2 errors:
- URL: invalid value (*****): missing or insufficiently complex password:
- URL: invalid value (*****): missing or insufficiently complex password:
Expected password complexity:
Must be at least 16 characters long
Must not comprise:
Leading or trailing whitespace
A user's API email

Faults:
password is less than 16 characters long
. Database should be secured by a password matching the following complexity requirements:
. Database should be secured by a password matching the following complexity requirements:
Must have a length of 16-50 characters
Must not comprise:
Leading or trailing whitespace (note that a trailing newline in the password file, if present, will be ignored)

- BackupURL: invalid value (*****): missing or insufficiently complex password: DB URL must be authenticated; plaintext URLs are not allowed. Database should be secured by a password matching the following complexity requirements:
- BackupURL: invalid value (*****): missing or insufficiently complex password: DB URL must be authenticated; plaintext URLs are not allowed. Database should be secured by a password matching the following complexity requirements:
Must have a length of 16-50 characters
Must not comprise:
Leading or trailing whitespace (note that a trailing newline in the password file, if present, will be ignored)

- Password.Keystore: empty: must be provided and non-empty

-- err.txt --
Expand Down

0 comments on commit 8b98194

Please sign in to comment.