Feat: add archive gateway authentication#63
Conversation
* Update tests to assert based on the new structured returned by the config object.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Summary
Code changes to add the required configuration to access the archive nodes provided by SubSquid (a.k.a SQD). As a stable and long-running API, it mostly uses the paid RPC service (e.g. Alchemy), but when it restarts for any reason, like cloud provider maintenance, etc. It will check the archive nodes first and receive a
403response, breaking the processor, but the GraphQL API is not affected. Unfortunately, the data will gradually become staleSQD Documentation ref: https://docs.sqd.dev/en/data/api-keys