-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/KS-54-contract
- Loading branch information
Showing
6 changed files
with
294 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,276 @@ | ||
! exec chainlink node -c config.toml -s secrets.toml validate | ||
cmp stderr err.txt | ||
cmp stdout out.txt | ||
|
||
-- config.toml -- | ||
Log.Level = 'debug' | ||
|
||
[OCR2] | ||
Enabled = true | ||
|
||
[P2P.V2] | ||
Enabled = false | ||
|
||
-- secrets.toml -- | ||
[Database] | ||
URL = 'postgresql://user:pass1234567890abcd@localhost:5432/dbname?sslmode=disable' | ||
|
||
[Password] | ||
Keystore = 'keystore_pass' | ||
|
||
-- out.txt -- | ||
# Secrets: | ||
[Database] | ||
URL = 'xxxxx' | ||
AllowSimplePasswords = false | ||
|
||
[Password] | ||
Keystore = 'xxxxx' | ||
|
||
# Input Configuration: | ||
[Log] | ||
Level = 'debug' | ||
|
||
[OCR2] | ||
Enabled = true | ||
|
||
[P2P] | ||
[P2P.V2] | ||
Enabled = false | ||
|
||
# Effective Configuration, with defaults applied: | ||
InsecureFastScrypt = false | ||
RootDir = '~/.chainlink' | ||
ShutdownGracePeriod = '5s' | ||
|
||
[Feature] | ||
FeedsManager = true | ||
LogPoller = false | ||
UICSAKeys = false | ||
|
||
[Database] | ||
DefaultIdleInTxSessionTimeout = '1h0m0s' | ||
DefaultLockTimeout = '15s' | ||
DefaultQueryTimeout = '10s' | ||
LogQueries = false | ||
MaxIdleConns = 10 | ||
MaxOpenConns = 20 | ||
MigrateOnStartup = true | ||
|
||
[Database.Backup] | ||
Dir = '' | ||
Frequency = '1h0m0s' | ||
Mode = 'none' | ||
OnVersionUpgrade = true | ||
|
||
[Database.Listener] | ||
MaxReconnectDuration = '10m0s' | ||
MinReconnectInterval = '1m0s' | ||
FallbackPollInterval = '30s' | ||
|
||
[Database.Lock] | ||
Enabled = true | ||
LeaseDuration = '10s' | ||
LeaseRefreshInterval = '1s' | ||
|
||
[TelemetryIngress] | ||
UniConn = true | ||
Logging = false | ||
BufferSize = 100 | ||
MaxBatchSize = 50 | ||
SendInterval = '500ms' | ||
SendTimeout = '10s' | ||
UseBatchSend = true | ||
|
||
[AuditLogger] | ||
Enabled = false | ||
ForwardToUrl = '' | ||
JsonWrapperKey = '' | ||
Headers = [] | ||
|
||
[Log] | ||
Level = 'debug' | ||
JSONConsole = false | ||
UnixTS = false | ||
|
||
[Log.File] | ||
Dir = '' | ||
MaxSize = '5.12gb' | ||
MaxAgeDays = 0 | ||
MaxBackups = 1 | ||
|
||
[WebServer] | ||
AuthenticationMethod = 'local' | ||
AllowOrigins = 'http://localhost:3000,http://localhost:6688' | ||
BridgeResponseURL = '' | ||
BridgeCacheTTL = '0s' | ||
HTTPWriteTimeout = '10s' | ||
HTTPPort = 6688 | ||
SecureCookies = true | ||
SessionTimeout = '15m0s' | ||
SessionReaperExpiration = '240h0m0s' | ||
HTTPMaxSize = '32.77kb' | ||
StartTimeout = '15s' | ||
ListenIP = '0.0.0.0' | ||
|
||
[WebServer.LDAP] | ||
ServerTLS = true | ||
SessionTimeout = '15m0s' | ||
QueryTimeout = '2m0s' | ||
BaseUserAttr = 'uid' | ||
BaseDN = '' | ||
UsersDN = 'ou=users' | ||
GroupsDN = 'ou=groups' | ||
ActiveAttribute = '' | ||
ActiveAttributeAllowedValue = '' | ||
AdminUserGroupCN = 'NodeAdmins' | ||
EditUserGroupCN = 'NodeEditors' | ||
RunUserGroupCN = 'NodeRunners' | ||
ReadUserGroupCN = 'NodeReadOnly' | ||
UserApiTokenEnabled = false | ||
UserAPITokenDuration = '240h0m0s' | ||
UpstreamSyncInterval = '0s' | ||
UpstreamSyncRateLimit = '2m0s' | ||
|
||
[WebServer.MFA] | ||
RPID = '' | ||
RPOrigin = '' | ||
|
||
[WebServer.RateLimit] | ||
Authenticated = 1000 | ||
AuthenticatedPeriod = '1m0s' | ||
Unauthenticated = 5 | ||
UnauthenticatedPeriod = '20s' | ||
|
||
[WebServer.TLS] | ||
CertPath = '' | ||
ForceRedirect = false | ||
Host = '' | ||
HTTPSPort = 6689 | ||
KeyPath = '' | ||
ListenIP = '0.0.0.0' | ||
|
||
[JobPipeline] | ||
ExternalInitiatorsEnabled = false | ||
MaxRunDuration = '10m0s' | ||
MaxSuccessfulRuns = 10000 | ||
ReaperInterval = '1h0m0s' | ||
ReaperThreshold = '24h0m0s' | ||
ResultWriteQueueDepth = 100 | ||
|
||
[JobPipeline.HTTPRequest] | ||
DefaultTimeout = '15s' | ||
MaxSize = '32.77kb' | ||
|
||
[FluxMonitor] | ||
DefaultTransactionQueueDepth = 1 | ||
SimulateTransactions = false | ||
|
||
[OCR2] | ||
Enabled = true | ||
ContractConfirmations = 3 | ||
BlockchainTimeout = '20s' | ||
ContractPollInterval = '1m0s' | ||
ContractSubscribeInterval = '2m0s' | ||
ContractTransmitterTransmitTimeout = '10s' | ||
DatabaseTimeout = '10s' | ||
KeyBundleID = '0000000000000000000000000000000000000000000000000000000000000000' | ||
CaptureEATelemetry = false | ||
CaptureAutomationCustomTelemetry = true | ||
DefaultTransactionQueueDepth = 1 | ||
SimulateTransactions = false | ||
TraceLogging = false | ||
|
||
[OCR] | ||
Enabled = false | ||
ObservationTimeout = '5s' | ||
BlockchainTimeout = '20s' | ||
ContractPollInterval = '1m0s' | ||
ContractSubscribeInterval = '2m0s' | ||
DefaultTransactionQueueDepth = 1 | ||
KeyBundleID = '0000000000000000000000000000000000000000000000000000000000000000' | ||
SimulateTransactions = false | ||
TransmitterAddress = '' | ||
CaptureEATelemetry = false | ||
TraceLogging = false | ||
|
||
[P2P] | ||
IncomingMessageBufferSize = 10 | ||
OutgoingMessageBufferSize = 10 | ||
PeerID = '' | ||
TraceLogging = false | ||
|
||
[P2P.V2] | ||
Enabled = false | ||
AnnounceAddresses = [] | ||
DefaultBootstrappers = [] | ||
DeltaDial = '15s' | ||
DeltaReconcile = '1m0s' | ||
ListenAddresses = [] | ||
|
||
[Keeper] | ||
DefaultTransactionQueueDepth = 1 | ||
GasPriceBufferPercent = 20 | ||
GasTipCapBufferPercent = 20 | ||
BaseFeeBufferPercent = 20 | ||
MaxGracePeriod = 100 | ||
TurnLookBack = 1000 | ||
|
||
[Keeper.Registry] | ||
CheckGasOverhead = 200000 | ||
PerformGasOverhead = 300000 | ||
MaxPerformDataSize = 5000 | ||
SyncInterval = '30m0s' | ||
SyncUpkeepQueueSize = 10 | ||
|
||
[AutoPprof] | ||
Enabled = false | ||
ProfileRoot = '' | ||
PollInterval = '10s' | ||
GatherDuration = '10s' | ||
GatherTraceDuration = '5s' | ||
MaxProfileSize = '100.00mb' | ||
CPUProfileRate = 1 | ||
MemProfileRate = 1 | ||
BlockProfileRate = 1 | ||
MutexProfileFraction = 1 | ||
MemThreshold = '4.00gb' | ||
GoroutineThreshold = 5000 | ||
|
||
[Pyroscope] | ||
ServerAddress = '' | ||
Environment = 'mainnet' | ||
|
||
[Sentry] | ||
Debug = false | ||
DSN = '' | ||
Environment = '' | ||
Release = '' | ||
|
||
[Insecure] | ||
DevWebServer = false | ||
OCRDevelopmentMode = false | ||
InfiniteDepthQueries = false | ||
DisableRateLimiting = false | ||
|
||
[Tracing] | ||
Enabled = false | ||
CollectorTarget = '' | ||
NodeID = '' | ||
SamplingRatio = 0.0 | ||
Mode = 'tls' | ||
TLSCertPath = '' | ||
|
||
[Mercury] | ||
[Mercury.Cache] | ||
LatestReportTTL = '1s' | ||
MaxStaleAge = '1h0m0s' | ||
LatestReportDeadline = '5s' | ||
|
||
[Mercury.TLS] | ||
CertFile = '' | ||
|
||
Invalid configuration: invalid configuration: P2P.V2.Enabled: invalid value (false): P2P required for OCR or OCR2. Please enable P2P or disable OCR/OCR2. | ||
|
||
-- err.txt -- | ||
invalid configuration |