Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type Instance
- func (_m *Instance) ApplyExtrinsic(data types.Extrinsic) ([]byte, error)
- func (_m *Instance) BabeConfiguration() (*types.BabeConfiguration, error)
- func (_m *Instance) CheckInherents()
- func (_m *Instance) DecodeSessionKeys(enc []byte) ([]byte, error)
- func (_m *Instance) Exec(function string, data []byte) ([]byte, error)
- func (_m *Instance) ExecuteBlock(block *types.Block) ([]byte, error)
- func (_m *Instance) FinalizeBlock() (*types.Header, error)
- func (_m *Instance) GenerateSessionKeys()
- func (_m *Instance) GetCodeHash() common.Hash
- func (_m *Instance) GrandpaAuthorities() ([]types.Authority, error)
- func (_m *Instance) GrandpaGenerateKeyOwnershipProof(authSetID uint64, authorityID ed25519.PublicKeyBytes) (types.GrandpaOpaqueKeyOwnershipProof, error)
- func (_m *Instance) GrandpaSubmitReportEquivocationUnsignedExtrinsic(equivocationProof types.GrandpaEquivocationProof, ...) error
- func (_m *Instance) InherentExtrinsics(data []byte) ([]byte, error)
- func (_m *Instance) InitializeBlock(header *types.Header) error
- func (_m *Instance) Keystore() *keystore.GlobalKeystore
- func (_m *Instance) Metadata() ([]byte, error)
- func (_m *Instance) NetworkService() runtime.BasicNetwork
- func (_m *Instance) NodeStorage() runtime.NodeStorage
- func (_m *Instance) OffchainWorker()
- func (_m *Instance) PaymentQueryInfo(ext []byte) (*types.RuntimeDispatchInfo, error)
- func (_m *Instance) RandomSeed()
- func (_m *Instance) SetContextStorage(s runtime.Storage)
- func (_m *Instance) Stop()
- func (_m *Instance) UpdateRuntimeCode(_a0 []byte) error
- func (_m *Instance) ValidateTransaction(e types.Extrinsic) (*transaction.Validity, error)
- func (_m *Instance) Validator() bool
- func (_m *Instance) Version() runtime.Version
- type MockInstance
- func (m *MockInstance) ApplyExtrinsic(arg0 types.Extrinsic) ([]byte, error)
- func (m *MockInstance) BabeConfiguration() (*types.BabeConfiguration, error)
- func (m *MockInstance) BabeGenerateKeyOwnershipProof(arg0 uint64, arg1 [32]byte) (types.OpaqueKeyOwnershipProof, error)
- func (m *MockInstance) BabeSubmitReportEquivocationUnsignedExtrinsic(arg0 types.BabeEquivocationProof, arg1 types.OpaqueKeyOwnershipProof) error
- func (m *MockInstance) CheckInherents()
- func (m *MockInstance) DecodeSessionKeys(arg0 []byte) ([]byte, error)
- func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
- func (m *MockInstance) Exec(arg0 string, arg1 []byte) ([]byte, error)
- func (m *MockInstance) ExecuteBlock(arg0 *types.Block) ([]byte, error)
- func (m *MockInstance) FinalizeBlock() (*types.Header, error)
- func (m *MockInstance) GenerateSessionKeys()
- func (m *MockInstance) GetCodeHash() common.Hash
- func (m *MockInstance) GrandpaAuthorities() ([]types.Authority, error)
- func (m *MockInstance) GrandpaGenerateKeyOwnershipProof(arg0 uint64, arg1 ed25519.PublicKeyBytes) (types.GrandpaOpaqueKeyOwnershipProof, error)
- func (m *MockInstance) GrandpaSubmitReportEquivocationUnsignedExtrinsic(arg0 types.GrandpaEquivocationProof, arg1 types.GrandpaOpaqueKeyOwnershipProof) error
- func (m *MockInstance) InherentExtrinsics(arg0 []byte) ([]byte, error)
- func (m *MockInstance) InitializeBlock(arg0 *types.Header) error
- func (m *MockInstance) Keystore() *keystore.GlobalKeystore
- func (m *MockInstance) Metadata() ([]byte, error)
- func (m *MockInstance) NetworkService() runtime.BasicNetwork
- func (m *MockInstance) NodeStorage() runtime.NodeStorage
- func (m *MockInstance) OffchainWorker()
- func (m *MockInstance) PaymentQueryInfo(arg0 []byte) (*types.RuntimeDispatchInfo, error)
- func (m *MockInstance) RandomSeed()
- func (m *MockInstance) SetContextStorage(arg0 runtime.Storage)
- func (m *MockInstance) Stop()
- func (m *MockInstance) ValidateTransaction(arg0 types.Extrinsic) (*transaction.Validity, error)
- func (m *MockInstance) Validator() bool
- func (m *MockInstance) Version() (runtime.Version, error)
- type MockInstanceMockRecorder
- func (mr *MockInstanceMockRecorder) ApplyExtrinsic(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) BabeConfiguration() *gomock.Call
- func (mr *MockInstanceMockRecorder) BabeGenerateKeyOwnershipProof(arg0, arg1 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) BabeSubmitReportEquivocationUnsignedExtrinsic(arg0, arg1 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) CheckInherents() *gomock.Call
- func (mr *MockInstanceMockRecorder) DecodeSessionKeys(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) Exec(arg0, arg1 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) ExecuteBlock(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) FinalizeBlock() *gomock.Call
- func (mr *MockInstanceMockRecorder) GenerateSessionKeys() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetCodeHash() *gomock.Call
- func (mr *MockInstanceMockRecorder) GrandpaAuthorities() *gomock.Call
- func (mr *MockInstanceMockRecorder) GrandpaGenerateKeyOwnershipProof(arg0, arg1 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) GrandpaSubmitReportEquivocationUnsignedExtrinsic(arg0, arg1 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) InherentExtrinsics(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) InitializeBlock(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) Keystore() *gomock.Call
- func (mr *MockInstanceMockRecorder) Metadata() *gomock.Call
- func (mr *MockInstanceMockRecorder) NetworkService() *gomock.Call
- func (mr *MockInstanceMockRecorder) NodeStorage() *gomock.Call
- func (mr *MockInstanceMockRecorder) OffchainWorker() *gomock.Call
- func (mr *MockInstanceMockRecorder) PaymentQueryInfo(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) RandomSeed() *gomock.Call
- func (mr *MockInstanceMockRecorder) SetContextStorage(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) Stop() *gomock.Call
- func (mr *MockInstanceMockRecorder) ValidateTransaction(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) Validator() *gomock.Call
- func (mr *MockInstanceMockRecorder) Version() *gomock.Call
- type MockTransactionState
- type MockTransactionStateMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
Instance is an autogenerated mock type for the Instance type
func NewInstance ¶
func NewInstance(t mockConstructorTestingTNewInstance) *Instance
NewInstance creates a new instance of Instance. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Instance) ApplyExtrinsic ¶
ApplyExtrinsic provides a mock function with given fields: data
func (*Instance) BabeConfiguration ¶
func (_m *Instance) BabeConfiguration() (*types.BabeConfiguration, error)
BabeConfiguration provides a mock function with given fields:
func (*Instance) CheckInherents ¶
func (_m *Instance) CheckInherents()
CheckInherents provides a mock function with given fields:
func (*Instance) DecodeSessionKeys ¶
DecodeSessionKeys provides a mock function with given fields: enc
func (*Instance) ExecuteBlock ¶
ExecuteBlock provides a mock function with given fields: block
func (*Instance) FinalizeBlock ¶
FinalizeBlock provides a mock function with given fields:
func (*Instance) GenerateSessionKeys ¶
func (_m *Instance) GenerateSessionKeys()
GenerateSessionKeys provides a mock function with given fields:
func (*Instance) GetCodeHash ¶
GetCodeHash provides a mock function with given fields:
func (*Instance) GrandpaAuthorities ¶
GrandpaAuthorities provides a mock function with given fields:
func (*Instance) GrandpaGenerateKeyOwnershipProof ¶ added in v0.8.0
func (_m *Instance) GrandpaGenerateKeyOwnershipProof(authSetID uint64, authorityID ed25519.PublicKeyBytes) (types.GrandpaOpaqueKeyOwnershipProof, error)
GrandpaGenerateKeyOwnershipProof provides a mock function with given fields: authSetID, authorityID
func (*Instance) GrandpaSubmitReportEquivocationUnsignedExtrinsic ¶ added in v0.8.0
func (_m *Instance) GrandpaSubmitReportEquivocationUnsignedExtrinsic(equivocationProof types.GrandpaEquivocationProof, keyOwnershipProof types.GrandpaOpaqueKeyOwnershipProof) error
GrandpaSubmitReportEquivocationUnsignedExtrinsic provides a mock function with given fields: equivocationProof, keyOwnershipProof
func (*Instance) InherentExtrinsics ¶
InherentExtrinsics provides a mock function with given fields: data
func (*Instance) InitializeBlock ¶
InitializeBlock provides a mock function with given fields: header
func (*Instance) Keystore ¶
func (_m *Instance) Keystore() *keystore.GlobalKeystore
Keystore provides a mock function with given fields:
func (*Instance) NetworkService ¶
func (_m *Instance) NetworkService() runtime.BasicNetwork
NetworkService provides a mock function with given fields:
func (*Instance) NodeStorage ¶
func (_m *Instance) NodeStorage() runtime.NodeStorage
NodeStorage provides a mock function with given fields:
func (*Instance) OffchainWorker ¶
func (_m *Instance) OffchainWorker()
OffchainWorker provides a mock function with given fields:
func (*Instance) PaymentQueryInfo ¶
func (_m *Instance) PaymentQueryInfo(ext []byte) (*types.RuntimeDispatchInfo, error)
PaymentQueryInfo provides a mock function with given fields: ext
func (*Instance) RandomSeed ¶
func (_m *Instance) RandomSeed()
RandomSeed provides a mock function with given fields:
func (*Instance) SetContextStorage ¶
SetContextStorage provides a mock function with given fields: s
func (*Instance) UpdateRuntimeCode ¶
UpdateRuntimeCode provides a mock function with given fields: _a0
func (*Instance) ValidateTransaction ¶
ValidateTransaction provides a mock function with given fields: e
type MockInstance ¶ added in v0.8.0
type MockInstance struct {
// contains filtered or unexported fields
}
MockInstance is a mock of Instance interface.
func NewMockInstance ¶ added in v0.8.0
func NewMockInstance(ctrl *gomock.Controller) *MockInstance
NewMockInstance creates a new mock instance.
func (*MockInstance) ApplyExtrinsic ¶ added in v0.8.0
func (m *MockInstance) ApplyExtrinsic(arg0 types.Extrinsic) ([]byte, error)
ApplyExtrinsic mocks base method.
func (*MockInstance) BabeConfiguration ¶ added in v0.8.0
func (m *MockInstance) BabeConfiguration() (*types.BabeConfiguration, error)
BabeConfiguration mocks base method.
func (*MockInstance) BabeGenerateKeyOwnershipProof ¶ added in v0.8.0
func (m *MockInstance) BabeGenerateKeyOwnershipProof(arg0 uint64, arg1 [32]byte) (types.OpaqueKeyOwnershipProof, error)
BabeGenerateKeyOwnershipProof mocks base method.
func (*MockInstance) BabeSubmitReportEquivocationUnsignedExtrinsic ¶ added in v0.8.0
func (m *MockInstance) BabeSubmitReportEquivocationUnsignedExtrinsic(arg0 types.BabeEquivocationProof, arg1 types.OpaqueKeyOwnershipProof) error
BabeSubmitReportEquivocationUnsignedExtrinsic mocks base method.
func (*MockInstance) CheckInherents ¶ added in v0.8.0
func (m *MockInstance) CheckInherents()
CheckInherents mocks base method.
func (*MockInstance) DecodeSessionKeys ¶ added in v0.8.0
func (m *MockInstance) DecodeSessionKeys(arg0 []byte) ([]byte, error)
DecodeSessionKeys mocks base method.
func (*MockInstance) EXPECT ¶ added in v0.8.0
func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstance) Exec ¶ added in v0.8.0
func (m *MockInstance) Exec(arg0 string, arg1 []byte) ([]byte, error)
Exec mocks base method.
func (*MockInstance) ExecuteBlock ¶ added in v0.8.0
func (m *MockInstance) ExecuteBlock(arg0 *types.Block) ([]byte, error)
ExecuteBlock mocks base method.
func (*MockInstance) FinalizeBlock ¶ added in v0.8.0
func (m *MockInstance) FinalizeBlock() (*types.Header, error)
FinalizeBlock mocks base method.
func (*MockInstance) GenerateSessionKeys ¶ added in v0.8.0
func (m *MockInstance) GenerateSessionKeys()
GenerateSessionKeys mocks base method.
func (*MockInstance) GetCodeHash ¶ added in v0.8.0
func (m *MockInstance) GetCodeHash() common.Hash
GetCodeHash mocks base method.
func (*MockInstance) GrandpaAuthorities ¶ added in v0.8.0
func (m *MockInstance) GrandpaAuthorities() ([]types.Authority, error)
GrandpaAuthorities mocks base method.
func (*MockInstance) GrandpaGenerateKeyOwnershipProof ¶ added in v0.8.0
func (m *MockInstance) GrandpaGenerateKeyOwnershipProof(arg0 uint64, arg1 ed25519.PublicKeyBytes) (types.GrandpaOpaqueKeyOwnershipProof, error)
GrandpaGenerateKeyOwnershipProof mocks base method.
func (*MockInstance) GrandpaSubmitReportEquivocationUnsignedExtrinsic ¶ added in v0.8.0
func (m *MockInstance) GrandpaSubmitReportEquivocationUnsignedExtrinsic(arg0 types.GrandpaEquivocationProof, arg1 types.GrandpaOpaqueKeyOwnershipProof) error
GrandpaSubmitReportEquivocationUnsignedExtrinsic mocks base method.
func (*MockInstance) InherentExtrinsics ¶ added in v0.8.0
func (m *MockInstance) InherentExtrinsics(arg0 []byte) ([]byte, error)
InherentExtrinsics mocks base method.
func (*MockInstance) InitializeBlock ¶ added in v0.8.0
func (m *MockInstance) InitializeBlock(arg0 *types.Header) error
InitializeBlock mocks base method.
func (*MockInstance) Keystore ¶ added in v0.8.0
func (m *MockInstance) Keystore() *keystore.GlobalKeystore
Keystore mocks base method.
func (*MockInstance) Metadata ¶ added in v0.8.0
func (m *MockInstance) Metadata() ([]byte, error)
Metadata mocks base method.
func (*MockInstance) NetworkService ¶ added in v0.8.0
func (m *MockInstance) NetworkService() runtime.BasicNetwork
NetworkService mocks base method.
func (*MockInstance) NodeStorage ¶ added in v0.8.0
func (m *MockInstance) NodeStorage() runtime.NodeStorage
NodeStorage mocks base method.
func (*MockInstance) OffchainWorker ¶ added in v0.8.0
func (m *MockInstance) OffchainWorker()
OffchainWorker mocks base method.
func (*MockInstance) PaymentQueryInfo ¶ added in v0.8.0
func (m *MockInstance) PaymentQueryInfo(arg0 []byte) (*types.RuntimeDispatchInfo, error)
PaymentQueryInfo mocks base method.
func (*MockInstance) RandomSeed ¶ added in v0.8.0
func (m *MockInstance) RandomSeed()
RandomSeed mocks base method.
func (*MockInstance) SetContextStorage ¶ added in v0.8.0
func (m *MockInstance) SetContextStorage(arg0 runtime.Storage)
SetContextStorage mocks base method.
func (*MockInstance) ValidateTransaction ¶ added in v0.8.0
func (m *MockInstance) ValidateTransaction(arg0 types.Extrinsic) (*transaction.Validity, error)
ValidateTransaction mocks base method.
func (*MockInstance) Validator ¶ added in v0.8.0
func (m *MockInstance) Validator() bool
Validator mocks base method.
type MockInstanceMockRecorder ¶ added in v0.8.0
type MockInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMockRecorder is the mock recorder for MockInstance.
func (*MockInstanceMockRecorder) ApplyExtrinsic ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) ApplyExtrinsic(arg0 any) *gomock.Call
ApplyExtrinsic indicates an expected call of ApplyExtrinsic.
func (*MockInstanceMockRecorder) BabeConfiguration ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) BabeConfiguration() *gomock.Call
BabeConfiguration indicates an expected call of BabeConfiguration.
func (*MockInstanceMockRecorder) BabeGenerateKeyOwnershipProof ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) BabeGenerateKeyOwnershipProof(arg0, arg1 any) *gomock.Call
BabeGenerateKeyOwnershipProof indicates an expected call of BabeGenerateKeyOwnershipProof.
func (*MockInstanceMockRecorder) BabeSubmitReportEquivocationUnsignedExtrinsic ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) BabeSubmitReportEquivocationUnsignedExtrinsic(arg0, arg1 any) *gomock.Call
BabeSubmitReportEquivocationUnsignedExtrinsic indicates an expected call of BabeSubmitReportEquivocationUnsignedExtrinsic.
func (*MockInstanceMockRecorder) CheckInherents ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) CheckInherents() *gomock.Call
CheckInherents indicates an expected call of CheckInherents.
func (*MockInstanceMockRecorder) DecodeSessionKeys ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) DecodeSessionKeys(arg0 any) *gomock.Call
DecodeSessionKeys indicates an expected call of DecodeSessionKeys.
func (*MockInstanceMockRecorder) Exec ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) Exec(arg0, arg1 any) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockInstanceMockRecorder) ExecuteBlock ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) ExecuteBlock(arg0 any) *gomock.Call
ExecuteBlock indicates an expected call of ExecuteBlock.
func (*MockInstanceMockRecorder) FinalizeBlock ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) FinalizeBlock() *gomock.Call
FinalizeBlock indicates an expected call of FinalizeBlock.
func (*MockInstanceMockRecorder) GenerateSessionKeys ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) GenerateSessionKeys() *gomock.Call
GenerateSessionKeys indicates an expected call of GenerateSessionKeys.
func (*MockInstanceMockRecorder) GetCodeHash ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) GetCodeHash() *gomock.Call
GetCodeHash indicates an expected call of GetCodeHash.
func (*MockInstanceMockRecorder) GrandpaAuthorities ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) GrandpaAuthorities() *gomock.Call
GrandpaAuthorities indicates an expected call of GrandpaAuthorities.
func (*MockInstanceMockRecorder) GrandpaGenerateKeyOwnershipProof ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) GrandpaGenerateKeyOwnershipProof(arg0, arg1 any) *gomock.Call
GrandpaGenerateKeyOwnershipProof indicates an expected call of GrandpaGenerateKeyOwnershipProof.
func (*MockInstanceMockRecorder) GrandpaSubmitReportEquivocationUnsignedExtrinsic ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) GrandpaSubmitReportEquivocationUnsignedExtrinsic(arg0, arg1 any) *gomock.Call
GrandpaSubmitReportEquivocationUnsignedExtrinsic indicates an expected call of GrandpaSubmitReportEquivocationUnsignedExtrinsic.
func (*MockInstanceMockRecorder) InherentExtrinsics ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) InherentExtrinsics(arg0 any) *gomock.Call
InherentExtrinsics indicates an expected call of InherentExtrinsics.
func (*MockInstanceMockRecorder) InitializeBlock ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) InitializeBlock(arg0 any) *gomock.Call
InitializeBlock indicates an expected call of InitializeBlock.
func (*MockInstanceMockRecorder) Keystore ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) Keystore() *gomock.Call
Keystore indicates an expected call of Keystore.
func (*MockInstanceMockRecorder) Metadata ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) Metadata() *gomock.Call
Metadata indicates an expected call of Metadata.
func (*MockInstanceMockRecorder) NetworkService ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) NetworkService() *gomock.Call
NetworkService indicates an expected call of NetworkService.
func (*MockInstanceMockRecorder) NodeStorage ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) NodeStorage() *gomock.Call
NodeStorage indicates an expected call of NodeStorage.
func (*MockInstanceMockRecorder) OffchainWorker ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) OffchainWorker() *gomock.Call
OffchainWorker indicates an expected call of OffchainWorker.
func (*MockInstanceMockRecorder) PaymentQueryInfo ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) PaymentQueryInfo(arg0 any) *gomock.Call
PaymentQueryInfo indicates an expected call of PaymentQueryInfo.
func (*MockInstanceMockRecorder) RandomSeed ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) RandomSeed() *gomock.Call
RandomSeed indicates an expected call of RandomSeed.
func (*MockInstanceMockRecorder) SetContextStorage ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) SetContextStorage(arg0 any) *gomock.Call
SetContextStorage indicates an expected call of SetContextStorage.
func (*MockInstanceMockRecorder) Stop ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockInstanceMockRecorder) ValidateTransaction ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) ValidateTransaction(arg0 any) *gomock.Call
ValidateTransaction indicates an expected call of ValidateTransaction.
func (*MockInstanceMockRecorder) Validator ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) Validator() *gomock.Call
Validator indicates an expected call of Validator.
func (*MockInstanceMockRecorder) Version ¶ added in v0.8.0
func (mr *MockInstanceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
type MockTransactionState ¶ added in v0.8.0
type MockTransactionState struct {
// contains filtered or unexported fields
}
MockTransactionState is a mock of TransactionState interface.
func NewMockTransactionState ¶ added in v0.8.0
func NewMockTransactionState(ctrl *gomock.Controller) *MockTransactionState
NewMockTransactionState creates a new mock instance.
func (*MockTransactionState) AddToPool ¶ added in v0.8.0
func (m *MockTransactionState) AddToPool(arg0 *transaction.ValidTransaction) common.Hash
AddToPool mocks base method.
func (*MockTransactionState) EXPECT ¶ added in v0.8.0
func (m *MockTransactionState) EXPECT() *MockTransactionStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTransactionStateMockRecorder ¶ added in v0.8.0
type MockTransactionStateMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionStateMockRecorder is the mock recorder for MockTransactionState.