Page MenuHomePhabricator

[keyserver] Update keyserver ENSCache to source Alchemy key via getCommConfig
ClosedPublic

Authored by ashoat on Apr 7 2023, 3:32 PM.
Tags
None
Referenced Files
F3591799: D7366.id24869.diff
Mon, Dec 30, 12:55 PM
Unknown Object (File)
Sat, Dec 28, 8:21 PM
Unknown Object (File)
Sat, Dec 14, 11:56 PM
Unknown Object (File)
Sat, Dec 14, 11:56 PM
Unknown Object (File)
Sat, Dec 14, 11:55 PM
Unknown Object (File)
Sat, Dec 14, 11:39 PM
Unknown Object (File)
Thu, Dec 5, 1:19 AM
Unknown Object (File)
Thu, Dec 5, 1:19 AM
Subscribers

Details

Summary

Now that we're able to configure the Alchemy key via getCommConfig, we should use that to load the Alchemy key for the keyserver's ENSCache. This requires an await invocation, which necessitated a slight refactor.

Depends on D7357

Test Plan
  1. Create a keyserver/secrets/alchemy.json file with valid config
  2. Make sure my local keyserver is able to do ENS resolution in notifs

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage