noble-assets / noble-cctp-relayer

Apache License 2.0
15 stars 9 forks source link

Add method to validate config file #51

Closed boojamya closed 7 months ago

boojamya commented 9 months ago

See discussion: https://github.com/strangelove-ventures/noble-cctp-relayer/pull/49#discussion_r1508088961

joelsmith-2019 commented 7 months ago

This feature was implemented in v0.1.4, but it does not extensively validate all of the config options. It only tests the Circle API config settings. I'll work on creating a new PR which more extensively detects misconfigurations throughout the entire file.

https://github.com/strangelove-ventures/noble-cctp-relayer/blob/61ff2d1cbe5dc5d8a33914477f017d7c9d34a452/cmd/appstate.go#L77-L87