Documentation ¶
Index ¶
- type ComputationManager
- func (_m *ComputationManager) ComputeBlock(ctx context.Context, block *entity.ExecutableBlock, view state.View) (*execution.ComputationResult, error)
- func (_m *ComputationManager) ExecuteScript(_a0 context.Context, _a1 []byte, _a2 [][]byte, _a3 *flow.Header, ...) ([]byte, error)
- func (_m *ComputationManager) GetAccount(addr flow.Address, header *flow.Header, view state.View) (*flow.Account, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputationManager ¶
ComputationManager is an autogenerated mock type for the ComputationManager type
func NewComputationManager ¶ added in v0.26.1
func NewComputationManager(t mockConstructorTestingTNewComputationManager) *ComputationManager
NewComputationManager creates a new instance of ComputationManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ComputationManager) ComputeBlock ¶
func (_m *ComputationManager) ComputeBlock(ctx context.Context, block *entity.ExecutableBlock, view state.View) (*execution.ComputationResult, error)
ComputeBlock provides a mock function with given fields: ctx, block, view
Click to show internal directories.
Click to hide internal directories.