From c370a94911c3b06237fd5e92837739ff2f98d191 Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 22 Aug 2020 10:54:11 +0200 Subject: [PATCH] Remove instructions for running devnet_setup.sh --- DEVELOP.md | 4 ---- bridge/cmd/guardiand/processor.go | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/DEVELOP.md b/DEVELOP.md index 032d2e0d..57f17080 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -39,10 +39,6 @@ Generate test ETH lockups once the cluster is up: kubectl exec -it -c tests eth-devnet-0 -- npx truffle exec src/send-lockups.js -Initialize contract on devnet and generate test SOL lockups: - - kubectl exec -it guardian-0 -c agent ./devnet_setup.sh - Adjust number of nodes in running cluster: tilt args -- --num=2 diff --git a/bridge/cmd/guardiand/processor.go b/bridge/cmd/guardiand/processor.go index 3e2e00d0..f681c62d 100644 --- a/bridge/cmd/guardiand/processor.go +++ b/bridge/cmd/guardiand/processor.go @@ -271,6 +271,8 @@ func vaaConsensusProcessor(lockC chan *common.ChainLock, setC chan *common.Guard panic(err) } + // TODO: proper leader selection + if t, ok := v.Payload.(*vaa.BodyTransfer); ok { switch { case t.TargetChain == vaa.ChainIDSolana: