Versions in this module Expand all Collapse all v1 v1.0.0 Feb 26, 2023 Changes in this version + var ErrMockedSigning = errors.New("mocked signing error") + func MClose(s *SECP256K1) + func MEnsureExist(m *AccountRetriever, e error) + func MGetAccount(m *AccountRetriever, acc client.Account, e error) + func MGetAccountNumberSequence(m *AccountRetriever, seq, num uint64, e error) + func MGetAddressPubKeySECP256K1(s *SECP256K1, accAddr sdk.AccAddress, pubKey types.PubKey) + func MGetPublicKeySECP256K1(s *SECP256K1, pubKey types.PubKey) + func MSignSECP256K1(s *SECP256K1, f func([]uint32, []byte) ([]byte, error), e error) + type AccountRetriever struct + func NewAccountRetriever(t mockConstructorTestingTNewAccountRetriever) *AccountRetriever + func (_m *AccountRetriever) EnsureExists(clientCtx client.Context, addr types.AccAddress) error + func (_m *AccountRetriever) GetAccount(clientCtx client.Context, addr types.AccAddress) (client.Account, error) + func (_m *AccountRetriever) GetAccountNumberSequence(clientCtx client.Context, addr types.AccAddress) (uint64, uint64, error) + func (_m *AccountRetriever) GetAccountWithHeight(clientCtx client.Context, addr types.AccAddress) (client.Account, int64, error) + type MockTendermintRPC struct + func NewMockTendermintRPC(respQuery abci.ResponseQuery) MockTendermintRPC + func (MockTendermintRPC) BroadcastTxSync(context.Context, tmtypes.Tx) (*coretypes.ResultBroadcastTx, error) + func (m MockTendermintRPC) ABCIQueryWithOptions(_ context.Context, _ string, _ tmbytes.HexBytes, _ rpcclient.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error) + type SECP256K1 struct + func NewSECP256K1(t mockConstructorTestingTNewSECP256K1) *SECP256K1 + func (_m *SECP256K1) Close() error + func (_m *SECP256K1) GetAddressPubKeySECP256K1(_a0 []uint32, _a1 string) ([]byte, string, error) + func (_m *SECP256K1) GetPublicKeySECP256K1(_a0 []uint32) ([]byte, error) + func (_m *SECP256K1) SignSECP256K1(_a0 []uint32, _a1 []byte) ([]byte, error)