mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks 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) EXPECT

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

func (*MockAccountKeeper) GetAccount

func (m *MockAccountKeeper) GetAccount(ctx types0.Context, addr types0.AccAddress) types1.AccountI

GetAccount mocks base method.

type MockAccountKeeperMockRecorder

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

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) GetAccount

func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

type MockBankKeeper

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

MockBankKeeper is a mock of BankKeeper interface.

func NewMockBankKeeper

func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper

NewMockBankKeeper creates a new mock instance.

func (*MockBankKeeper) EXPECT

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

func (*MockBankKeeper) SpendableCoins

func (m *MockBankKeeper) SpendableCoins(ctx types0.Context, addr types0.AccAddress) types0.Coins

SpendableCoins mocks base method.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) SpendableCoins

func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call

SpendableCoins indicates an expected call of SpendableCoins.

type MockBlsSigner

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

MockBlsSigner is a mock of BlsSigner interface.

func NewMockBlsSigner

func NewMockBlsSigner(ctrl *gomock.Controller) *MockBlsSigner

NewMockBlsSigner creates a new mock instance.

func (*MockBlsSigner) EXPECT

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

func (*MockBlsSigner) GetAddress

func (m *MockBlsSigner) GetAddress() types.ValAddress

GetAddress mocks base method.

func (*MockBlsSigner) GetBlsPubkey

func (m *MockBlsSigner) GetBlsPubkey() (bls12381.PublicKey, error)

GetBlsPubkey mocks base method.

func (*MockBlsSigner) SignMsgWithBls

func (m *MockBlsSigner) SignMsgWithBls(msg []byte) (bls12381.Signature, error)

SignMsgWithBls mocks base method.

type MockBlsSignerMockRecorder

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

MockBlsSignerMockRecorder is the mock recorder for MockBlsSigner.

func (*MockBlsSignerMockRecorder) GetAddress

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

GetAddress indicates an expected call of GetAddress.

func (*MockBlsSignerMockRecorder) GetBlsPubkey

func (mr *MockBlsSignerMockRecorder) GetBlsPubkey() *gomock.Call

GetBlsPubkey indicates an expected call of GetBlsPubkey.

func (*MockBlsSignerMockRecorder) SignMsgWithBls

func (mr *MockBlsSignerMockRecorder) SignMsgWithBls(msg interface{}) *gomock.Call

SignMsgWithBls indicates an expected call of SignMsgWithBls.

type MockCheckpointingHooks

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

MockCheckpointingHooks is a mock of CheckpointingHooks interface.

func NewMockCheckpointingHooks

func NewMockCheckpointingHooks(ctrl *gomock.Controller) *MockCheckpointingHooks

NewMockCheckpointingHooks creates a new mock instance.

func (*MockCheckpointingHooks) AfterBlsKeyRegistered

func (m *MockCheckpointingHooks) AfterBlsKeyRegistered(ctx types0.Context, valAddr types0.ValAddress) error

AfterBlsKeyRegistered mocks base method.

func (*MockCheckpointingHooks) AfterRawCheckpointConfirmed

func (m *MockCheckpointingHooks) AfterRawCheckpointConfirmed(ctx types0.Context, epoch uint64) error

AfterRawCheckpointConfirmed mocks base method.

func (*MockCheckpointingHooks) AfterRawCheckpointFinalized

func (m *MockCheckpointingHooks) AfterRawCheckpointFinalized(ctx types0.Context, epoch uint64) error

AfterRawCheckpointFinalized mocks base method.

func (*MockCheckpointingHooks) EXPECT

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

type MockCheckpointingHooksMockRecorder

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

MockCheckpointingHooksMockRecorder is the mock recorder for MockCheckpointingHooks.

func (*MockCheckpointingHooksMockRecorder) AfterBlsKeyRegistered

func (mr *MockCheckpointingHooksMockRecorder) AfterBlsKeyRegistered(ctx, valAddr interface{}) *gomock.Call

AfterBlsKeyRegistered indicates an expected call of AfterBlsKeyRegistered.

func (*MockCheckpointingHooksMockRecorder) AfterRawCheckpointConfirmed

func (mr *MockCheckpointingHooksMockRecorder) AfterRawCheckpointConfirmed(ctx, epoch interface{}) *gomock.Call

AfterRawCheckpointConfirmed indicates an expected call of AfterRawCheckpointConfirmed.

func (*MockCheckpointingHooksMockRecorder) AfterRawCheckpointFinalized

func (mr *MockCheckpointingHooksMockRecorder) AfterRawCheckpointFinalized(ctx, epoch interface{}) *gomock.Call

AfterRawCheckpointFinalized indicates an expected call of AfterRawCheckpointFinalized.

type MockEpochingKeeper

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

MockEpochingKeeper is a mock of EpochingKeeper interface.

func NewMockEpochingKeeper

func NewMockEpochingKeeper(ctrl *gomock.Controller) *MockEpochingKeeper

NewMockEpochingKeeper creates a new mock instance.

func (*MockEpochingKeeper) EXPECT

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

func (*MockEpochingKeeper) EnqueueMsg

func (m *MockEpochingKeeper) EnqueueMsg(ctx types0.Context, msg types.QueuedMessage)

EnqueueMsg mocks base method.

func (*MockEpochingKeeper) GetEpoch

func (m *MockEpochingKeeper) GetEpoch(ctx types0.Context) *types.Epoch

GetEpoch mocks base method.

func (*MockEpochingKeeper) GetTotalVotingPower

func (m *MockEpochingKeeper) GetTotalVotingPower(ctx types0.Context, epochNumber uint64) int64

GetTotalVotingPower mocks base method.

func (*MockEpochingKeeper) GetValidatorSet

func (m *MockEpochingKeeper) GetValidatorSet(ctx types0.Context, epochNumer uint64) types.ValidatorSet

GetValidatorSet mocks base method.

type MockEpochingKeeperMockRecorder

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

MockEpochingKeeperMockRecorder is the mock recorder for MockEpochingKeeper.

func (*MockEpochingKeeperMockRecorder) EnqueueMsg

func (mr *MockEpochingKeeperMockRecorder) EnqueueMsg(ctx, msg interface{}) *gomock.Call

EnqueueMsg indicates an expected call of EnqueueMsg.

func (*MockEpochingKeeperMockRecorder) GetEpoch

func (mr *MockEpochingKeeperMockRecorder) GetEpoch(ctx interface{}) *gomock.Call

GetEpoch indicates an expected call of GetEpoch.

func (*MockEpochingKeeperMockRecorder) GetTotalVotingPower

func (mr *MockEpochingKeeperMockRecorder) GetTotalVotingPower(ctx, epochNumber interface{}) *gomock.Call

GetTotalVotingPower indicates an expected call of GetTotalVotingPower.

func (*MockEpochingKeeperMockRecorder) GetValidatorSet

func (mr *MockEpochingKeeperMockRecorder) GetValidatorSet(ctx, epochNumer interface{}) *gomock.Call

GetValidatorSet indicates an expected call of GetValidatorSet.

Jump to

Keyboard shortcuts

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