testutil

package
v0.4.0-dev.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package testutil is a generated GoMock package.

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBatchingKeeper

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

MockBatchingKeeper is a mock of BatchingKeeper interface.

func NewMockBatchingKeeper

func NewMockBatchingKeeper(ctrl *gomock.Controller) *MockBatchingKeeper

NewMockBatchingKeeper creates a new mock instance.

func (*MockBatchingKeeper) EXPECT

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

func (*MockBatchingKeeper) GetBatchForHeight

func (m *MockBatchingKeeper) GetBatchForHeight(ctx context.Context, height int64) (types1.Batch, error)

GetBatchForHeight mocks base method.

func (*MockBatchingKeeper) GetValidatorTreeEntry

func (m *MockBatchingKeeper) GetValidatorTreeEntry(ctx context.Context, batchNum uint64, valAddr types.ValAddress) (types1.ValidatorTreeEntry, error)

GetValidatorTreeEntry mocks base method.

func (*MockBatchingKeeper) SetBatchSigSecp256k1

func (m *MockBatchingKeeper) SetBatchSigSecp256k1(ctx context.Context, batchNum uint64, valAddr types.ValAddress, signature []byte) error

SetBatchSigSecp256k1 mocks base method.

type MockBatchingKeeperMockRecorder

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

MockBatchingKeeperMockRecorder is the mock recorder for MockBatchingKeeper.

func (*MockBatchingKeeperMockRecorder) GetBatchForHeight

func (mr *MockBatchingKeeperMockRecorder) GetBatchForHeight(ctx, height any) *gomock.Call

GetBatchForHeight indicates an expected call of GetBatchForHeight.

func (*MockBatchingKeeperMockRecorder) GetValidatorTreeEntry

func (mr *MockBatchingKeeperMockRecorder) GetValidatorTreeEntry(ctx, batchNum, valAddr any) *gomock.Call

GetValidatorTreeEntry indicates an expected call of GetValidatorTreeEntry.

func (*MockBatchingKeeperMockRecorder) SetBatchSigSecp256k1

func (mr *MockBatchingKeeperMockRecorder) SetBatchSigSecp256k1(ctx, batchNum, valAddr, signature any) *gomock.Call

SetBatchSigSecp256k1 indicates an expected call of SetBatchSigSecp256k1.

type MockPubKeyKeeper

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

MockPubKeyKeeper is a mock of PubKeyKeeper interface.

func NewMockPubKeyKeeper

func NewMockPubKeyKeeper(ctrl *gomock.Controller) *MockPubKeyKeeper

NewMockPubKeyKeeper creates a new mock instance.

func (*MockPubKeyKeeper) EXPECT

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

func (*MockPubKeyKeeper) GetValidatorKeyAtIndex

func (m *MockPubKeyKeeper) GetValidatorKeyAtIndex(ctx context.Context, validatorAddr types.ValAddress, index utils.SEDAKeyIndex) ([]byte, error)

GetValidatorKeyAtIndex mocks base method.

func (*MockPubKeyKeeper) GetValidatorKeys

func (m *MockPubKeyKeeper) GetValidatorKeys(ctx context.Context, validatorAddr string) (types2.ValidatorPubKeys, error)

GetValidatorKeys mocks base method.

type MockPubKeyKeeperMockRecorder

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

MockPubKeyKeeperMockRecorder is the mock recorder for MockPubKeyKeeper.

func (*MockPubKeyKeeperMockRecorder) GetValidatorKeyAtIndex

func (mr *MockPubKeyKeeperMockRecorder) GetValidatorKeyAtIndex(ctx, validatorAddr, index any) *gomock.Call

GetValidatorKeyAtIndex indicates an expected call of GetValidatorKeyAtIndex.

func (*MockPubKeyKeeperMockRecorder) GetValidatorKeys

func (mr *MockPubKeyKeeperMockRecorder) GetValidatorKeys(ctx, validatorAddr any) *gomock.Call

GetValidatorKeys indicates an expected call of GetValidatorKeys.

type MockSEDASigner

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

MockSEDASigner is a mock of SEDASigner interface.

func NewMockSEDASigner

func NewMockSEDASigner(ctrl *gomock.Controller) *MockSEDASigner

NewMockSEDASigner creates a new mock instance.

func (*MockSEDASigner) EXPECT

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

func (*MockSEDASigner) Sign

func (m *MockSEDASigner) Sign(input []byte, index utils.SEDAKeyIndex) ([]byte, error)

Sign mocks base method.

type MockSEDASignerMockRecorder

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

MockSEDASignerMockRecorder is the mock recorder for MockSEDASigner.

func (*MockSEDASignerMockRecorder) Sign

func (mr *MockSEDASignerMockRecorder) Sign(input, index any) *gomock.Call

Sign indicates an expected call of Sign.

type MockStakingKeeper

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

MockStakingKeeper is a mock of StakingKeeper interface.

func NewMockStakingKeeper

func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper

NewMockStakingKeeper creates a new mock instance.

func (*MockStakingKeeper) EXPECT

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

func (*MockStakingKeeper) GetPubKeyByConsAddr

func (m *MockStakingKeeper) GetPubKeyByConsAddr(arg0 context.Context, arg1 types.ConsAddress) (crypto.PublicKey, error)

GetPubKeyByConsAddr mocks base method.

func (*MockStakingKeeper) GetValidator

func (m *MockStakingKeeper) GetValidator(ctx context.Context, addr types.ValAddress) (types0.Validator, error)

GetValidator mocks base method.

func (*MockStakingKeeper) GetValidatorByConsAddr

func (m *MockStakingKeeper) GetValidatorByConsAddr(ctx context.Context, consAddr types.ConsAddress) (types0.Validator, error)

GetValidatorByConsAddr mocks base method.

type MockStakingKeeperMockRecorder

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

MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.

func (*MockStakingKeeperMockRecorder) GetPubKeyByConsAddr

func (mr *MockStakingKeeperMockRecorder) GetPubKeyByConsAddr(arg0, arg1 any) *gomock.Call

GetPubKeyByConsAddr indicates an expected call of GetPubKeyByConsAddr.

func (*MockStakingKeeperMockRecorder) GetValidator

func (mr *MockStakingKeeperMockRecorder) GetValidator(ctx, addr any) *gomock.Call

GetValidator indicates an expected call of GetValidator.

func (*MockStakingKeeperMockRecorder) GetValidatorByConsAddr

func (mr *MockStakingKeeperMockRecorder) GetValidatorByConsAddr(ctx, consAddr any) *gomock.Call

GetValidatorByConsAddr indicates an expected call of GetValidatorByConsAddr.

Jump to

Keyboard shortcuts

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