wormhole-foundation / wormhole-monitor

The eagle-eyed observer. The meta-watcher.
https://wormhole-foundation.github.io/wormhole-monitor/
Other
6 stars 0 forks source link

watcher: refactor attempt #11

Closed evan-gray closed 1 year ago

evan-gray commented 1 year ago

I'm not sure how I feel about this.

heyitaki commented 1 year ago

I would even take this refactor a step further and create a Watcher interface that each chain implements (eg ArbitrumWatcher) so that we have uniform methods but can also abstract chain-specific logic away. Similar to this latest refactor but a little more organized imo

evan-gray commented 1 year ago

thanks for the feedback and motivation @heyitaki! I feel less bad about it now 😁