This PR introduces configuration changes related to contract subscriptions, including requery delays.
Detailed summary
Added contractSubscriptionConfigurationSchema in sharedApiSchemas.ts
Updated Config interface in config.ts to include contractSubscriptionsRequeryDelaySeconds
Modified worker tasks in chainIndexer.ts and queues in processEventLogsQueue.ts and processTransactionReceiptsQueue.ts to use contractSubscriptionsRequeryDelaySeconds
Updated cache retrieval in getConfig.ts to use Config interface
Updated response schema in routes for contract subscriptions configuration in get.ts and update.ts
The following files were skipped due to too many changes: src/server/routes/configuration/contract-subscriptions/update.ts
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
PR-Codex overview
This PR introduces configuration changes related to contract subscriptions, including requery delays.
Detailed summary
contractSubscriptionConfigurationSchema
insharedApiSchemas.ts
Config
interface inconfig.ts
to includecontractSubscriptionsRequeryDelaySeconds
chainIndexer.ts
and queues inprocessEventLogsQueue.ts
andprocessTransactionReceiptsQueue.ts
to usecontractSubscriptionsRequeryDelaySeconds
getConfig.ts
to useConfig
interfaceget.ts
andupdate.ts