mock

package
v0.52.0-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

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 MockGasTx

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

MockGasTx is a mock of GasTx interface.

func NewMockGasTx

func NewMockGasTx(ctrl *gomock.Controller) *MockGasTx

NewMockGasTx creates a new mock instance.

func (*MockGasTx) EXPECT

func (m *MockGasTx) EXPECT() *MockGasTxMockRecorder

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

func (*MockGasTx) GetGas

func (m *MockGasTx) GetGas() uint64

GetGas mocks base method.

type MockGasTxMockRecorder

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

MockGasTxMockRecorder is the mock recorder for MockGasTx.

func (*MockGasTxMockRecorder) GetGas

func (mr *MockGasTxMockRecorder) GetGas() *gomock.Call

GetGas indicates an expected call of GetGas.

type MockProposalTxVerifier

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

MockProposalTxVerifier is a mock of ProposalTxVerifier interface.

func NewMockProposalTxVerifier

func NewMockProposalTxVerifier(ctrl *gomock.Controller) *MockProposalTxVerifier

NewMockProposalTxVerifier creates a new mock instance.

func (*MockProposalTxVerifier) EXPECT

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

func (*MockProposalTxVerifier) PrepareProposalVerifyTx

func (m *MockProposalTxVerifier) PrepareProposalVerifyTx(tx types0.Tx) ([]byte, error)

PrepareProposalVerifyTx mocks base method.

func (*MockProposalTxVerifier) ProcessProposalVerifyTx

func (m *MockProposalTxVerifier) ProcessProposalVerifyTx(txBz []byte) (types0.Tx, error)

ProcessProposalVerifyTx mocks base method.

func (*MockProposalTxVerifier) TxDecode added in v0.50.0

func (m *MockProposalTxVerifier) TxDecode(txBz []byte) (types0.Tx, error)

TxDecode mocks base method.

func (*MockProposalTxVerifier) TxEncode added in v0.50.0

func (m *MockProposalTxVerifier) TxEncode(tx types0.Tx) ([]byte, error)

TxEncode mocks base method.

type MockProposalTxVerifierMockRecorder

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

MockProposalTxVerifierMockRecorder is the mock recorder for MockProposalTxVerifier.

func (*MockProposalTxVerifierMockRecorder) PrepareProposalVerifyTx

func (mr *MockProposalTxVerifierMockRecorder) PrepareProposalVerifyTx(tx interface{}) *gomock.Call

PrepareProposalVerifyTx indicates an expected call of PrepareProposalVerifyTx.

func (*MockProposalTxVerifierMockRecorder) ProcessProposalVerifyTx

func (mr *MockProposalTxVerifierMockRecorder) ProcessProposalVerifyTx(txBz interface{}) *gomock.Call

ProcessProposalVerifyTx indicates an expected call of ProcessProposalVerifyTx.

func (*MockProposalTxVerifierMockRecorder) TxDecode added in v0.50.0

func (mr *MockProposalTxVerifierMockRecorder) TxDecode(txBz interface{}) *gomock.Call

TxDecode indicates an expected call of TxDecode.

func (*MockProposalTxVerifierMockRecorder) TxEncode added in v0.50.0

func (mr *MockProposalTxVerifierMockRecorder) TxEncode(tx interface{}) *gomock.Call

TxEncode indicates an expected call of TxEncode.

type MockTxSelector

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

MockTxSelector is a mock of TxSelector interface.

func NewMockTxSelector

func NewMockTxSelector(ctrl *gomock.Controller) *MockTxSelector

NewMockTxSelector creates a new mock instance.

func (*MockTxSelector) Clear

func (m *MockTxSelector) Clear()

Clear mocks base method.

func (*MockTxSelector) EXPECT

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

func (*MockTxSelector) SelectTxForProposal

func (m *MockTxSelector) SelectTxForProposal(ctx context.Context, maxTxBytes, maxBlockGas uint64, memTx types0.Tx, txBz []byte) bool

SelectTxForProposal mocks base method.

func (*MockTxSelector) SelectedTxs

func (m *MockTxSelector) SelectedTxs(ctx context.Context) [][]byte

SelectedTxs mocks base method.

type MockTxSelectorMockRecorder

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

MockTxSelectorMockRecorder is the mock recorder for MockTxSelector.

func (*MockTxSelectorMockRecorder) Clear

func (mr *MockTxSelectorMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear.

func (*MockTxSelectorMockRecorder) SelectTxForProposal

func (mr *MockTxSelectorMockRecorder) SelectTxForProposal(ctx, maxTxBytes, maxBlockGas, memTx, txBz interface{}) *gomock.Call

SelectTxForProposal indicates an expected call of SelectTxForProposal.

func (*MockTxSelectorMockRecorder) SelectedTxs

func (mr *MockTxSelectorMockRecorder) SelectedTxs(ctx interface{}) *gomock.Call

SelectedTxs indicates an expected call of SelectedTxs.

type MockValidatorStore added in v0.50.0

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

MockValidatorStore is a mock of ValidatorStore interface.

func NewMockValidatorStore added in v0.50.0

func NewMockValidatorStore(ctrl *gomock.Controller) *MockValidatorStore

NewMockValidatorStore creates a new mock instance.

func (*MockValidatorStore) EXPECT added in v0.50.0

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

func (*MockValidatorStore) GetPubKeyByConsAddr added in v0.50.0

func (m *MockValidatorStore) GetPubKeyByConsAddr(arg0 context.Context, arg1 types0.ConsAddress) (types.PubKey, error)

GetPubKeyByConsAddr mocks base method.

type MockValidatorStoreMockRecorder added in v0.50.0

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

MockValidatorStoreMockRecorder is the mock recorder for MockValidatorStore.

func (*MockValidatorStoreMockRecorder) GetPubKeyByConsAddr added in v0.50.0

func (mr *MockValidatorStoreMockRecorder) GetPubKeyByConsAddr(arg0, arg1 interface{}) *gomock.Call

GetPubKeyByConsAddr indicates an expected call of GetPubKeyByConsAddr.

Jump to

Keyboard shortcuts

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