Skip to content

Commit

Permalink
Node/CCQ: Add test to verify solana public key length (wormhole-found…
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley authored Jan 23, 2024
1 parent ded305f commit 65abbde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions node/pkg/query/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,11 @@ func TestSolanaQueryMarshalUnmarshalFromSDK(t *testing.T) {
require.NoError(t, err)
}

func TestSolanaPublicKeyLengthIsAsExpected(t *testing.T) {
// It will break the spec if this ever changes!
require.Equal(t, 32, SolanaPublicKeyLength)
}

///////////// End of Solana Account Query tests ///////////////////////////

func TestPostSignedQueryRequestShouldFailIfNoOneIsListening(t *testing.T) {
Expand Down

0 comments on commit 65abbde

Please sign in to comment.