From ce66e631c2655294c900337ddbe061134557edee Mon Sep 17 00:00:00 2001 From: tbjump Date: Tue, 11 Jul 2023 18:58:12 +0000 Subject: [PATCH] node/node_test: comment governedMsg --- node/pkg/node/node_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/node/pkg/node/node_test.go b/node/pkg/node/node_test.go index dbe67b1d4..8f6bb91e0 100644 --- a/node/pkg/node/node_test.go +++ b/node/pkg/node/node_test.go @@ -328,7 +328,12 @@ func someMessage() *common.MessagePublication { var tokenBridgeSequenceCounter uint64 = 0 +// governedMsg creates a token bridge message that will be in-scope for the governor module. +// The transfer is of wrapped-SOL from Solana to Ethereum. +// If shouldBeDelayed == true, then the amount will be set to 1_000_000_000_000 wSOL which should exceed the governor limit. func governedMsg(shouldBeDelayed bool) *common.MessagePublication { + + // buildMockTransferPayloadBytes is copied from governor_test.go. buildMockTransferPayloadBytes := func( tokenChainID vaa.ChainID, tokenAddrStr string,