Page MenuHomePhabricator

[lib] Catch exceptions thrown by ethers.js in ENSCache
ClosedPublic

Authored by ashoat on Feb 3 2023, 12:33 AM.
Tags
None
Referenced Files
F3493239: D6551.diff
Thu, Dec 19, 2:34 AM
Unknown Object (File)
Fri, Nov 22, 2:18 AM
Unknown Object (File)
Fri, Nov 22, 2:18 AM
Unknown Object (File)
Fri, Nov 22, 2:18 AM
Unknown Object (File)
Fri, Nov 22, 2:17 AM
Unknown Object (File)
Oct 22 2024, 3:19 AM
Unknown Object (File)
Oct 22 2024, 3:19 AM
Unknown Object (File)
Oct 22 2024, 3:03 AM
Subscribers

Details

Summary

I haven't noticed any exceptions, but it would be good to consider this.

If an exception is thrown when querying for an address, we won't try again for another 5 minutes.

Depends on D6550

Test Plan

I haven't actually noticed exceptions, but in a later point of the stack I introduce my own exceptions (for timeouts) and I confirmed things work correctly for those

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage