Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SignerTests = map[string]func(t *testing.T, s warp.Signer, sk *bls.SecretKey, networkID uint32, chainID ids.ID){ "WrongChainID": TestWrongChainID, "WrongNetworkID": TestWrongNetworkID, "Verifies": TestVerifies, }
SignerTests is a list of all signer tests
Functions ¶
func TestVerifies ¶
Test that a signature generated with the signer verifies correctly
func TestWrongChainID ¶
Test that using a random SourceChainID results in an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.