pyth-crosschain/bridge
Leo 08156ca438 bridge: move initial guardian set fetching to pkg/ethereum/watcher.go
This removes the special case in the processor. The initial guardian set
is now treated like a regular guardian set update, and the devnet
update check is executed on every update.

Fixes an edge case where processing a guardian set update would fail
with a spurious `abi: attempting to unmarshall an empty string while arguments are expected`
error, leaving the node in a bad state since restarting ethwatch
wouldn't cause the guardian set to be re-fetched.

ghstack-source-id: e580a65e90
Pull Request resolved: https://github.com/certusone/wormhole/pull/46
2020-10-22 12:20:12 +02:00
..
cmd bridge: move initial guardian set fetching to pkg/ethereum/watcher.go 2020-10-22 12:20:12 +02:00
pkg bridge: move initial guardian set fetching to pkg/ethereum/watcher.go 2020-10-22 12:20:12 +02:00
Dockerfile bridge: in-place debugging using dlv 2020-10-22 12:20:11 +02:00
go.mod bridge: in-place debugging using dlv 2020-10-22 12:20:11 +02:00
go.sum bridge: in-place debugging using dlv 2020-10-22 12:20:11 +02:00
tools.go bridge: in-place debugging using dlv 2020-10-22 12:20:11 +02:00