From ad5950ffe74f403c655aba9e9cda38366e20d1fe Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 11 Jan 2021 15:07:24 +0100 Subject: [PATCH] Make it official that we support exactly 19 validators Fixes #86 --- bridge/pkg/common/guardianset.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bridge/pkg/common/guardianset.go b/bridge/pkg/common/guardianset.go index 4c99b364..9186c91b 100644 --- a/bridge/pkg/common/guardianset.go +++ b/bridge/pkg/common/guardianset.go @@ -4,12 +4,10 @@ import ( "github.com/ethereum/go-ethereum/common" ) -// TODO: this should be 20, https://github.com/certusone/wormhole/issues/86 -// // Matching constants: -// - MAX_LEN_GUARDIAN_KEYS in Solana contract +// - MAX_LEN_GUARDIAN_KEYS in Solana contract (limited by transaction size - 19 is the maximum amount possible) // -// The Eth and Terra contracts do not specify a maximum number and support more than 20, +// The Eth and Terra contracts do not specify a maximum number and support more than that, // but presumably, chain-specific transaction size limits will apply at some point (untested). const MaxGuardianCount = 19