Node/CCQ: Add test to verify solana public key length (#3730)

This commit is contained in:
bruce-riley 2024-01-23 13:29:15 -06:00 committed by GitHub
parent ded305ffab
commit 65abbde534
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -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) {