mock

package
v0.50.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 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 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 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 types.ConsAddress) (crypto.PublicKey, 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