mock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 12 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountKeeper

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

MockAccountKeeper is a mock of AccountKeeper interface.

func NewMockAccountKeeper

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance.

func (*MockAccountKeeper) AddressCodec

func (m *MockAccountKeeper) AddressCodec() address.Codec

AddressCodec mocks base method.

func (*MockAccountKeeper) EXPECT

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

func (*MockAccountKeeper) GetAccount

func (m *MockAccountKeeper) GetAccount(arg0 context.Context, arg1 types.AccAddress) types.AccountI

GetAccount mocks base method.

func (*MockAccountKeeper) GetSequence

func (m *MockAccountKeeper) GetSequence(arg0 context.Context, arg1 types.AccAddress) (uint64, error)

GetSequence mocks base method.

func (*MockAccountKeeper) HasAccount

func (m *MockAccountKeeper) HasAccount(arg0 context.Context, arg1 types.AccAddress) bool

HasAccount mocks base method.

func (*MockAccountKeeper) NewAccount

func (m *MockAccountKeeper) NewAccount(arg0 context.Context, arg1 types.AccountI) types.AccountI

NewAccount mocks base method.

func (*MockAccountKeeper) NewAccountWithAddress

func (m *MockAccountKeeper) NewAccountWithAddress(arg0 context.Context, arg1 types.AccAddress) types.AccountI

NewAccountWithAddress mocks base method.

func (*MockAccountKeeper) NextAccountNumber

func (m *MockAccountKeeper) NextAccountNumber(arg0 context.Context) uint64

NextAccountNumber mocks base method.

func (*MockAccountKeeper) RemoveAccount

func (m *MockAccountKeeper) RemoveAccount(ctx context.Context, acc types.AccountI)

RemoveAccount mocks base method.

func (*MockAccountKeeper) SetAccount

func (m *MockAccountKeeper) SetAccount(arg0 context.Context, arg1 types.AccountI)

SetAccount mocks base method.

type MockAccountKeeperMockRecorder

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

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) AddressCodec

func (mr *MockAccountKeeperMockRecorder) AddressCodec() *gomock.Call

AddressCodec indicates an expected call of AddressCodec.

func (*MockAccountKeeperMockRecorder) GetAccount

func (mr *MockAccountKeeperMockRecorder) GetAccount(arg0, arg1 any) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountKeeperMockRecorder) GetSequence

func (mr *MockAccountKeeperMockRecorder) GetSequence(arg0, arg1 any) *gomock.Call

GetSequence indicates an expected call of GetSequence.

func (*MockAccountKeeperMockRecorder) HasAccount

func (mr *MockAccountKeeperMockRecorder) HasAccount(arg0, arg1 any) *gomock.Call

HasAccount indicates an expected call of HasAccount.

func (*MockAccountKeeperMockRecorder) NewAccount

func (mr *MockAccountKeeperMockRecorder) NewAccount(arg0, arg1 any) *gomock.Call

NewAccount indicates an expected call of NewAccount.

func (*MockAccountKeeperMockRecorder) NewAccountWithAddress

func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(arg0, arg1 any) *gomock.Call

NewAccountWithAddress indicates an expected call of NewAccountWithAddress.

func (*MockAccountKeeperMockRecorder) NextAccountNumber

func (mr *MockAccountKeeperMockRecorder) NextAccountNumber(arg0 any) *gomock.Call

NextAccountNumber indicates an expected call of NextAccountNumber.

func (*MockAccountKeeperMockRecorder) RemoveAccount

func (mr *MockAccountKeeperMockRecorder) RemoveAccount(ctx, acc any) *gomock.Call

RemoveAccount indicates an expected call of RemoveAccount.

func (*MockAccountKeeperMockRecorder) SetAccount

func (mr *MockAccountKeeperMockRecorder) SetAccount(arg0, arg1 any) *gomock.Call

SetAccount indicates an expected call of SetAccount.

type MockBitcoinKeeper

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

MockBitcoinKeeper is a mock of BitcoinKeeper interface.

func NewMockBitcoinKeeper

func NewMockBitcoinKeeper(ctrl *gomock.Controller) *MockBitcoinKeeper

NewMockBitcoinKeeper creates a new mock instance.

func (*MockBitcoinKeeper) DequeueBitcoinModuleTx

func (m *MockBitcoinKeeper) DequeueBitcoinModuleTx(ctx context.Context) ([]*types.Transaction, error)

DequeueBitcoinModuleTx mocks base method.

func (*MockBitcoinKeeper) EXPECT

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

func (*MockBitcoinKeeper) ProcessBridgeRequest

func (m *MockBitcoinKeeper) ProcessBridgeRequest(ctx context.Context, req goattypes.BridgeRequests) error

ProcessBridgeRequest mocks base method.

type MockBitcoinKeeperMockRecorder

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

MockBitcoinKeeperMockRecorder is the mock recorder for MockBitcoinKeeper.

func (*MockBitcoinKeeperMockRecorder) DequeueBitcoinModuleTx

func (mr *MockBitcoinKeeperMockRecorder) DequeueBitcoinModuleTx(ctx any) *gomock.Call

DequeueBitcoinModuleTx indicates an expected call of DequeueBitcoinModuleTx.

func (*MockBitcoinKeeperMockRecorder) ProcessBridgeRequest

func (mr *MockBitcoinKeeperMockRecorder) ProcessBridgeRequest(ctx, req any) *gomock.Call

ProcessBridgeRequest indicates an expected call of ProcessBridgeRequest.

type MockEngineClient

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

MockEngineClient is a mock of EngineClient interface.

func NewMockEngineClient

func NewMockEngineClient(ctrl *gomock.Controller) *MockEngineClient

NewMockEngineClient creates a new mock instance.

func (*MockEngineClient) EXPECT

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

func (*MockEngineClient) ExchangeCapabilities

func (m *MockEngineClient) ExchangeCapabilities(ctx context.Context, caps []string) ([]string, error)

ExchangeCapabilities mocks base method.

func (*MockEngineClient) ForkchoiceUpdatedV3

ForkchoiceUpdatedV3 mocks base method.

func (*MockEngineClient) GetChainConfig

func (m *MockEngineClient) GetChainConfig(ctx context.Context) (*params.ChainConfig, error)

GetChainConfig mocks base method.

func (*MockEngineClient) GetClientVersionV1

func (m *MockEngineClient) GetClientVersionV1(ctx context.Context, info engine.ClientVersionV1) ([]engine.ClientVersionV1, error)

GetClientVersionV1 mocks base method.

func (*MockEngineClient) GetPayloadV4

GetPayloadV4 mocks base method.

func (*MockEngineClient) NewPayloadV4

func (m *MockEngineClient) NewPayloadV4(ctx context.Context, params *engine.ExecutableData, versionedHashes []common.Hash, beaconRoot common.Hash, requests [][]byte) (*engine.PayloadStatusV1, error)

NewPayloadV4 mocks base method.

type MockEngineClientMockRecorder

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

MockEngineClientMockRecorder is the mock recorder for MockEngineClient.

func (*MockEngineClientMockRecorder) ExchangeCapabilities

func (mr *MockEngineClientMockRecorder) ExchangeCapabilities(ctx, caps any) *gomock.Call

ExchangeCapabilities indicates an expected call of ExchangeCapabilities.

func (*MockEngineClientMockRecorder) ForkchoiceUpdatedV3

func (mr *MockEngineClientMockRecorder) ForkchoiceUpdatedV3(ctx, update, params any) *gomock.Call

ForkchoiceUpdatedV3 indicates an expected call of ForkchoiceUpdatedV3.

func (*MockEngineClientMockRecorder) GetChainConfig

func (mr *MockEngineClientMockRecorder) GetChainConfig(ctx any) *gomock.Call

GetChainConfig indicates an expected call of GetChainConfig.

func (*MockEngineClientMockRecorder) GetClientVersionV1

func (mr *MockEngineClientMockRecorder) GetClientVersionV1(ctx, info any) *gomock.Call

GetClientVersionV1 indicates an expected call of GetClientVersionV1.

func (*MockEngineClientMockRecorder) GetPayloadV4

func (mr *MockEngineClientMockRecorder) GetPayloadV4(ctx, payloadID any) *gomock.Call

GetPayloadV4 indicates an expected call of GetPayloadV4.

func (*MockEngineClientMockRecorder) NewPayloadV4

func (mr *MockEngineClientMockRecorder) NewPayloadV4(ctx, params, versionedHashes, beaconRoot, requests any) *gomock.Call

NewPayloadV4 indicates an expected call of NewPayloadV4.

type MockINonVoteMsg

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

MockINonVoteMsg is a mock of INonVoteMsg interface.

func NewMockINonVoteMsg

func NewMockINonVoteMsg(ctrl *gomock.Controller) *MockINonVoteMsg

NewMockINonVoteMsg creates a new mock instance.

func (*MockINonVoteMsg) EXPECT

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

func (*MockINonVoteMsg) GetProposer

func (m *MockINonVoteMsg) GetProposer() string

GetProposer mocks base method.

type MockINonVoteMsgMockRecorder

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

MockINonVoteMsgMockRecorder is the mock recorder for MockINonVoteMsg.

func (*MockINonVoteMsgMockRecorder) GetProposer

func (mr *MockINonVoteMsgMockRecorder) GetProposer() *gomock.Call

GetProposer indicates an expected call of GetProposer.

type MockIRelayer

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

MockIRelayer is a mock of IRelayer interface.

func NewMockIRelayer

func NewMockIRelayer(ctrl *gomock.Controller) *MockIRelayer

NewMockIRelayer creates a new mock instance.

func (*MockIRelayer) EXPECT

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

func (*MockIRelayer) GetEpoch

func (m *MockIRelayer) GetEpoch() uint64

GetEpoch mocks base method.

func (*MockIRelayer) GetLastElected

func (m *MockIRelayer) GetLastElected() time.Time

GetLastElected mocks base method.

func (*MockIRelayer) GetProposer

func (m *MockIRelayer) GetProposer() string

GetProposer mocks base method.

func (*MockIRelayer) GetVoters

func (m *MockIRelayer) GetVoters() []string

GetVoters mocks base method.

type MockIRelayerMockRecorder

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

MockIRelayerMockRecorder is the mock recorder for MockIRelayer.

func (*MockIRelayerMockRecorder) GetEpoch

func (mr *MockIRelayerMockRecorder) GetEpoch() *gomock.Call

GetEpoch indicates an expected call of GetEpoch.

func (*MockIRelayerMockRecorder) GetLastElected

func (mr *MockIRelayerMockRecorder) GetLastElected() *gomock.Call

GetLastElected indicates an expected call of GetLastElected.

func (*MockIRelayerMockRecorder) GetProposer

func (mr *MockIRelayerMockRecorder) GetProposer() *gomock.Call

GetProposer indicates an expected call of GetProposer.

func (*MockIRelayerMockRecorder) GetVoters

func (mr *MockIRelayerMockRecorder) GetVoters() *gomock.Call

GetVoters indicates an expected call of GetVoters.

type MockIVoteMsg

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

MockIVoteMsg is a mock of IVoteMsg interface.

func NewMockIVoteMsg

func NewMockIVoteMsg(ctrl *gomock.Controller) *MockIVoteMsg

NewMockIVoteMsg creates a new mock instance.

func (*MockIVoteMsg) EXPECT

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

func (*MockIVoteMsg) GetProposer

func (m *MockIVoteMsg) GetProposer() string

GetProposer mocks base method.

func (*MockIVoteMsg) GetVote

func (m *MockIVoteMsg) GetVote() *types.Votes

GetVote mocks base method.

func (*MockIVoteMsg) MethodName

func (m *MockIVoteMsg) MethodName() string

MethodName mocks base method.

func (*MockIVoteMsg) VoteSigDoc

func (m *MockIVoteMsg) VoteSigDoc() []byte

VoteSigDoc mocks base method.

type MockIVoteMsgMockRecorder

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

MockIVoteMsgMockRecorder is the mock recorder for MockIVoteMsg.

func (*MockIVoteMsgMockRecorder) GetProposer

func (mr *MockIVoteMsgMockRecorder) GetProposer() *gomock.Call

GetProposer indicates an expected call of GetProposer.

func (*MockIVoteMsgMockRecorder) GetVote

func (mr *MockIVoteMsgMockRecorder) GetVote() *gomock.Call

GetVote indicates an expected call of GetVote.

func (*MockIVoteMsgMockRecorder) MethodName

func (mr *MockIVoteMsgMockRecorder) MethodName() *gomock.Call

MethodName indicates an expected call of MethodName.

func (*MockIVoteMsgMockRecorder) VoteSigDoc

func (mr *MockIVoteMsgMockRecorder) VoteSigDoc() *gomock.Call

VoteSigDoc indicates an expected call of VoteSigDoc.

type MockLockingKeeper

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

MockLockingKeeper is a mock of LockingKeeper interface.

func NewMockLockingKeeper

func NewMockLockingKeeper(ctrl *gomock.Controller) *MockLockingKeeper

NewMockLockingKeeper creates a new mock instance.

func (*MockLockingKeeper) DequeueLockingModuleTx

func (m *MockLockingKeeper) DequeueLockingModuleTx(ctx context.Context) ([]*types.Transaction, error)

DequeueLockingModuleTx mocks base method.

func (*MockLockingKeeper) EXPECT

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

func (*MockLockingKeeper) ProcessLockingRequest

func (m *MockLockingKeeper) ProcessLockingRequest(ctx context.Context, req goattypes.LockingRequests) error

ProcessLockingRequest mocks base method.

type MockLockingKeeperMockRecorder

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

MockLockingKeeperMockRecorder is the mock recorder for MockLockingKeeper.

func (*MockLockingKeeperMockRecorder) DequeueLockingModuleTx

func (mr *MockLockingKeeperMockRecorder) DequeueLockingModuleTx(ctx any) *gomock.Call

DequeueLockingModuleTx indicates an expected call of DequeueLockingModuleTx.

func (*MockLockingKeeperMockRecorder) ProcessLockingRequest

func (mr *MockLockingKeeperMockRecorder) ProcessLockingRequest(ctx, req any) *gomock.Call

ProcessLockingRequest indicates an expected call of ProcessLockingRequest.

type MockRelayerKeeper

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

MockRelayerKeeper is a mock of RelayerKeeper interface.

func NewMockRelayerKeeper

func NewMockRelayerKeeper(ctrl *gomock.Controller) *MockRelayerKeeper

NewMockRelayerKeeper creates a new mock instance.

func (*MockRelayerKeeper) AddNewKey

func (m *MockRelayerKeeper) AddNewKey(ctx context.Context, raw []byte) error

AddNewKey mocks base method.

func (*MockRelayerKeeper) EXPECT

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

func (*MockRelayerKeeper) GetCurrentProposer

func (m *MockRelayerKeeper) GetCurrentProposer(ctx context.Context) (types.AccAddress, error)

GetCurrentProposer mocks base method.

func (*MockRelayerKeeper) HasPubkey

func (m *MockRelayerKeeper) HasPubkey(ctx context.Context, raw []byte) (bool, error)

HasPubkey mocks base method.

func (*MockRelayerKeeper) ProcessRelayerRequest

func (m *MockRelayerKeeper) ProcessRelayerRequest(ctx context.Context, req goattypes.RelayerRequests) error

ProcessRelayerRequest mocks base method.

func (*MockRelayerKeeper) SetProposalSeq

func (m *MockRelayerKeeper) SetProposalSeq(ctx context.Context, seq uint64) error

SetProposalSeq mocks base method.

func (*MockRelayerKeeper) UpdateRandao

func (m *MockRelayerKeeper) UpdateRandao(ctx context.Context, req types0.IVoteMsg) error

UpdateRandao mocks base method.

func (*MockRelayerKeeper) VerifyNonProposal

func (m *MockRelayerKeeper) VerifyNonProposal(ctx context.Context, req types0.INonVoteMsg) (types0.IRelayer, error)

VerifyNonProposal mocks base method.

func (*MockRelayerKeeper) VerifyProposal

func (m *MockRelayerKeeper) VerifyProposal(ctx context.Context, req types0.IVoteMsg, verifyFn ...func([]byte) error) (uint64, error)

VerifyProposal mocks base method.

type MockRelayerKeeperMockRecorder

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

MockRelayerKeeperMockRecorder is the mock recorder for MockRelayerKeeper.

func (*MockRelayerKeeperMockRecorder) AddNewKey

func (mr *MockRelayerKeeperMockRecorder) AddNewKey(ctx, raw any) *gomock.Call

AddNewKey indicates an expected call of AddNewKey.

func (*MockRelayerKeeperMockRecorder) GetCurrentProposer

func (mr *MockRelayerKeeperMockRecorder) GetCurrentProposer(ctx any) *gomock.Call

GetCurrentProposer indicates an expected call of GetCurrentProposer.

func (*MockRelayerKeeperMockRecorder) HasPubkey

func (mr *MockRelayerKeeperMockRecorder) HasPubkey(ctx, raw any) *gomock.Call

HasPubkey indicates an expected call of HasPubkey.

func (*MockRelayerKeeperMockRecorder) ProcessRelayerRequest

func (mr *MockRelayerKeeperMockRecorder) ProcessRelayerRequest(ctx, req any) *gomock.Call

ProcessRelayerRequest indicates an expected call of ProcessRelayerRequest.

func (*MockRelayerKeeperMockRecorder) SetProposalSeq

func (mr *MockRelayerKeeperMockRecorder) SetProposalSeq(ctx, seq any) *gomock.Call

SetProposalSeq indicates an expected call of SetProposalSeq.

func (*MockRelayerKeeperMockRecorder) UpdateRandao

func (mr *MockRelayerKeeperMockRecorder) UpdateRandao(ctx, req any) *gomock.Call

UpdateRandao indicates an expected call of UpdateRandao.

func (*MockRelayerKeeperMockRecorder) VerifyNonProposal

func (mr *MockRelayerKeeperMockRecorder) VerifyNonProposal(ctx, req any) *gomock.Call

VerifyNonProposal indicates an expected call of VerifyNonProposal.

func (*MockRelayerKeeperMockRecorder) VerifyProposal

func (mr *MockRelayerKeeperMockRecorder) VerifyProposal(ctx, req any, verifyFn ...any) *gomock.Call

VerifyProposal indicates an expected call of VerifyProposal.

Jump to

Keyboard shortcuts

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