Versions in this module Expand all Collapse all v0 v0.1.1 Nov 26, 2024 Changes in this version + func CancelledContext() context.Context v0.1.0 Oct 21, 2024 Changes in this version + const BLOCKCHAIN_RPC_URL + const TEST_PRIVATE_KEY + func BuildIdentityUpdateEvent(inboxId [32]byte, update []byte, sequenceID uint64) ([]byte, error) + func BuildIdentityUpdateLog(t *testing.T, inboxId [32]byte, update []byte, sequenceID uint64) types.Log + func BuildMessageSentEvent(groupID [32]byte, message []byte, sequenceID uint64) ([]byte, error) + func BuildMessageSentLog(t *testing.T, groupID [32]byte, message []byte, sequenceID uint64) types.Log + func DeployGroupMessagesContract(t *testing.T) string + func DeployIdentityUpdatesContract(t *testing.T) string + func DeployNodesContract(t *testing.T) string + func GetContractsOptions(t *testing.T) config.ContractsOptions + func GetPayerOptions(t *testing.T) config.PayerOptions + func InsertGatewayEnvelopes(t *testing.T, db *sql.DB, rows []queries.InsertGatewayEnvelopeParams, ...) + func Marshal(t *testing.T, msg proto.Message) []byte + func NewDB(t *testing.T, ctx context.Context) (*sql.DB, string, func()) + func NewDBs(t *testing.T, ctx context.Context, count int) ([]*sql.DB, func()) + func NewLog(t testing.TB) *zap.Logger + func RandomAddress() common.Address + func RandomBytes(n int) []byte + func RandomGroupID() [32]byte + func RandomInboxId() string + func RandomLogTopic() common.Hash + func RandomPrivateKey(t *testing.T) *ecdsa.PrivateKey + func RandomString(n int) string + func RandomStringLower(n int) string