Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockComputer ¶
BlockComputer is an autogenerated mock type for the BlockComputer type
func NewBlockComputer ¶ added in v0.26.1
func NewBlockComputer(t mockConstructorTestingTNewBlockComputer) *BlockComputer
NewBlockComputer creates a new instance of BlockComputer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BlockComputer) ExecuteBlock ¶
func (_m *BlockComputer) ExecuteBlock(_a0 context.Context, _a1 *entity.ExecutableBlock, _a2 state.View, _a3 *programs.Programs) (*execution.ComputationResult, error)
ExecuteBlock provides a mock function with given fields: _a0, _a1, _a2, _a3
type ViewCommitter ¶ added in v0.16.0
ViewCommitter is an autogenerated mock type for the ViewCommitter type
func NewViewCommitter ¶ added in v0.26.1
func NewViewCommitter(t mockConstructorTestingTNewViewCommitter) *ViewCommitter
NewViewCommitter creates a new instance of ViewCommitter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ViewCommitter) CommitView ¶ added in v0.16.0
func (_m *ViewCommitter) CommitView(_a0 state.View, _a1 flow.StateCommitment) (flow.StateCommitment, []byte, *ledger.TrieUpdate, error)
CommitView provides a mock function with given fields: _a0, _a1
type VirtualMachine ¶
VirtualMachine is an autogenerated mock type for the VirtualMachine type
func NewVirtualMachine ¶ added in v0.26.1
func NewVirtualMachine(t mockConstructorTestingTNewVirtualMachine) *VirtualMachine
NewVirtualMachine creates a new instance of VirtualMachine. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.