mock

package
v0.52.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 19 Imported by: 305

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) IsAppModule added in v0.50.0

func (m *MockAppModule) IsAppModule()

IsAppModule mocks base method.

func (*MockAppModule) IsOnePerModuleType added in v0.50.0

func (m *MockAppModule) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockAppModule) Name added in v0.47.0

func (m *MockAppModule) Name() string

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

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

RegisterGRPCGatewayRoutes mocks base method.

func (*MockAppModuleBasic) RegisterLegacyAminoCodec added in v0.47.0

func (m *MockAppModuleBasic) RegisterLegacyAminoCodec(arg0 registry.AminoRegistrar)

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

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

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

func (*MockAppModuleBasicMockRecorder) RegisterLegacyAminoCodec added in v0.47.0

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

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockAppModuleMockRecorder added in v0.47.0

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

MockAppModuleMockRecorder is the mock recorder for MockAppModule.

func (*MockAppModuleMockRecorder) IsAppModule added in v0.50.0

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

IsAppModule indicates an expected call of IsAppModule.

func (*MockAppModuleMockRecorder) IsOnePerModuleType added in v0.50.0

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockAppModuleMockRecorder) Name added in v0.47.0

Name indicates an expected call of Name.

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

func (m *MockAppModuleWithAllExtensions) DefaultGenesis() json.RawMessage

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) IsAppModule added in v0.50.0

func (m *MockAppModuleWithAllExtensions) IsAppModule()

IsAppModule mocks base method.

func (*MockAppModuleWithAllExtensions) IsOnePerModuleType added in v0.50.0

func (m *MockAppModuleWithAllExtensions) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockAppModuleWithAllExtensions) Name added in v0.47.0

Name mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterInvariants added in v0.47.0

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

RegisterInvariants 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

func (m *MockAppModuleWithAllExtensions) ValidateGenesis(data json.RawMessage) error

ValidateGenesis mocks base method.

type MockAppModuleWithAllExtensionsABCI added in v0.50.0

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

MockAppModuleWithAllExtensionsABCI is a mock of AppModuleWithAllExtensionsABCI interface.

func NewMockAppModuleWithAllExtensionsABCI added in v0.50.0

func NewMockAppModuleWithAllExtensionsABCI(ctrl *gomock.Controller) *MockAppModuleWithAllExtensionsABCI

NewMockAppModuleWithAllExtensionsABCI creates a new mock instance.

func (*MockAppModuleWithAllExtensionsABCI) ConsensusVersion added in v0.50.0

func (m *MockAppModuleWithAllExtensionsABCI) ConsensusVersion() uint64

ConsensusVersion mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) DefaultGenesis added in v0.50.0

DefaultGenesis mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) EXPECT added in v0.50.0

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

func (*MockAppModuleWithAllExtensionsABCI) EndBlock added in v0.50.0

EndBlock mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) ExportGenesis added in v0.50.0

ExportGenesis mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) InitGenesis added in v0.50.0

InitGenesis mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) IsAppModule added in v0.50.0

func (m *MockAppModuleWithAllExtensionsABCI) IsAppModule()

IsAppModule mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) IsOnePerModuleType added in v0.50.0

func (m *MockAppModuleWithAllExtensionsABCI) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) Name added in v0.50.0

Name mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) RegisterInvariants added in v0.50.0

func (m *MockAppModuleWithAllExtensionsABCI) RegisterInvariants(arg0 types.InvariantRegistry)

RegisterInvariants mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) RegisterServices added in v0.50.0

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

RegisterServices mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) ValidateGenesis added in v0.50.0

func (m *MockAppModuleWithAllExtensionsABCI) ValidateGenesis(data json.RawMessage) error

ValidateGenesis mocks base method.

type MockAppModuleWithAllExtensionsABCIMockRecorder added in v0.50.0

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

MockAppModuleWithAllExtensionsABCIMockRecorder is the mock recorder for MockAppModuleWithAllExtensionsABCI.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) ConsensusVersion added in v0.50.0

ConsensusVersion indicates an expected call of ConsensusVersion.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) DefaultGenesis added in v0.50.0

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) EndBlock added in v0.50.0

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

EndBlock indicates an expected call of EndBlock.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) ExportGenesis added in v0.50.0

func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) ExportGenesis(ctx interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) InitGenesis added in v0.50.0

func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) InitGenesis(ctx, data interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) IsAppModule added in v0.50.0

IsAppModule indicates an expected call of IsAppModule.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) IsOnePerModuleType added in v0.50.0

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) Name added in v0.50.0

Name indicates an expected call of Name.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterInvariants added in v0.50.0

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

RegisterInvariants indicates an expected call of RegisterInvariants.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterServices added in v0.50.0

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

RegisterServices indicates an expected call of RegisterServices.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) ValidateGenesis added in v0.50.0

func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) ValidateGenesis(data interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis.

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

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(ctx interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) InitGenesis added in v0.47.0

func (mr *MockAppModuleWithAllExtensionsMockRecorder) InitGenesis(ctx, data interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) IsAppModule added in v0.50.0

IsAppModule indicates an expected call of IsAppModule.

func (*MockAppModuleWithAllExtensionsMockRecorder) IsOnePerModuleType added in v0.50.0

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockAppModuleWithAllExtensionsMockRecorder) Name added in v0.47.0

Name indicates an expected call of Name.

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) 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(data 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 MockCoreAppModuleWithPreBlock added in v0.50.0

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

MockCoreAppModuleWithPreBlock is a mock of CoreAppModuleWithPreBlock interface.

func NewMockCoreAppModuleWithPreBlock added in v0.50.0

func NewMockCoreAppModuleWithPreBlock(ctrl *gomock.Controller) *MockCoreAppModuleWithPreBlock

NewMockCoreAppModuleWithPreBlock creates a new mock instance.

func (*MockCoreAppModuleWithPreBlock) BeginBlock added in v0.50.0

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

BeginBlock mocks base method.

func (*MockCoreAppModuleWithPreBlock) DefaultGenesis added in v0.50.0

DefaultGenesis mocks base method.

func (*MockCoreAppModuleWithPreBlock) EXPECT added in v0.50.0

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

func (*MockCoreAppModuleWithPreBlock) EndBlock added in v0.50.0

EndBlock mocks base method.

func (*MockCoreAppModuleWithPreBlock) ExportGenesis added in v0.50.0

ExportGenesis mocks base method.

func (*MockCoreAppModuleWithPreBlock) InitGenesis added in v0.50.0

InitGenesis mocks base method.

func (*MockCoreAppModuleWithPreBlock) IsAppModule added in v0.50.0

func (m *MockCoreAppModuleWithPreBlock) IsAppModule()

IsAppModule mocks base method.

func (*MockCoreAppModuleWithPreBlock) IsOnePerModuleType added in v0.50.0

func (m *MockCoreAppModuleWithPreBlock) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockCoreAppModuleWithPreBlock) PreBlock added in v0.50.0

PreBlock mocks base method.

func (*MockCoreAppModuleWithPreBlock) Precommit added in v0.50.0

Precommit mocks base method.

func (*MockCoreAppModuleWithPreBlock) PrepareCheckState added in v0.50.0

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

PrepareCheckState mocks base method.

func (*MockCoreAppModuleWithPreBlock) ValidateGenesis added in v0.50.0

ValidateGenesis mocks base method.

type MockCoreAppModuleWithPreBlockMockRecorder added in v0.50.0

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

MockCoreAppModuleWithPreBlockMockRecorder is the mock recorder for MockCoreAppModuleWithPreBlock.

func (*MockCoreAppModuleWithPreBlockMockRecorder) BeginBlock added in v0.50.0

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

BeginBlock indicates an expected call of BeginBlock.

func (*MockCoreAppModuleWithPreBlockMockRecorder) DefaultGenesis added in v0.50.0

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

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockCoreAppModuleWithPreBlockMockRecorder) EndBlock added in v0.50.0

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

EndBlock indicates an expected call of EndBlock.

func (*MockCoreAppModuleWithPreBlockMockRecorder) ExportGenesis added in v0.50.0

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockCoreAppModuleWithPreBlockMockRecorder) InitGenesis added in v0.50.0

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockCoreAppModuleWithPreBlockMockRecorder) IsAppModule added in v0.50.0

IsAppModule indicates an expected call of IsAppModule.

func (*MockCoreAppModuleWithPreBlockMockRecorder) IsOnePerModuleType added in v0.50.0

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockCoreAppModuleWithPreBlockMockRecorder) PreBlock added in v0.50.0

func (mr *MockCoreAppModuleWithPreBlockMockRecorder) PreBlock(arg0 interface{}) *gomock.Call

PreBlock indicates an expected call of PreBlock.

func (*MockCoreAppModuleWithPreBlockMockRecorder) Precommit added in v0.50.0

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

Precommit indicates an expected call of Precommit.

func (*MockCoreAppModuleWithPreBlockMockRecorder) PrepareCheckState added in v0.50.0

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

PrepareCheckState indicates an expected call of PrepareCheckState.

func (*MockCoreAppModuleWithPreBlockMockRecorder) ValidateGenesis added in v0.50.0

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

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockHasABCIEndBlock added in v0.50.0

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

MockHasABCIEndBlock is a mock of HasABCIEndBlock interface.

func NewMockHasABCIEndBlock added in v0.50.0

func NewMockHasABCIEndBlock(ctrl *gomock.Controller) *MockHasABCIEndBlock

NewMockHasABCIEndBlock creates a new mock instance.

func (*MockHasABCIEndBlock) EXPECT added in v0.50.0

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

func (*MockHasABCIEndBlock) EndBlock added in v0.50.0

EndBlock mocks base method.

func (*MockHasABCIEndBlock) IsAppModule added in v0.50.0

func (m *MockHasABCIEndBlock) IsAppModule()

IsAppModule mocks base method.

func (*MockHasABCIEndBlock) IsOnePerModuleType added in v0.50.0

func (m *MockHasABCIEndBlock) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockHasABCIEndBlock) Name added in v0.50.0

func (m *MockHasABCIEndBlock) Name() string

Name mocks base method.

type MockHasABCIEndBlockMockRecorder added in v0.50.0

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

MockHasABCIEndBlockMockRecorder is the mock recorder for MockHasABCIEndBlock.

func (*MockHasABCIEndBlockMockRecorder) EndBlock added in v0.50.0

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

EndBlock indicates an expected call of EndBlock.

func (*MockHasABCIEndBlockMockRecorder) IsAppModule added in v0.50.0

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

IsAppModule indicates an expected call of IsAppModule.

func (*MockHasABCIEndBlockMockRecorder) IsOnePerModuleType added in v0.50.0

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockHasABCIEndBlockMockRecorder) Name added in v0.50.0

Name indicates an expected call of Name.

type MockHasAminoCodec

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

MockHasAminoCodec is a mock of HasAminoCodec interface.

func NewMockHasAminoCodec

func NewMockHasAminoCodec(ctrl *gomock.Controller) *MockHasAminoCodec

NewMockHasAminoCodec creates a new mock instance.

func (*MockHasAminoCodec) EXPECT

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

func (*MockHasAminoCodec) RegisterLegacyAminoCodec

func (m *MockHasAminoCodec) RegisterLegacyAminoCodec(arg0 registry.AminoRegistrar)

RegisterLegacyAminoCodec mocks base method.

type MockHasAminoCodecMockRecorder

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

MockHasAminoCodecMockRecorder is the mock recorder for MockHasAminoCodec.

func (*MockHasAminoCodecMockRecorder) RegisterLegacyAminoCodec

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

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockHasGRPCGateway

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

MockHasGRPCGateway is a mock of HasGRPCGateway interface.

func NewMockHasGRPCGateway

func NewMockHasGRPCGateway(ctrl *gomock.Controller) *MockHasGRPCGateway

NewMockHasGRPCGateway creates a new mock instance.

func (*MockHasGRPCGateway) EXPECT

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

func (*MockHasGRPCGateway) RegisterGRPCGatewayRoutes

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

RegisterGRPCGatewayRoutes mocks base method.

type MockHasGRPCGatewayMockRecorder

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

MockHasGRPCGatewayMockRecorder is the mock recorder for MockHasGRPCGateway.

func (*MockHasGRPCGatewayMockRecorder) RegisterGRPCGatewayRoutes

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

RegisterGRPCGatewayRoutes indicates an expected call of RegisterGRPCGatewayRoutes.

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 types.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 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) Warn added in v0.50.3

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

Warn 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) Warn added in v0.50.3

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

Warn indicates an expected call of Warn.

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 MockhasServicesV1

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

MockhasServicesV1 is a mock of hasServicesV1 interface.

func NewMockhasServicesV1

func NewMockhasServicesV1(ctrl *gomock.Controller) *MockhasServicesV1

NewMockhasServicesV1 creates a new mock instance.

func (*MockhasServicesV1) EXPECT

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

func (*MockhasServicesV1) IsAppModule

func (m *MockhasServicesV1) IsAppModule()

IsAppModule mocks base method.

func (*MockhasServicesV1) IsOnePerModuleType

func (m *MockhasServicesV1) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockhasServicesV1) RegisterServices

func (m *MockhasServicesV1) RegisterServices(arg0 grpc.ServiceRegistrar) error

RegisterServices mocks base method.

type MockhasServicesV1MockRecorder

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

MockhasServicesV1MockRecorder is the mock recorder for MockhasServicesV1.

func (*MockhasServicesV1MockRecorder) IsAppModule

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

IsAppModule indicates an expected call of IsAppModule.

func (*MockhasServicesV1MockRecorder) IsOnePerModuleType

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockhasServicesV1MockRecorder) RegisterServices

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

RegisterServices indicates an expected call of RegisterServices.

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) SignBytes

func (pv PV) SignBytes(bytes []byte) ([]byte, error)

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, _ bool) error

SignVote implements PrivValidator interface

Jump to

Keyboard shortcuts

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