mock

package
v0.47.10 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 3 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 types.Tx) ([]byte, error)

PrepareProposalVerifyTx mocks base method.

func (*MockProposalTxVerifier) ProcessProposalVerifyTx

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

ProcessProposalVerifyTx 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.

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(maxTxBytes, maxBlockGas uint64, memTx types.Tx, txBz []byte) bool

SelectTxForProposal mocks base method.

func (*MockTxSelector) SelectedTxs

func (m *MockTxSelector) SelectedTxs() [][]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(maxTxBytes, maxBlockGas, memTx, txBz interface{}) *gomock.Call

SelectTxForProposal indicates an expected call of SelectTxForProposal.

func (*MockTxSelectorMockRecorder) SelectedTxs

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

SelectedTxs indicates an expected call of SelectedTxs.

Jump to

Keyboard shortcuts

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