Skip to content

Commit

Permalink
(chore): Update Functions Scripts oracle.toml template (smartcontract…
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkaseman authored Aug 29, 2023
1 parent e8dc3ea commit b30f585
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions core/scripts/functions/templates/oracle.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,38 @@ pruneMaxStoredRequests = 20
requestTimeoutBatchLookupSize = 20
requestTimeoutCheckFrequencySec = 10
requestTimeoutSec = 300
maxRequestSizesList = [30_720, 51_200, 102_400, 204_800, 512_000, 1_048_576, 2_097_152, 3_145_728, 5_242_880, 10_485_760]
maxSecretsSizesList = [10_240, 20_480, 51_200, 102_400, 307_200, 512_000, 1_048_576, 2_097_152]

[pluginConfig.OnchainAllowlist]
blockConfirmations = 1
contractAddress = "{{router_contract_address}}"
contractVersion = 1
updateFrequencySec = 30
updateTimeoutSec = 10

[pluginConfig.RateLimiter]
globalBurst = 5
globalRPS = 10
perSenderBurst = 1
perSenderRPS = 0.2

[pluginConfig.S4Constraints]
maxPayloadSizeBytes = 20_000
maxSlotsPerUser = 5

[pluginConfig.decryptionQueueConfig]
completedCacheTimeoutSec = 300
decryptRequestTimeoutSec = 100
maxCiphertextBytes = 10_000
maxCiphertextIdLength = 100
maxQueueLength = 100

[pluginConfig.gatewayConnectorConfig]
AuthMinChallengeLen = 20
AuthTimestampToleranceSec = 20
DonID = "{{don_id}}"
NodeAddress = "{{node_eth_address}}"

[pluginConfig.gatewayConnectorConfig.WsClientConfig]
HandshakeTimeoutMillis = 1_000

0 comments on commit b30f585

Please sign in to comment.