mock

package
v0.48.86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccount

type MockAccount struct {
	// contains filtered or unexported fields
}

MockAccount is a mock of Account interface.

func NewMockAccount

func NewMockAccount(ctrl *gomock.Controller) *MockAccount

NewMockAccount creates a new mock instance.

func (*MockAccount) EXPECT

func (m *MockAccount) EXPECT() *MockAccountMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAccount) GetAccountNumber

func (m *MockAccount) GetAccountNumber() uint64

GetAccountNumber mocks base method.

func (*MockAccount) GetAddress

func (m *MockAccount) GetAddress() types0.AccAddress

GetAddress mocks base method.

func (*MockAccount) GetPubKey

func (m *MockAccount) GetPubKey() types.PubKey

GetPubKey mocks base method.

func (*MockAccount) GetSequence

func (m *MockAccount) GetSequence() uint64

GetSequence mocks base method.

type MockAccountMockRecorder

type MockAccountMockRecorder struct {
	// contains filtered or unexported fields
}

MockAccountMockRecorder is the mock recorder for MockAccount.

func (*MockAccountMockRecorder) GetAccountNumber

func (mr *MockAccountMockRecorder) GetAccountNumber() *gomock.Call

GetAccountNumber indicates an expected call of GetAccountNumber.

func (*MockAccountMockRecorder) GetAddress

func (mr *MockAccountMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockAccountMockRecorder) GetPubKey

func (mr *MockAccountMockRecorder) GetPubKey() *gomock.Call

GetPubKey indicates an expected call of GetPubKey.

func (*MockAccountMockRecorder) GetSequence

func (mr *MockAccountMockRecorder) GetSequence() *gomock.Call

GetSequence indicates an expected call of GetSequence.

type MockAccountRetriever

type MockAccountRetriever struct {
	// contains filtered or unexported fields
}

MockAccountRetriever is a mock of AccountRetriever interface.

func NewMockAccountRetriever

func NewMockAccountRetriever(ctrl *gomock.Controller) *MockAccountRetriever

NewMockAccountRetriever creates a new mock instance.

func (*MockAccountRetriever) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAccountRetriever) EnsureExists

func (m *MockAccountRetriever) EnsureExists(clientCtx client.Context, addr types0.AccAddress) error

EnsureExists mocks base method.

func (*MockAccountRetriever) GetAccount

func (m *MockAccountRetriever) GetAccount(clientCtx client.Context, addr types0.AccAddress) (client.Account, error)

GetAccount mocks base method.

func (*MockAccountRetriever) GetAccountNumberSequence

func (m *MockAccountRetriever) GetAccountNumberSequence(clientCtx client.Context, addr types0.AccAddress) (uint64, uint64, error)

GetAccountNumberSequence mocks base method.

func (*MockAccountRetriever) GetAccountWithHeight

func (m *MockAccountRetriever) GetAccountWithHeight(clientCtx client.Context, addr types0.AccAddress) (client.Account, int64, error)

GetAccountWithHeight mocks base method.

type MockAccountRetrieverMockRecorder

type MockAccountRetrieverMockRecorder struct {
	// contains filtered or unexported fields
}

MockAccountRetrieverMockRecorder is the mock recorder for MockAccountRetriever.

func (*MockAccountRetrieverMockRecorder) EnsureExists

func (mr *MockAccountRetrieverMockRecorder) EnsureExists(clientCtx, addr interface{}) *gomock.Call

EnsureExists indicates an expected call of EnsureExists.

func (*MockAccountRetrieverMockRecorder) GetAccount

func (mr *MockAccountRetrieverMockRecorder) GetAccount(clientCtx, addr interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountRetrieverMockRecorder) GetAccountNumberSequence

func (mr *MockAccountRetrieverMockRecorder) GetAccountNumberSequence(clientCtx, addr interface{}) *gomock.Call

GetAccountNumberSequence indicates an expected call of GetAccountNumberSequence.

func (*MockAccountRetrieverMockRecorder) GetAccountWithHeight

func (mr *MockAccountRetrieverMockRecorder) GetAccountWithHeight(clientCtx, addr interface{}) *gomock.Call

GetAccountWithHeight indicates an expected call of GetAccountWithHeight.

type MockAnteDecorator

type MockAnteDecorator struct {
	// contains filtered or unexported fields
}

MockAnteDecorator is a mock of AnteDecorator interface.

func NewMockAnteDecorator

func NewMockAnteDecorator(ctrl *gomock.Controller) *MockAnteDecorator

NewMockAnteDecorator creates a new mock instance.

func (*MockAnteDecorator) AnteHandle

func (m *MockAnteDecorator) AnteHandle(ctx types.Context, tx types.Tx, simulate bool, next types.AnteHandler) (types.Context, error)

AnteHandle mocks base method.

func (*MockAnteDecorator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockAnteDecoratorMockRecorder

type MockAnteDecoratorMockRecorder struct {
	// contains filtered or unexported fields
}

MockAnteDecoratorMockRecorder is the mock recorder for MockAnteDecorator.

func (*MockAnteDecoratorMockRecorder) AnteHandle

func (mr *MockAnteDecoratorMockRecorder) AnteHandle(ctx, tx, simulate, next interface{}) *gomock.Call

AnteHandle indicates an expected call of AnteHandle.

type MockAppModule

type MockAppModule struct {
	// contains filtered or unexported fields
}

MockAppModule is a mock of AppModule interface.

func NewMockAppModule

func NewMockAppModule(ctrl *gomock.Controller) *MockAppModule

NewMockAppModule creates a new mock instance.

func (*MockAppModule) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppModule) GetQueryCmd

func (m *MockAppModule) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockAppModule) GetTxCmd

func (m *MockAppModule) GetTxCmd() *cobra.Command

GetTxCmd mocks base method.

func (*MockAppModule) Name

func (m *MockAppModule) Name() string

Name mocks base method.

func (*MockAppModule) RegisterGRPCGatewayRoutes

func (m *MockAppModule) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModule) RegisterInterfaces

func (m *MockAppModule) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockAppModule) RegisterLegacyAminoCodec

func (m *MockAppModule) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

type MockAppModuleBasic

type MockAppModuleBasic struct {
	// contains filtered or unexported fields
}

MockAppModuleBasic is a mock of AppModuleBasic interface.

func NewMockAppModuleBasic

func NewMockAppModuleBasic(ctrl *gomock.Controller) *MockAppModuleBasic

NewMockAppModuleBasic creates a new mock instance.

func (*MockAppModuleBasic) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppModuleBasic) GetQueryCmd

func (m *MockAppModuleBasic) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockAppModuleBasic) GetTxCmd

func (m *MockAppModuleBasic) GetTxCmd() *cobra.Command

GetTxCmd mocks base method.

func (*MockAppModuleBasic) Name

func (m *MockAppModuleBasic) Name() string

Name mocks base method.

func (*MockAppModuleBasic) RegisterGRPCGatewayRoutes

func (m *MockAppModuleBasic) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleBasic) RegisterInterfaces

func (m *MockAppModuleBasic) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockAppModuleBasic) RegisterLegacyAminoCodec

func (m *MockAppModuleBasic) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

type MockAppModuleBasicMockRecorder

type MockAppModuleBasicMockRecorder struct {
	// contains filtered or unexported fields
}

MockAppModuleBasicMockRecorder is the mock recorder for MockAppModuleBasic.

func (*MockAppModuleBasicMockRecorder) GetQueryCmd

func (mr *MockAppModuleBasicMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockAppModuleBasicMockRecorder) GetTxCmd

func (mr *MockAppModuleBasicMockRecorder) GetTxCmd() *gomock.Call

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockAppModuleBasicMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleBasicMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockAppModuleBasicMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleBasicMockRecorder) RegisterInterfaces

func (mr *MockAppModuleBasicMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleBasicMockRecorder) RegisterLegacyAminoCodec

func (mr *MockAppModuleBasicMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockAppModuleGenesis

type MockAppModuleGenesis struct {
	// contains filtered or unexported fields
}

MockAppModuleGenesis is a mock of AppModuleGenesis interface.

func NewMockAppModuleGenesis

func NewMockAppModuleGenesis(ctrl *gomock.Controller) *MockAppModuleGenesis

NewMockAppModuleGenesis creates a new mock instance.

func (*MockAppModuleGenesis) DefaultGenesis

func (m *MockAppModuleGenesis) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage

DefaultGenesis mocks base method.

func (*MockAppModuleGenesis) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppModuleGenesis) ExportGenesis

func (m *MockAppModuleGenesis) ExportGenesis(arg0 types0.Context, arg1 codec.JSONCodec) json.RawMessage

ExportGenesis mocks base method.

func (*MockAppModuleGenesis) GetQueryCmd

func (m *MockAppModuleGenesis) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockAppModuleGenesis) GetTxCmd

func (m *MockAppModuleGenesis) GetTxCmd() *cobra.Command

GetTxCmd mocks base method.

func (*MockAppModuleGenesis) InitGenesis

InitGenesis mocks base method.

func (*MockAppModuleGenesis) Name

func (m *MockAppModuleGenesis) Name() string

Name mocks base method.

func (*MockAppModuleGenesis) RegisterGRPCGatewayRoutes

func (m *MockAppModuleGenesis) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleGenesis) RegisterInterfaces

func (m *MockAppModuleGenesis) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockAppModuleGenesis) RegisterLegacyAminoCodec

func (m *MockAppModuleGenesis) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

func (*MockAppModuleGenesis) ValidateGenesis

func (m *MockAppModuleGenesis) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method.

type MockAppModuleGenesisMockRecorder

type MockAppModuleGenesisMockRecorder struct {
	// contains filtered or unexported fields
}

MockAppModuleGenesisMockRecorder is the mock recorder for MockAppModuleGenesis.

func (*MockAppModuleGenesisMockRecorder) DefaultGenesis

func (mr *MockAppModuleGenesisMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleGenesisMockRecorder) ExportGenesis

func (mr *MockAppModuleGenesisMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleGenesisMockRecorder) GetQueryCmd

func (mr *MockAppModuleGenesisMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockAppModuleGenesisMockRecorder) GetTxCmd

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockAppModuleGenesisMockRecorder) InitGenesis

func (mr *MockAppModuleGenesisMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleGenesisMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleGenesisMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockAppModuleGenesisMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleGenesisMockRecorder) RegisterInterfaces

func (mr *MockAppModuleGenesisMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleGenesisMockRecorder) RegisterLegacyAminoCodec

func (mr *MockAppModuleGenesisMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

func (*MockAppModuleGenesisMockRecorder) ValidateGenesis

func (mr *MockAppModuleGenesisMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockAppModuleMockRecorder

type MockAppModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockAppModuleMockRecorder is the mock recorder for MockAppModule.

func (*MockAppModuleMockRecorder) GetQueryCmd

func (mr *MockAppModuleMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockAppModuleMockRecorder) GetTxCmd

func (mr *MockAppModuleMockRecorder) GetTxCmd() *gomock.Call

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockAppModuleMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockAppModuleMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleMockRecorder) RegisterInterfaces

func (mr *MockAppModuleMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleMockRecorder) RegisterLegacyAminoCodec

func (mr *MockAppModuleMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockAppModuleWithAllExtensions

type MockAppModuleWithAllExtensions struct {
	// contains filtered or unexported fields
}

MockAppModuleWithAllExtensions is a mock of AppModuleWithAllExtensions interface.

func NewMockAppModuleWithAllExtensions

func NewMockAppModuleWithAllExtensions(ctrl *gomock.Controller) *MockAppModuleWithAllExtensions

NewMockAppModuleWithAllExtensions creates a new mock instance.

func (*MockAppModuleWithAllExtensions) BeginBlock

BeginBlock mocks base method.

func (*MockAppModuleWithAllExtensions) ConsensusVersion

func (m *MockAppModuleWithAllExtensions) ConsensusVersion() uint64

ConsensusVersion mocks base method.

func (*MockAppModuleWithAllExtensions) DefaultGenesis

DefaultGenesis mocks base method.

func (*MockAppModuleWithAllExtensions) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppModuleWithAllExtensions) EndBlock

EndBlock mocks base method.

func (*MockAppModuleWithAllExtensions) ExportGenesis

ExportGenesis mocks base method.

func (*MockAppModuleWithAllExtensions) GetQueryCmd

func (m *MockAppModuleWithAllExtensions) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockAppModuleWithAllExtensions) GetTxCmd

GetTxCmd mocks base method.

func (*MockAppModuleWithAllExtensions) InitGenesis

InitGenesis mocks base method.

func (*MockAppModuleWithAllExtensions) Name

Name mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterGRPCGatewayRoutes

func (m *MockAppModuleWithAllExtensions) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterInterfaces

func (m *MockAppModuleWithAllExtensions) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterInvariants

func (m *MockAppModuleWithAllExtensions) RegisterInvariants(arg0 types0.InvariantRegistry)

RegisterInvariants mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterLegacyAminoCodec

func (m *MockAppModuleWithAllExtensions) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterServices

func (m *MockAppModuleWithAllExtensions) RegisterServices(arg0 module.Configurator)

RegisterServices mocks base method.

func (*MockAppModuleWithAllExtensions) ValidateGenesis

ValidateGenesis mocks base method.

type MockAppModuleWithAllExtensionsMockRecorder

type MockAppModuleWithAllExtensionsMockRecorder struct {
	// contains filtered or unexported fields
}

MockAppModuleWithAllExtensionsMockRecorder is the mock recorder for MockAppModuleWithAllExtensions.

func (*MockAppModuleWithAllExtensionsMockRecorder) BeginBlock

func (mr *MockAppModuleWithAllExtensionsMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call

BeginBlock indicates an expected call of BeginBlock.

func (*MockAppModuleWithAllExtensionsMockRecorder) ConsensusVersion

func (mr *MockAppModuleWithAllExtensionsMockRecorder) ConsensusVersion() *gomock.Call

ConsensusVersion indicates an expected call of ConsensusVersion.

func (*MockAppModuleWithAllExtensionsMockRecorder) DefaultGenesis

func (mr *MockAppModuleWithAllExtensionsMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) EndBlock

func (mr *MockAppModuleWithAllExtensionsMockRecorder) EndBlock(arg0, arg1 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock.

func (*MockAppModuleWithAllExtensionsMockRecorder) ExportGenesis

func (mr *MockAppModuleWithAllExtensionsMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) GetQueryCmd

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockAppModuleWithAllExtensionsMockRecorder) GetTxCmd

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockAppModuleWithAllExtensionsMockRecorder) InitGenesis

func (mr *MockAppModuleWithAllExtensionsMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterInterfaces

func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterInvariants

func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterInvariants(arg0 interface{}) *gomock.Call

RegisterInvariants indicates an expected call of RegisterInvariants.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterLegacyAminoCodec

func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterServices

func (mr *MockAppModuleWithAllExtensionsMockRecorder) RegisterServices(arg0 interface{}) *gomock.Call

RegisterServices indicates an expected call of RegisterServices.

func (*MockAppModuleWithAllExtensionsMockRecorder) ValidateGenesis

func (mr *MockAppModuleWithAllExtensionsMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockBeginBlockAppModule

type MockBeginBlockAppModule struct {
	// contains filtered or unexported fields
}

MockBeginBlockAppModule is a mock of BeginBlockAppModule interface.

func NewMockBeginBlockAppModule

func NewMockBeginBlockAppModule(ctrl *gomock.Controller) *MockBeginBlockAppModule

NewMockBeginBlockAppModule creates a new mock instance.

func (*MockBeginBlockAppModule) BeginBlock

BeginBlock mocks base method.

func (*MockBeginBlockAppModule) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBeginBlockAppModule) GetQueryCmd

func (m *MockBeginBlockAppModule) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockBeginBlockAppModule) GetTxCmd

func (m *MockBeginBlockAppModule) GetTxCmd() *cobra.Command

GetTxCmd mocks base method.

func (*MockBeginBlockAppModule) Name

func (m *MockBeginBlockAppModule) Name() string

Name mocks base method.

func (*MockBeginBlockAppModule) RegisterGRPCGatewayRoutes

func (m *MockBeginBlockAppModule) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockBeginBlockAppModule) RegisterInterfaces

func (m *MockBeginBlockAppModule) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockBeginBlockAppModule) RegisterLegacyAminoCodec

func (m *MockBeginBlockAppModule) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

type MockBeginBlockAppModuleMockRecorder

type MockBeginBlockAppModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockBeginBlockAppModuleMockRecorder is the mock recorder for MockBeginBlockAppModule.

func (*MockBeginBlockAppModuleMockRecorder) BeginBlock

func (mr *MockBeginBlockAppModuleMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call

BeginBlock indicates an expected call of BeginBlock.

func (*MockBeginBlockAppModuleMockRecorder) GetQueryCmd

func (mr *MockBeginBlockAppModuleMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockBeginBlockAppModuleMockRecorder) GetTxCmd

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockBeginBlockAppModuleMockRecorder) Name

Name indicates an expected call of Name.

func (*MockBeginBlockAppModuleMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockBeginBlockAppModuleMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockBeginBlockAppModuleMockRecorder) RegisterInterfaces

func (mr *MockBeginBlockAppModuleMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockBeginBlockAppModuleMockRecorder) RegisterLegacyAminoCodec

func (mr *MockBeginBlockAppModuleMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockEndBlockAppModule

type MockEndBlockAppModule struct {
	// contains filtered or unexported fields
}

MockEndBlockAppModule is a mock of EndBlockAppModule interface.

func NewMockEndBlockAppModule

func NewMockEndBlockAppModule(ctrl *gomock.Controller) *MockEndBlockAppModule

NewMockEndBlockAppModule creates a new mock instance.

func (*MockEndBlockAppModule) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEndBlockAppModule) EndBlock

EndBlock mocks base method.

func (*MockEndBlockAppModule) GetQueryCmd

func (m *MockEndBlockAppModule) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method.

func (*MockEndBlockAppModule) GetTxCmd

func (m *MockEndBlockAppModule) GetTxCmd() *cobra.Command

GetTxCmd mocks base method.

func (*MockEndBlockAppModule) Name

func (m *MockEndBlockAppModule) Name() string

Name mocks base method.

func (*MockEndBlockAppModule) RegisterGRPCGatewayRoutes

func (m *MockEndBlockAppModule) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux)

RegisterGRPCGatewayRoutes mocks base method.

func (*MockEndBlockAppModule) RegisterInterfaces

func (m *MockEndBlockAppModule) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockEndBlockAppModule) RegisterLegacyAminoCodec

func (m *MockEndBlockAppModule) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino)

RegisterLegacyAminoCodec mocks base method.

type MockEndBlockAppModuleMockRecorder

type MockEndBlockAppModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockEndBlockAppModuleMockRecorder is the mock recorder for MockEndBlockAppModule.

func (*MockEndBlockAppModuleMockRecorder) EndBlock

func (mr *MockEndBlockAppModuleMockRecorder) EndBlock(arg0, arg1 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock.

func (*MockEndBlockAppModuleMockRecorder) GetQueryCmd

func (mr *MockEndBlockAppModuleMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd.

func (*MockEndBlockAppModuleMockRecorder) GetTxCmd

GetTxCmd indicates an expected call of GetTxCmd.

func (*MockEndBlockAppModuleMockRecorder) Name

Name indicates an expected call of Name.

func (*MockEndBlockAppModuleMockRecorder) RegisterGRPCGatewayRoutes

func (mr *MockEndBlockAppModuleMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockEndBlockAppModuleMockRecorder) RegisterInterfaces

func (mr *MockEndBlockAppModuleMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockEndBlockAppModuleMockRecorder) RegisterLegacyAminoCodec

func (mr *MockEndBlockAppModuleMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockHasConsensusVersion

type MockHasConsensusVersion struct {
	// contains filtered or unexported fields
}

MockHasConsensusVersion is a mock of HasConsensusVersion interface.

func NewMockHasConsensusVersion

func NewMockHasConsensusVersion(ctrl *gomock.Controller) *MockHasConsensusVersion

NewMockHasConsensusVersion creates a new mock instance.

func (*MockHasConsensusVersion) ConsensusVersion

func (m *MockHasConsensusVersion) ConsensusVersion() uint64

ConsensusVersion mocks base method.

func (*MockHasConsensusVersion) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockHasConsensusVersionMockRecorder

type MockHasConsensusVersionMockRecorder struct {
	// contains filtered or unexported fields
}

MockHasConsensusVersionMockRecorder is the mock recorder for MockHasConsensusVersion.

func (*MockHasConsensusVersionMockRecorder) ConsensusVersion

func (mr *MockHasConsensusVersionMockRecorder) ConsensusVersion() *gomock.Call

ConsensusVersion indicates an expected call of ConsensusVersion.

type MockHasGenesis

type MockHasGenesis struct {
	// contains filtered or unexported fields
}

MockHasGenesis is a mock of HasGenesis interface.

func NewMockHasGenesis

func NewMockHasGenesis(ctrl *gomock.Controller) *MockHasGenesis

NewMockHasGenesis creates a new mock instance.

func (*MockHasGenesis) DefaultGenesis

func (m *MockHasGenesis) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage

DefaultGenesis mocks base method.

func (*MockHasGenesis) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHasGenesis) ExportGenesis

func (m *MockHasGenesis) ExportGenesis(arg0 types0.Context, arg1 codec.JSONCodec) json.RawMessage

ExportGenesis mocks base method.

func (*MockHasGenesis) InitGenesis

func (m *MockHasGenesis) InitGenesis(arg0 types0.Context, arg1 codec.JSONCodec, arg2 json.RawMessage) []types1.ValidatorUpdate

InitGenesis mocks base method.

func (*MockHasGenesis) ValidateGenesis

func (m *MockHasGenesis) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method.

type MockHasGenesisBasics

type MockHasGenesisBasics struct {
	// contains filtered or unexported fields
}

MockHasGenesisBasics is a mock of HasGenesisBasics interface.

func NewMockHasGenesisBasics

func NewMockHasGenesisBasics(ctrl *gomock.Controller) *MockHasGenesisBasics

NewMockHasGenesisBasics creates a new mock instance.

func (*MockHasGenesisBasics) DefaultGenesis

func (m *MockHasGenesisBasics) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage

DefaultGenesis mocks base method.

func (*MockHasGenesisBasics) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHasGenesisBasics) ValidateGenesis

func (m *MockHasGenesisBasics) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method.

type MockHasGenesisBasicsMockRecorder

type MockHasGenesisBasicsMockRecorder struct {
	// contains filtered or unexported fields
}

MockHasGenesisBasicsMockRecorder is the mock recorder for MockHasGenesisBasics.

func (*MockHasGenesisBasicsMockRecorder) DefaultGenesis

func (mr *MockHasGenesisBasicsMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockHasGenesisBasicsMockRecorder) ValidateGenesis

func (mr *MockHasGenesisBasicsMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockHasGenesisMockRecorder

type MockHasGenesisMockRecorder struct {
	// contains filtered or unexported fields
}

MockHasGenesisMockRecorder is the mock recorder for MockHasGenesis.

func (*MockHasGenesisMockRecorder) DefaultGenesis

func (mr *MockHasGenesisMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockHasGenesisMockRecorder) ExportGenesis

func (mr *MockHasGenesisMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockHasGenesisMockRecorder) InitGenesis

func (mr *MockHasGenesisMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis.

func (*MockHasGenesisMockRecorder) ValidateGenesis

func (mr *MockHasGenesisMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockHasInvariants

type MockHasInvariants struct {
	// contains filtered or unexported fields
}

MockHasInvariants is a mock of HasInvariants interface.

func NewMockHasInvariants

func NewMockHasInvariants(ctrl *gomock.Controller) *MockHasInvariants

NewMockHasInvariants creates a new mock instance.

func (*MockHasInvariants) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHasInvariants) RegisterInvariants

func (m *MockHasInvariants) RegisterInvariants(arg0 types0.InvariantRegistry)

RegisterInvariants mocks base method.

type MockHasInvariantsMockRecorder

type MockHasInvariantsMockRecorder struct {
	// contains filtered or unexported fields
}

MockHasInvariantsMockRecorder is the mock recorder for MockHasInvariants.

func (*MockHasInvariantsMockRecorder) RegisterInvariants

func (mr *MockHasInvariantsMockRecorder) RegisterInvariants(arg0 interface{}) *gomock.Call

RegisterInvariants indicates an expected call of RegisterInvariants.

type MockHasName

type MockHasName struct {
	// contains filtered or unexported fields
}

MockHasName is a mock of HasName interface.

func NewMockHasName

func NewMockHasName(ctrl *gomock.Controller) *MockHasName

NewMockHasName creates a new mock instance.

func (*MockHasName) EXPECT

func (m *MockHasName) EXPECT() *MockHasNameMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHasName) Name

func (m *MockHasName) Name() string

Name mocks base method.

type MockHasNameMockRecorder

type MockHasNameMockRecorder struct {
	// contains filtered or unexported fields
}

MockHasNameMockRecorder is the mock recorder for MockHasName.

func (*MockHasNameMockRecorder) Name

func (mr *MockHasNameMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

type MockHasServices

type MockHasServices struct {
	// contains filtered or unexported fields
}

MockHasServices is a mock of HasServices interface.

func NewMockHasServices

func NewMockHasServices(ctrl *gomock.Controller) *MockHasServices

NewMockHasServices creates a new mock instance.

func (*MockHasServices) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHasServices) RegisterServices

func (m *MockHasServices) RegisterServices(arg0 module.Configurator)

RegisterServices mocks base method.

type MockHasServicesMockRecorder

type MockHasServicesMockRecorder struct {
	// contains filtered or unexported fields
}

MockHasServicesMockRecorder is the mock recorder for MockHasServices.

func (*MockHasServicesMockRecorder) RegisterServices

func (mr *MockHasServicesMockRecorder) RegisterServices(arg0 interface{}) *gomock.Call

RegisterServices indicates an expected call of RegisterServices.

type MockInvariantRegistry

type MockInvariantRegistry struct {
	// contains filtered or unexported fields
}

MockInvariantRegistry is a mock of InvariantRegistry interface.

func NewMockInvariantRegistry

func NewMockInvariantRegistry(ctrl *gomock.Controller) *MockInvariantRegistry

NewMockInvariantRegistry creates a new mock instance.

func (*MockInvariantRegistry) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInvariantRegistry) RegisterRoute

func (m *MockInvariantRegistry) RegisterRoute(moduleName, route string, invar types.Invariant)

RegisterRoute mocks base method.

type MockInvariantRegistryMockRecorder

type MockInvariantRegistryMockRecorder struct {
	// contains filtered or unexported fields
}

MockInvariantRegistryMockRecorder is the mock recorder for MockInvariantRegistry.

func (*MockInvariantRegistryMockRecorder) RegisterRoute

func (mr *MockInvariantRegistryMockRecorder) RegisterRoute(moduleName, route, invar interface{}) *gomock.Call

RegisterRoute indicates an expected call of RegisterRoute.

type MockLogger

type MockLogger struct {
	// contains filtered or unexported fields
}

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debug

func (m *MockLogger) Debug(arg0 string, arg1 ...interface{})

Debug mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogger) Error

func (m *MockLogger) Error(arg0 string, arg1 ...interface{})

Error mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(arg0 string, arg1 ...interface{})

Info mocks base method.

func (*MockLogger) With

func (m *MockLogger) With(arg0 ...interface{}) log.Logger

With mocks base method.

type MockLoggerMockRecorder

type MockLoggerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) With

func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call

With indicates an expected call of With.

type MockPostDecorator

type MockPostDecorator struct {
	// contains filtered or unexported fields
}

MockPostDecorator is a mock of PostDecorator interface.

func NewMockPostDecorator

func NewMockPostDecorator(ctrl *gomock.Controller) *MockPostDecorator

NewMockPostDecorator creates a new mock instance.

func (*MockPostDecorator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPostDecorator) PostHandle

func (m *MockPostDecorator) PostHandle(ctx types.Context, tx types.Tx, simulate, success bool, next types.PostHandler) (types.Context, error)

PostHandle mocks base method.

type MockPostDecoratorMockRecorder

type MockPostDecoratorMockRecorder struct {
	// contains filtered or unexported fields
}

MockPostDecoratorMockRecorder is the mock recorder for MockPostDecorator.

func (*MockPostDecoratorMockRecorder) PostHandle

func (mr *MockPostDecoratorMockRecorder) PostHandle(ctx, tx, simulate, success, next interface{}) *gomock.Call

PostHandle indicates an expected call of PostHandle.

type MockServer

type MockServer struct {
	// contains filtered or unexported fields
}

MockServer is a mock of Server interface.

func NewMockServer

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT

func (m *MockServer) EXPECT() *MockServerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServer) RegisterService

func (m *MockServer) RegisterService(arg0 *grpc.ServiceDesc, arg1 interface{})

RegisterService mocks base method.

type MockServerMockRecorder

type MockServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) RegisterService

func (mr *MockServerMockRecorder) RegisterService(arg0, arg1 interface{}) *gomock.Call

RegisterService indicates an expected call of RegisterService.

type PV

type PV struct {
	PrivKey cryptotypes.PrivKey
}

PV implements PrivValidator without any safety or persistence. Only use it for testing.

func NewPV

func NewPV() PV

func (PV) GetPubKey

func (pv PV) GetPubKey() (crypto.PubKey, error)

GetPubKey implements PrivValidator interface

func (PV) SignProposal

func (pv PV) SignProposal(chainID string, proposal *tmproto.Proposal) error

SignProposal implements PrivValidator interface

func (PV) SignVote

func (pv PV) SignVote(chainID string, vote *tmproto.Vote) error

SignVote implements PrivValidator interface

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL