mock

package
v3.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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

func (m *MockAppModule) IsAppModule()

IsAppModule mocks base method.

func (*MockAppModule) IsOnePerModuleType

func (m *MockAppModule) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockAppModule) Name

func (m *MockAppModule) Name() string

Name 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) 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) RegisterLegacyAminoCodec

func (m *MockAppModuleBasic) RegisterLegacyAminoCodec(arg0 legacy.Amino)

RegisterLegacyAminoCodec mocks base method.

type MockAppModuleBasicMockRecorder

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

MockAppModuleBasicMockRecorder is the mock recorder for MockAppModuleBasic.

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

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

RegisterLegacyAminoCodec indicates an expected call of RegisterLegacyAminoCodec.

type MockAppModuleMockRecorder

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

MockAppModuleMockRecorder is the mock recorder for MockAppModule.

func (*MockAppModuleMockRecorder) IsAppModule

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

IsAppModule indicates an expected call of IsAppModule.

func (*MockAppModuleMockRecorder) IsOnePerModuleType

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockAppModuleMockRecorder) Name

Name indicates an expected call of Name.

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

func (m *MockAppModuleWithAllExtensions) ConsensusVersion() uint64

ConsensusVersion mocks base method.

func (*MockAppModuleWithAllExtensions) DefaultGenesis

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

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

InitGenesis mocks base method.

func (*MockAppModuleWithAllExtensions) IsAppModule

func (m *MockAppModuleWithAllExtensions) IsAppModule()

IsAppModule mocks base method.

func (*MockAppModuleWithAllExtensions) IsOnePerModuleType

func (m *MockAppModuleWithAllExtensions) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockAppModuleWithAllExtensions) Name

Name mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterInvariants

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

RegisterInvariants mocks base method.

func (*MockAppModuleWithAllExtensions) RegisterServices

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

RegisterServices mocks base method.

func (*MockAppModuleWithAllExtensions) ValidateGenesis

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

ValidateGenesis mocks base method.

type MockAppModuleWithAllExtensionsABCI

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

MockAppModuleWithAllExtensionsABCI is a mock of AppModuleWithAllExtensionsABCI interface.

func NewMockAppModuleWithAllExtensionsABCI

func NewMockAppModuleWithAllExtensionsABCI(ctrl *gomock.Controller) *MockAppModuleWithAllExtensionsABCI

NewMockAppModuleWithAllExtensionsABCI creates a new mock instance.

func (*MockAppModuleWithAllExtensionsABCI) ConsensusVersion

func (m *MockAppModuleWithAllExtensionsABCI) ConsensusVersion() uint64

ConsensusVersion mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) DefaultGenesis

DefaultGenesis mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) EXPECT

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

func (*MockAppModuleWithAllExtensionsABCI) EndBlock

EndBlock mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) ExportGenesis

ExportGenesis mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) InitGenesis

InitGenesis mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) IsAppModule

func (m *MockAppModuleWithAllExtensionsABCI) IsAppModule()

IsAppModule mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) IsOnePerModuleType

func (m *MockAppModuleWithAllExtensionsABCI) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) Name

Name mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) RegisterInvariants

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

RegisterInvariants mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) RegisterServices

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

RegisterServices mocks base method.

func (*MockAppModuleWithAllExtensionsABCI) ValidateGenesis

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

ValidateGenesis mocks base method.

type MockAppModuleWithAllExtensionsABCIMockRecorder

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

MockAppModuleWithAllExtensionsABCIMockRecorder is the mock recorder for MockAppModuleWithAllExtensionsABCI.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) ConsensusVersion

ConsensusVersion indicates an expected call of ConsensusVersion.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) DefaultGenesis

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) EndBlock

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

EndBlock indicates an expected call of EndBlock.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) ExportGenesis

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) InitGenesis

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) IsAppModule

IsAppModule indicates an expected call of IsAppModule.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) IsOnePerModuleType

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterInvariants

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

RegisterInvariants indicates an expected call of RegisterInvariants.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) RegisterServices

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

RegisterServices indicates an expected call of RegisterServices.

func (*MockAppModuleWithAllExtensionsABCIMockRecorder) ValidateGenesis

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

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockAppModuleWithAllExtensionsMockRecorder

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

MockAppModuleWithAllExtensionsMockRecorder is the mock recorder for MockAppModuleWithAllExtensions.

func (*MockAppModuleWithAllExtensionsMockRecorder) ConsensusVersion

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

ConsensusVersion indicates an expected call of ConsensusVersion.

func (*MockAppModuleWithAllExtensionsMockRecorder) DefaultGenesis

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) EndBlock

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

EndBlock indicates an expected call of EndBlock.

func (*MockAppModuleWithAllExtensionsMockRecorder) ExportGenesis

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) InitGenesis

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockAppModuleWithAllExtensionsMockRecorder) IsAppModule

IsAppModule indicates an expected call of IsAppModule.

func (*MockAppModuleWithAllExtensionsMockRecorder) IsOnePerModuleType

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockAppModuleWithAllExtensionsMockRecorder) Name

Name indicates an expected call of Name.

func (*MockAppModuleWithAllExtensionsMockRecorder) RegisterInvariants

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

RegisterInvariants indicates an expected call of RegisterInvariants.

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

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockCoreAppModule

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

MockCoreAppModule is a mock of CoreAppModule interface.

func NewMockCoreAppModule

func NewMockCoreAppModule(ctrl *gomock.Controller) *MockCoreAppModule

NewMockCoreAppModule creates a new mock instance.

func (*MockCoreAppModule) BeginBlock

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

BeginBlock mocks base method.

func (*MockCoreAppModule) DefaultGenesis

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

DefaultGenesis mocks base method.

func (*MockCoreAppModule) EXPECT

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

func (*MockCoreAppModule) EndBlock

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

EndBlock mocks base method.

func (*MockCoreAppModule) ExportGenesis

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

ExportGenesis mocks base method.

func (*MockCoreAppModule) InitGenesis

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

InitGenesis mocks base method.

func (*MockCoreAppModule) IsAppModule

func (m *MockCoreAppModule) IsAppModule()

IsAppModule mocks base method.

func (*MockCoreAppModule) IsOnePerModuleType

func (m *MockCoreAppModule) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockCoreAppModule) Precommit

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

Precommit mocks base method.

func (*MockCoreAppModule) PrepareCheckState

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

PrepareCheckState mocks base method.

func (*MockCoreAppModule) ValidateGenesis

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

ValidateGenesis mocks base method.

type MockCoreAppModuleMockRecorder

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

MockCoreAppModuleMockRecorder is the mock recorder for MockCoreAppModule.

func (*MockCoreAppModuleMockRecorder) BeginBlock

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

BeginBlock indicates an expected call of BeginBlock.

func (*MockCoreAppModuleMockRecorder) DefaultGenesis

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

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockCoreAppModuleMockRecorder) EndBlock

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

EndBlock indicates an expected call of EndBlock.

func (*MockCoreAppModuleMockRecorder) ExportGenesis

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockCoreAppModuleMockRecorder) InitGenesis

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockCoreAppModuleMockRecorder) IsAppModule

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

IsAppModule indicates an expected call of IsAppModule.

func (*MockCoreAppModuleMockRecorder) IsOnePerModuleType

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockCoreAppModuleMockRecorder) Precommit

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

Precommit indicates an expected call of Precommit.

func (*MockCoreAppModuleMockRecorder) PrepareCheckState

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

PrepareCheckState indicates an expected call of PrepareCheckState.

func (*MockCoreAppModuleMockRecorder) ValidateGenesis

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

ValidateGenesis indicates an expected call of ValidateGenesis.

type MockCoreAppModuleWithPreBlock

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

MockCoreAppModuleWithPreBlock is a mock of CoreAppModuleWithPreBlock interface.

func NewMockCoreAppModuleWithPreBlock

func NewMockCoreAppModuleWithPreBlock(ctrl *gomock.Controller) *MockCoreAppModuleWithPreBlock

NewMockCoreAppModuleWithPreBlock creates a new mock instance.

func (*MockCoreAppModuleWithPreBlock) BeginBlock

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

BeginBlock mocks base method.

func (*MockCoreAppModuleWithPreBlock) DefaultGenesis

DefaultGenesis mocks base method.

func (*MockCoreAppModuleWithPreBlock) EXPECT

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

func (*MockCoreAppModuleWithPreBlock) EndBlock

EndBlock mocks base method.

func (*MockCoreAppModuleWithPreBlock) ExportGenesis

ExportGenesis mocks base method.

func (*MockCoreAppModuleWithPreBlock) InitGenesis

InitGenesis mocks base method.

func (*MockCoreAppModuleWithPreBlock) IsAppModule

func (m *MockCoreAppModuleWithPreBlock) IsAppModule()

IsAppModule mocks base method.

func (*MockCoreAppModuleWithPreBlock) IsOnePerModuleType

func (m *MockCoreAppModuleWithPreBlock) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockCoreAppModuleWithPreBlock) PreBlock

PreBlock mocks base method.

func (*MockCoreAppModuleWithPreBlock) Precommit

Precommit mocks base method.

func (*MockCoreAppModuleWithPreBlock) PrepareCheckState

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

PrepareCheckState mocks base method.

func (*MockCoreAppModuleWithPreBlock) ValidateGenesis

ValidateGenesis mocks base method.

type MockCoreAppModuleWithPreBlockMockRecorder

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

MockCoreAppModuleWithPreBlockMockRecorder is the mock recorder for MockCoreAppModuleWithPreBlock.

func (*MockCoreAppModuleWithPreBlockMockRecorder) BeginBlock

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

BeginBlock indicates an expected call of BeginBlock.

func (*MockCoreAppModuleWithPreBlockMockRecorder) DefaultGenesis

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

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockCoreAppModuleWithPreBlockMockRecorder) EndBlock

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

EndBlock indicates an expected call of EndBlock.

func (*MockCoreAppModuleWithPreBlockMockRecorder) ExportGenesis

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

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockCoreAppModuleWithPreBlockMockRecorder) InitGenesis

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockCoreAppModuleWithPreBlockMockRecorder) IsAppModule

IsAppModule indicates an expected call of IsAppModule.

func (*MockCoreAppModuleWithPreBlockMockRecorder) IsOnePerModuleType

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockCoreAppModuleWithPreBlockMockRecorder) PreBlock

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

PreBlock indicates an expected call of PreBlock.

func (*MockCoreAppModuleWithPreBlockMockRecorder) Precommit

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

Precommit indicates an expected call of Precommit.

func (*MockCoreAppModuleWithPreBlockMockRecorder) PrepareCheckState

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

PrepareCheckState indicates an expected call of PrepareCheckState.

func (*MockCoreAppModuleWithPreBlockMockRecorder) ValidateGenesis

func (mr *MockCoreAppModuleWithPreBlockMockRecorder) 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) IsAppModule

func (m *MockHasABCIEndBlock) IsAppModule()

IsAppModule mocks base method.

func (*MockHasABCIEndBlock) IsOnePerModuleType

func (m *MockHasABCIEndBlock) IsOnePerModuleType()

IsOnePerModuleType mocks base method.

func (*MockHasABCIEndBlock) Name

func (m *MockHasABCIEndBlock) Name() string

Name 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) IsAppModule

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

IsAppModule indicates an expected call of IsAppModule.

func (*MockHasABCIEndBlockMockRecorder) IsOnePerModuleType

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

IsOnePerModuleType indicates an expected call of IsOnePerModuleType.

func (*MockHasABCIEndBlockMockRecorder) Name

Name indicates an expected call of Name.

type MockHasABCIGenesis

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

MockHasABCIGenesis is a mock of HasABCIGenesis interface.

func NewMockHasABCIGenesis

func NewMockHasABCIGenesis(ctrl *gomock.Controller) *MockHasABCIGenesis

NewMockHasABCIGenesis creates a new mock instance.

func (*MockHasABCIGenesis) DefaultGenesis

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

DefaultGenesis mocks base method.

func (*MockHasABCIGenesis) EXPECT

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

func (*MockHasABCIGenesis) ExportGenesis

func (m *MockHasABCIGenesis) ExportGenesis(arg0 context.Context) (json.RawMessage, error)

ExportGenesis mocks base method.

func (*MockHasABCIGenesis) InitGenesis

func (m *MockHasABCIGenesis) InitGenesis(arg0 context.Context, arg1 json.RawMessage) ([]module.ValidatorUpdate, error)

InitGenesis mocks base method.

func (*MockHasABCIGenesis) Name

func (m *MockHasABCIGenesis) Name() string

Name mocks base method.

func (*MockHasABCIGenesis) ValidateGenesis

func (m *MockHasABCIGenesis) ValidateGenesis(arg0 json.RawMessage) error

ValidateGenesis mocks base method.

type MockHasABCIGenesisMockRecorder

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

MockHasABCIGenesisMockRecorder is the mock recorder for MockHasABCIGenesis.

func (*MockHasABCIGenesisMockRecorder) DefaultGenesis

func (mr *MockHasABCIGenesisMockRecorder) DefaultGenesis() *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockHasABCIGenesisMockRecorder) ExportGenesis

func (mr *MockHasABCIGenesisMockRecorder) ExportGenesis(arg0 interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockHasABCIGenesisMockRecorder) InitGenesis

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

InitGenesis indicates an expected call of InitGenesis.

func (*MockHasABCIGenesisMockRecorder) Name

Name indicates an expected call of Name.

func (*MockHasABCIGenesisMockRecorder) ValidateGenesis

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

ValidateGenesis indicates an expected call of ValidateGenesis.

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 legacy.Amino)

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 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() json.RawMessage

DefaultGenesis mocks base method.

func (*MockHasGenesisBasics) EXPECT

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

func (*MockHasGenesisBasics) Name

func (m *MockHasGenesisBasics) Name() string

Name mocks base method.

func (*MockHasGenesisBasics) ValidateGenesis

func (m *MockHasGenesisBasics) ValidateGenesis(arg0 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() *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis.

func (*MockHasGenesisBasicsMockRecorder) Name

Name indicates an expected call of Name.

func (*MockHasGenesisBasicsMockRecorder) ValidateGenesis

func (mr *MockHasGenesisBasicsMockRecorder) ValidateGenesis(arg0 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 types.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) Impl

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

Impl mocks base method.

func (*MockLogger) Info

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

Info mocks base method.

func (*MockLogger) Warn

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

Warn 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) Impl

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

Impl indicates an expected call of Impl.

func (*MockLoggerMockRecorder) Info

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

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) Warn

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

Warn indicates an expected call of Warn.

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