mock

package
v0.50.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 20 Imported by: 322

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 added in v0.47.0

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

MockAccount is a mock of Account interface.

func NewMockAccount added in v0.47.0

func NewMockAccount(ctrl *gomock.Controller) *MockAccount

NewMockAccount creates a new mock instance.

func (*MockAccount) EXPECT added in v0.47.0

func (m *MockAccount) EXPECT() *MockAccountMockRecorder

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

func (*MockAccount) GetAccountNumber added in v0.47.0

func (m *MockAccount) GetAccountNumber() uint64

GetAccountNumber mocks base method.

func (*MockAccount) GetAddress added in v0.47.0

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

GetAddress mocks base method.

func (*MockAccount) GetPubKey added in v0.47.0

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

GetPubKey mocks base method.

func (*MockAccount) GetSequence added in v0.47.0

func (m *MockAccount) GetSequence() uint64

GetSequence mocks base method.

type MockAccountMockRecorder added in v0.47.0

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

MockAccountMockRecorder is the mock recorder for MockAccount.

func (*MockAccountMockRecorder) GetAccountNumber added in v0.47.0

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

GetAccountNumber indicates an expected call of GetAccountNumber.

func (*MockAccountMockRecorder) GetAddress added in v0.47.0

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

GetAddress indicates an expected call of GetAddress.

func (*MockAccountMockRecorder) GetPubKey added in v0.47.0

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

GetPubKey indicates an expected call of GetPubKey.

func (*MockAccountMockRecorder) GetSequence added in v0.47.0

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

GetSequence indicates an expected call of GetSequence.

type MockAccountRetriever added in v0.47.0

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

MockAccountRetriever is a mock of AccountRetriever interface.

func NewMockAccountRetriever added in v0.47.0

func NewMockAccountRetriever(ctrl *gomock.Controller) *MockAccountRetriever

NewMockAccountRetriever creates a new mock instance.

func (*MockAccountRetriever) EXPECT added in v0.47.0

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

func (*MockAccountRetriever) EnsureExists added in v0.47.0

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

EnsureExists mocks base method.

func (*MockAccountRetriever) GetAccount added in v0.47.0

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

GetAccount mocks base method.

func (*MockAccountRetriever) GetAccountNumberSequence added in v0.47.0

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

GetAccountNumberSequence mocks base method.

func (*MockAccountRetriever) GetAccountWithHeight added in v0.47.0

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

GetAccountWithHeight mocks base method.

type MockAccountRetrieverMockRecorder added in v0.47.0

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

MockAccountRetrieverMockRecorder is the mock recorder for MockAccountRetriever.

func (*MockAccountRetrieverMockRecorder) EnsureExists added in v0.47.0

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

EnsureExists indicates an expected call of EnsureExists.

func (*MockAccountRetrieverMockRecorder) GetAccount added in v0.47.0

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

GetAccount indicates an expected call of GetAccount.

func (*MockAccountRetrieverMockRecorder) GetAccountNumberSequence added in v0.47.0

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

GetAccountNumberSequence indicates an expected call of GetAccountNumberSequence.

func (*MockAccountRetrieverMockRecorder) GetAccountWithHeight added in v0.47.0

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

GetAccountWithHeight indicates an expected call of GetAccountWithHeight.

type MockAnteDecorator added in v0.47.0

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

MockAnteDecorator is a mock of AnteDecorator interface.

func NewMockAnteDecorator added in v0.47.0

func NewMockAnteDecorator(ctrl *gomock.Controller) *MockAnteDecorator

NewMockAnteDecorator creates a new mock instance.

func (*MockAnteDecorator) AnteHandle added in v0.47.0

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 added in v0.47.0

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

type MockAnteDecoratorMockRecorder added in v0.47.0

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

MockAnteDecoratorMockRecorder is the mock recorder for MockAnteDecorator.

func (*MockAnteDecoratorMockRecorder) AnteHandle added in v0.47.0

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

AnteHandle indicates an expected call of AnteHandle.

type MockAppModule added in v0.47.0

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

MockAppModule is a mock of AppModule interface.

func NewMockAppModule added in v0.47.0

func NewMockAppModule(ctrl *gomock.Controller) *MockAppModule

NewMockAppModule creates a new mock instance.

func (*MockAppModule) EXPECT added in v0.47.0

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

func (*MockAppModule) Name added in v0.47.0

func (m *MockAppModule) Name() string

Name mocks base method.

func (*MockAppModule) RegisterGRPCGatewayRoutes added in v0.47.0

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

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModule) RegisterInterfaces added in v0.47.0

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

RegisterInterfaces mocks base method.

func (*MockAppModule) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec mocks base method.

type MockAppModuleBasic added in v0.47.0

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

MockAppModuleBasic is a mock of AppModuleBasic interface.

func NewMockAppModuleBasic added in v0.47.0

func NewMockAppModuleBasic(ctrl *gomock.Controller) *MockAppModuleBasic

NewMockAppModuleBasic creates a new mock instance.

func (*MockAppModuleBasic) EXPECT added in v0.47.0

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

func (*MockAppModuleBasic) Name added in v0.47.0

func (m *MockAppModuleBasic) Name() string

Name mocks base method.

func (*MockAppModuleBasic) RegisterGRPCGatewayRoutes added in v0.47.0

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

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleBasic) RegisterInterfaces added in v0.47.0

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

RegisterInterfaces mocks base method.

func (*MockAppModuleBasic) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec mocks base method.

type MockAppModuleBasicMockRecorder added in v0.47.0

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

MockAppModuleBasicMockRecorder is the mock recorder for MockAppModuleBasic.

func (*MockAppModuleBasicMockRecorder) Name added in v0.47.0

Name indicates an expected call of Name.

func (*MockAppModuleBasicMockRecorder) RegisterGRPCGatewayRoutes added in v0.47.0

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

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleBasicMockRecorder) RegisterInterfaces added in v0.47.0

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

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleBasicMockRecorder) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockAppModuleGenesis added in v0.47.0

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

MockAppModuleGenesis is a mock of AppModuleGenesis interface.

func NewMockAppModuleGenesis added in v0.47.0

func NewMockAppModuleGenesis(ctrl *gomock.Controller) *MockAppModuleGenesis

NewMockAppModuleGenesis creates a new mock instance.

func (*MockAppModuleGenesis) DefaultGenesis added in v0.47.0

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

DefaultGenesis mocks base method.

func (*MockAppModuleGenesis) EXPECT added in v0.47.0

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

func (*MockAppModuleGenesis) ExportGenesis added in v0.47.0

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

ExportGenesis mocks base method.

func (*MockAppModuleGenesis) InitGenesis added in v0.47.0

InitGenesis mocks base method.

func (*MockAppModuleGenesis) Name added in v0.47.0

func (m *MockAppModuleGenesis) Name() string

Name mocks base method.

func (*MockAppModuleGenesis) RegisterGRPCGatewayRoutes added in v0.47.0

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

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleGenesis) RegisterInterfaces added in v0.47.0

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

RegisterInterfaces mocks base method.

func (*MockAppModuleGenesis) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec mocks base method.

func (*MockAppModuleGenesis) ValidateGenesis added in v0.47.0

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

ValidateGenesis mocks base method.

type MockAppModuleGenesisMockRecorder added in v0.47.0

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

MockAppModuleGenesisMockRecorder is the mock recorder for MockAppModuleGenesis.

func (*MockAppModuleGenesisMockRecorder) DefaultGenesis added in v0.47.0

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

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleGenesisMockRecorder) ExportGenesis added in v0.47.0

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleGenesisMockRecorder) InitGenesis added in v0.47.0

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleGenesisMockRecorder) Name added in v0.47.0

Name indicates an expected call of Name.

func (*MockAppModuleGenesisMockRecorder) RegisterGRPCGatewayRoutes added in v0.47.0

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

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleGenesisMockRecorder) RegisterInterfaces added in v0.47.0

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

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleGenesisMockRecorder) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

func (*MockAppModuleGenesisMockRecorder) ValidateGenesis added in v0.47.0

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

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockAppModuleMockRecorder added in v0.47.0

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

MockAppModuleMockRecorder is the mock recorder for MockAppModule.

func (*MockAppModuleMockRecorder) Name added in v0.47.0

Name indicates an expected call of Name.

func (*MockAppModuleMockRecorder) RegisterGRPCGatewayRoutes added in v0.47.0

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

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleMockRecorder) RegisterInterfaces added in v0.47.0

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

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleMockRecorder) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockAppModuleWithAllExtensions added in v0.47.0

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

MockAppModuleWithAllExtensions is a mock of AppModuleWithAllExtensions interface.

func NewMockAppModuleWithAllExtensions added in v0.47.0

func NewMockAppModuleWithAllExtensions(ctrl *gomock.Controller) *MockAppModuleWithAllExtensions

NewMockAppModuleWithAllExtensions creates a new mock instance.

func (*MockAppModuleWithAllExtensions) ConsensusVersion added in v0.47.0

func (m *MockAppModuleWithAllExtensions) ConsensusVersion() uint64

ConsensusVersion mocks base method.

func (*MockAppModuleWithAllExtensions) DefaultGenesis added in v0.47.0

DefaultGenesis mocks base method.

func (*MockAppModuleWithAllExtensions) EXPECT added in v0.47.0

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

func (*MockAppModuleWithAllExtensions) EndBlock added in v0.47.0

EndBlock mocks base method.

func (*MockAppModuleWithAllExtensions) ExportGenesis added in v0.47.0

ExportGenesis mocks base method.

func (*MockAppModuleWithAllExtensions) InitGenesis added in v0.47.0

InitGenesis mocks base method.

func (*MockAppModuleWithAllExtensions) Name added in v0.47.0

Name mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterGRPCGatewayRoutes added in v0.47.0

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

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterInterfaces added in v0.47.0

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

RegisterInterfaces mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterInvariants added in v0.47.0

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

RegisterInvariants mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterServices added in v0.47.0

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

RegisterServices mocks base method.

func (*MockAppModuleWithAllExtensions) ValidateGenesis added in v0.47.0

ValidateGenesis mocks base method.

type MockAppModuleWithAllExtensionsMockRecorder added in v0.47.0

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

MockAppModuleWithAllExtensionsMockRecorder is the mock recorder for MockAppModuleWithAllExtensions.

func (*MockAppModuleWithAllExtensionsMockRecorder) ConsensusVersion added in v0.47.0

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

ConsensusVersion indicates an expected call of ConsensusVersion.

func (*MockAppModuleWithAllExtensionsMockRecorder) DefaultGenesis added in v0.47.0

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

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) EndBlock added in v0.47.0

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

EndBlock indicates an expected call of EndBlock.

func (*MockAppModuleWithAllExtensionsMockRecorder) ExportGenesis added in v0.47.0

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) InitGenesis added in v0.47.0

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) Name added in v0.47.0

Name indicates an expected call of Name.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterGRPCGatewayRoutes added in v0.47.0

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

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterInterfaces added in v0.47.0

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

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterInvariants added in v0.47.0

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

RegisterInvariants indicates an expected call of RegisterInvariants.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterServices added in v0.47.0

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

RegisterServices indicates an expected call of RegisterServices.

func (*MockAppModuleWithAllExtensionsMockRecorder) ValidateGenesis added in v0.47.0

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

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockCoreAppModule added in v0.50.0

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

MockCoreAppModule is a mock of CoreAppModule interface.

func NewMockCoreAppModule added in v0.50.0

func NewMockCoreAppModule(ctrl *gomock.Controller) *MockCoreAppModule

NewMockCoreAppModule creates a new mock instance.

func (*MockCoreAppModule) BeginBlock added in v0.50.0

func (m *MockCoreAppModule) BeginBlock(arg0 context.Context) error

BeginBlock mocks base method.

func (*MockCoreAppModule) DefaultGenesis added in v0.50.0

func (m *MockCoreAppModule) DefaultGenesis(arg0 appmodule.GenesisTarget) error

DefaultGenesis mocks base method.

func (*MockCoreAppModule) EXPECT added in v0.50.0

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

func (*MockCoreAppModule) EndBlock added in v0.50.0

func (m *MockCoreAppModule) EndBlock(arg0 context.Context) error

EndBlock mocks base method.

func (*MockCoreAppModule) ExportGenesis added in v0.50.0

func (m *MockCoreAppModule) ExportGenesis(arg0 context.Context, arg1 appmodule.GenesisTarget) error

ExportGenesis mocks base method.

func (*MockCoreAppModule) InitGenesis added in v0.50.0

func (m *MockCoreAppModule) InitGenesis(arg0 context.Context, arg1 appmodule.GenesisSource) error

InitGenesis mocks base method.

func (*MockCoreAppModule) IsAppModule added in v0.50.0

func (m *MockCoreAppModule) IsAppModule()

IsAppModule mocks base method.

func (*MockCoreAppModule) IsOnePerModuleType added in v0.50.0

func (m *MockCoreAppModule) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockCoreAppModule) Precommit added in v0.50.0

func (m *MockCoreAppModule) Precommit(arg0 context.Context) error

Precommit mocks base method.

func (*MockCoreAppModule) PrepareCheckState added in v0.50.0

func (m *MockCoreAppModule) PrepareCheckState(arg0 context.Context) error

PrepareCheckState mocks base method.

func (*MockCoreAppModule) ValidateGenesis added in v0.50.0

func (m *MockCoreAppModule) ValidateGenesis(arg0 appmodule.GenesisSource) error

ValidateGenesis mocks base method.

type MockCoreAppModuleMockRecorder added in v0.50.0

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

MockCoreAppModuleMockRecorder is the mock recorder for MockCoreAppModule.

func (*MockCoreAppModuleMockRecorder) BeginBlock added in v0.50.0

func (mr *MockCoreAppModuleMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call

BeginBlock indicates an expected call of BeginBlock.

func (*MockCoreAppModuleMockRecorder) DefaultGenesis added in v0.50.0

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

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockCoreAppModuleMockRecorder) EndBlock added in v0.50.0

func (mr *MockCoreAppModuleMockRecorder) EndBlock(arg0 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock.

func (*MockCoreAppModuleMockRecorder) ExportGenesis added in v0.50.0

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockCoreAppModuleMockRecorder) InitGenesis added in v0.50.0

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockCoreAppModuleMockRecorder) IsAppModule added in v0.50.0

func (mr *MockCoreAppModuleMockRecorder) IsAppModule() *gomock.Call

IsAppModule indicates an expected call of IsAppModule.

func (*MockCoreAppModuleMockRecorder) IsOnePerModuleType added in v0.50.0

func (mr *MockCoreAppModuleMockRecorder) IsOnePerModuleType() *gomock.Call

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockCoreAppModuleMockRecorder) Precommit added in v0.50.0

func (mr *MockCoreAppModuleMockRecorder) Precommit(arg0 interface{}) *gomock.Call

Precommit indicates an expected call of Precommit.

func (*MockCoreAppModuleMockRecorder) PrepareCheckState added in v0.50.0

func (mr *MockCoreAppModuleMockRecorder) PrepareCheckState(arg0 interface{}) *gomock.Call

PrepareCheckState indicates an expected call of PrepareCheckState.

func (*MockCoreAppModuleMockRecorder) ValidateGenesis added in v0.50.0

func (mr *MockCoreAppModuleMockRecorder) ValidateGenesis(arg0 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockHasABCIEndblock

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

MockHasABCIEndblock is a mock of HasABCIEndblock interface.

func NewMockHasABCIEndblock

func NewMockHasABCIEndblock(ctrl *gomock.Controller) *MockHasABCIEndblock

NewMockHasABCIEndblock creates a new mock instance.

func (*MockHasABCIEndblock) EXPECT

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

func (*MockHasABCIEndblock) EndBlock

EndBlock mocks base method.

func (*MockHasABCIEndblock) Name

func (m *MockHasABCIEndblock) Name() string

Name mocks base method.

func (*MockHasABCIEndblock) RegisterGRPCGatewayRoutes

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

RegisterGRPCGatewayRoutes mocks base method.

func (*MockHasABCIEndblock) RegisterInterfaces

func (m *MockHasABCIEndblock) RegisterInterfaces(arg0 types0.InterfaceRegistry)

RegisterInterfaces mocks base method.

func (*MockHasABCIEndblock) RegisterLegacyAminoCodec

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

RegisterLegacyAminoCodec mocks base method.

type MockHasABCIEndblockMockRecorder

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

MockHasABCIEndblockMockRecorder is the mock recorder for MockHasABCIEndblock.

func (*MockHasABCIEndblockMockRecorder) EndBlock

func (mr *MockHasABCIEndblockMockRecorder) EndBlock(arg0 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock.

func (*MockHasABCIEndblockMockRecorder) Name

Name indicates an expected call of Name.

func (*MockHasABCIEndblockMockRecorder) RegisterGRPCGatewayRoutes

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

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockHasABCIEndblockMockRecorder) RegisterInterfaces

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

RegisterInterfaces indicates an expected call of RegisterInterfaces.

func (*MockHasABCIEndblockMockRecorder) RegisterLegacyAminoCodec

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

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockHasConsensusVersion added in v0.47.0

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

MockHasConsensusVersion is a mock of HasConsensusVersion interface.

func NewMockHasConsensusVersion added in v0.47.0

func NewMockHasConsensusVersion(ctrl *gomock.Controller) *MockHasConsensusVersion

NewMockHasConsensusVersion creates a new mock instance.

func (*MockHasConsensusVersion) ConsensusVersion added in v0.47.0

func (m *MockHasConsensusVersion) ConsensusVersion() uint64

ConsensusVersion mocks base method.

func (*MockHasConsensusVersion) EXPECT added in v0.47.0

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

type MockHasConsensusVersionMockRecorder added in v0.47.0

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

MockHasConsensusVersionMockRecorder is the mock recorder for MockHasConsensusVersion.

func (*MockHasConsensusVersionMockRecorder) ConsensusVersion added in v0.47.0

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

ConsensusVersion indicates an expected call of ConsensusVersion.

type MockHasGenesis added in v0.47.0

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

MockHasGenesis is a mock of HasGenesis interface.

func NewMockHasGenesis added in v0.47.0

func NewMockHasGenesis(ctrl *gomock.Controller) *MockHasGenesis

NewMockHasGenesis creates a new mock instance.

func (*MockHasGenesis) DefaultGenesis added in v0.47.0

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

DefaultGenesis mocks base method.

func (*MockHasGenesis) EXPECT added in v0.47.0

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

func (*MockHasGenesis) ExportGenesis added in v0.47.0

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

ExportGenesis mocks base method.

func (*MockHasGenesis) InitGenesis added in v0.47.0

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

InitGenesis mocks base method.

func (*MockHasGenesis) ValidateGenesis added in v0.47.0

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

ValidateGenesis mocks base method.

type MockHasGenesisBasics added in v0.47.0

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

MockHasGenesisBasics is a mock of HasGenesisBasics interface.

func NewMockHasGenesisBasics added in v0.47.0

func NewMockHasGenesisBasics(ctrl *gomock.Controller) *MockHasGenesisBasics

NewMockHasGenesisBasics creates a new mock instance.

func (*MockHasGenesisBasics) DefaultGenesis added in v0.47.0

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

DefaultGenesis mocks base method.

func (*MockHasGenesisBasics) EXPECT added in v0.47.0

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

func (*MockHasGenesisBasics) ValidateGenesis added in v0.47.0

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

ValidateGenesis mocks base method.

type MockHasGenesisBasicsMockRecorder added in v0.47.0

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

MockHasGenesisBasicsMockRecorder is the mock recorder for MockHasGenesisBasics.

func (*MockHasGenesisBasicsMockRecorder) DefaultGenesis added in v0.47.0

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

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockHasGenesisBasicsMockRecorder) ValidateGenesis added in v0.47.0

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

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockHasGenesisMockRecorder added in v0.47.0

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

MockHasGenesisMockRecorder is the mock recorder for MockHasGenesis.

func (*MockHasGenesisMockRecorder) DefaultGenesis added in v0.47.0

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

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockHasGenesisMockRecorder) ExportGenesis added in v0.47.0

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockHasGenesisMockRecorder) InitGenesis added in v0.47.0

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockHasGenesisMockRecorder) ValidateGenesis added in v0.47.0

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

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockHasInvariants added in v0.47.0

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

MockHasInvariants is a mock of HasInvariants interface.

func NewMockHasInvariants added in v0.47.0

func NewMockHasInvariants(ctrl *gomock.Controller) *MockHasInvariants

NewMockHasInvariants creates a new mock instance.

func (*MockHasInvariants) EXPECT added in v0.47.0

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

func (*MockHasInvariants) RegisterInvariants added in v0.47.0

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

RegisterInvariants mocks base method.

type MockHasInvariantsMockRecorder added in v0.47.0

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

MockHasInvariantsMockRecorder is the mock recorder for MockHasInvariants.

func (*MockHasInvariantsMockRecorder) RegisterInvariants added in v0.47.0

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

RegisterInvariants indicates an expected call of RegisterInvariants.

type MockHasName added in v0.47.0

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

MockHasName is a mock of HasName interface.

func NewMockHasName added in v0.47.0

func NewMockHasName(ctrl *gomock.Controller) *MockHasName

NewMockHasName creates a new mock instance.

func (*MockHasName) EXPECT added in v0.47.0

func (m *MockHasName) EXPECT() *MockHasNameMockRecorder

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

func (*MockHasName) Name added in v0.47.0

func (m *MockHasName) Name() string

Name mocks base method.

type MockHasNameMockRecorder added in v0.47.0

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

MockHasNameMockRecorder is the mock recorder for MockHasName.

func (*MockHasNameMockRecorder) Name added in v0.47.0

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

Name indicates an expected call of Name.

type MockHasServices added in v0.47.0

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

MockHasServices is a mock of HasServices interface.

func NewMockHasServices added in v0.47.0

func NewMockHasServices(ctrl *gomock.Controller) *MockHasServices

NewMockHasServices creates a new mock instance.

func (*MockHasServices) EXPECT added in v0.47.0

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

func (*MockHasServices) RegisterServices added in v0.47.0

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

RegisterServices mocks base method.

type MockHasServicesMockRecorder added in v0.47.0

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

MockHasServicesMockRecorder is the mock recorder for MockHasServices.

func (*MockHasServicesMockRecorder) RegisterServices added in v0.47.0

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

RegisterServices indicates an expected call of RegisterServices.

type MockInvariantRegistry added in v0.47.0

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

MockInvariantRegistry is a mock of InvariantRegistry interface.

func NewMockInvariantRegistry added in v0.47.0

func NewMockInvariantRegistry(ctrl *gomock.Controller) *MockInvariantRegistry

NewMockInvariantRegistry creates a new mock instance.

func (*MockInvariantRegistry) EXPECT added in v0.47.0

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

func (*MockInvariantRegistry) RegisterRoute added in v0.47.0

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

RegisterRoute mocks base method.

type MockInvariantRegistryMockRecorder added in v0.47.0

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

MockInvariantRegistryMockRecorder is the mock recorder for MockInvariantRegistry.

func (*MockInvariantRegistryMockRecorder) RegisterRoute added in v0.47.0

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

RegisterRoute indicates an expected call of RegisterRoute.

type MockLogger added in v0.47.0

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

MockLogger is a mock of Logger interface.

func NewMockLogger added in v0.47.0

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debug added in v0.47.0

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

Debug mocks base method.

func (*MockLogger) EXPECT added in v0.47.0

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Error added in v0.47.0

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

Error mocks base method.

func (*MockLogger) Impl added in v0.50.0

func (m *MockLogger) Impl() interface{}

Impl mocks base method.

func (*MockLogger) Info added in v0.47.0

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

Info mocks base method.

func (*MockLogger) With added in v0.47.0

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

With mocks base method.

type MockLoggerMockRecorder added in v0.47.0

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug added in v0.47.0

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

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Error added in v0.47.0

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

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Impl added in v0.50.0

func (mr *MockLoggerMockRecorder) Impl() *gomock.Call

Impl indicates an expected call of Impl.

func (*MockLoggerMockRecorder) Info added in v0.47.0

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

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) With added in v0.47.0

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

With indicates an expected call of With.

type MockPostDecorator added in v0.47.0

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

MockPostDecorator is a mock of PostDecorator interface.

func NewMockPostDecorator added in v0.47.0

func NewMockPostDecorator(ctrl *gomock.Controller) *MockPostDecorator

NewMockPostDecorator creates a new mock instance.

func (*MockPostDecorator) EXPECT added in v0.47.0

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

func (*MockPostDecorator) PostHandle added in v0.47.0

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 added in v0.47.0

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

MockPostDecoratorMockRecorder is the mock recorder for MockPostDecorator.

func (*MockPostDecoratorMockRecorder) PostHandle added in v0.47.0

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

PostHandle indicates an expected call of PostHandle.

type MockServer added in v0.47.0

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

MockServer is a mock of Server interface.

func NewMockServer added in v0.47.0

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT added in v0.47.0

func (m *MockServer) EXPECT() *MockServerMockRecorder

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

func (*MockServer) RegisterService added in v0.47.0

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

RegisterService mocks base method.

type MockServerMockRecorder added in v0.47.0

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

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) RegisterService added in v0.47.0

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 *cmtproto.Proposal) error

SignProposal implements PrivValidator interface

func (PV) SignVote

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

SignVote implements PrivValidator interface

Jump to

Keyboard shortcuts

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