Versions in this module Expand all Collapse all v0 v0.0.1 May 23, 2023 Changes in this version + var ErrTimeout = errors.New("timeout") + func AssertErrorMessageContains(t *testing.T, expected, target error) + func GenerateAddTxnReq(params GenerateTxReqParams) (*txpoolOp.AddTxnReq, error) + func GenerateKeyAndAddr(t *testing.T) (*ecdsa.PrivateKey, types.Address) + func GenerateTestMultiAddr(t *testing.T) multiaddr.Multiaddr + func GetFreePort() (port int, err error) + func RetryUntilTimeout(ctx context.Context, f func() (interface{}, bool)) (interface{}, error) + func WaitForNonce(ctx context.Context, ethClient *jsonrpc.Eth, addr ethgo.Address, ...) (interface{}, error) + func WaitForReceipt(ctx context.Context, client *jsonrpc.Eth, hash ethgo.Hash) (*ethgo.Receipt, error) + func WaitUntilTxPoolEmpty(ctx context.Context, client txpoolOp.TxnPoolOperatorClient) (*txpoolOp.TxnPoolStatusResp, error) + type GenerateTxReqParams struct + GasPrice *big.Int + Input []byte + Nonce uint64 + ReferenceAddr types.Address + ReferenceKey *ecdsa.PrivateKey + ToAddress types.Address + Value *big.Int