Documentation ¶
Index ¶
- type BootstrapProcedureOption
- type Option
- type Procedure
- func (_m *Procedure) ComputationLimit(ctx fvm.Context) uint64
- func (_m *Procedure) ExecutionTime() logical.Time
- func (_m *Procedure) MemoryLimit(ctx fvm.Context) uint64
- func (_m *Procedure) NewExecutor(ctx fvm.Context, txnState storage.TransactionPreparer) fvm.ProcedureExecutor
- func (_m *Procedure) ShouldDisableMemoryAndInteractionLimits(ctx fvm.Context) bool
- func (_m *Procedure) Type() fvm.ProcedureType
- type ProcedureExecutor
- type VM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapProcedureOption ¶ added in v0.26.1
BootstrapProcedureOption is an autogenerated mock type for the BootstrapProcedureOption type
func NewBootstrapProcedureOption ¶ added in v0.26.1
func NewBootstrapProcedureOption(t interface { mock.TestingT Cleanup(func()) }) *BootstrapProcedureOption
NewBootstrapProcedureOption creates a new instance of BootstrapProcedureOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BootstrapProcedureOption) Execute ¶ added in v0.26.1
func (_m *BootstrapProcedureOption) Execute(_a0 *fvm.BootstrapProcedure) *fvm.BootstrapProcedure
Execute provides a mock function with given fields: _a0
type Option ¶ added in v0.26.1
Option is an autogenerated mock type for the Option type
type Procedure ¶
Procedure is an autogenerated mock type for the Procedure type
func NewProcedure ¶ added in v0.26.1
NewProcedure creates a new instance of Procedure. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Procedure) ComputationLimit ¶ added in v0.25.2
ComputationLimit provides a mock function with given fields: ctx
func (*Procedure) ExecutionTime ¶ added in v0.28.0
ExecutionTime provides a mock function with given fields:
func (*Procedure) MemoryLimit ¶ added in v0.25.2
MemoryLimit provides a mock function with given fields: ctx
func (*Procedure) NewExecutor ¶ added in v0.30.0
func (_m *Procedure) NewExecutor(ctx fvm.Context, txnState storage.TransactionPreparer) fvm.ProcedureExecutor
NewExecutor provides a mock function with given fields: ctx, txnState
func (*Procedure) ShouldDisableMemoryAndInteractionLimits ¶ added in v0.28.0
ShouldDisableMemoryAndInteractionLimits provides a mock function with given fields: ctx
func (*Procedure) Type ¶ added in v0.28.0
func (_m *Procedure) Type() fvm.ProcedureType
Type provides a mock function with given fields:
type ProcedureExecutor ¶ added in v0.30.0
ProcedureExecutor is an autogenerated mock type for the ProcedureExecutor type
func NewProcedureExecutor ¶ added in v0.30.0
func NewProcedureExecutor(t interface { mock.TestingT Cleanup(func()) }) *ProcedureExecutor
NewProcedureExecutor creates a new instance of ProcedureExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProcedureExecutor) Cleanup ¶ added in v0.30.0
func (_m *ProcedureExecutor) Cleanup()
Cleanup provides a mock function with given fields:
func (*ProcedureExecutor) Execute ¶ added in v0.30.0
func (_m *ProcedureExecutor) Execute() error
Execute provides a mock function with given fields:
func (*ProcedureExecutor) Output ¶ added in v0.30.0
func (_m *ProcedureExecutor) Output() fvm.ProcedureOutput
Output provides a mock function with given fields:
func (*ProcedureExecutor) Preprocess ¶ added in v0.30.0
func (_m *ProcedureExecutor) Preprocess() error
Preprocess provides a mock function with given fields:
type VM ¶ added in v0.30.0
VM is an autogenerated mock type for the VM type
func NewVM ¶ added in v0.30.0
NewVM creates a new instance of VM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VM) NewExecutor ¶ added in v0.31.0
func (_m *VM) NewExecutor(_a0 fvm.Context, _a1 fvm.Procedure, _a2 storage.TransactionPreparer) fvm.ProcedureExecutor
NewExecutor provides a mock function with given fields: _a0, _a1, _a2
func (*VM) Run ¶ added in v0.30.0
func (_m *VM) Run(_a0 fvm.Context, _a1 fvm.Procedure, _a2 snapshot.StorageSnapshot) (*snapshot.ExecutionSnapshot, fvm.ProcedureOutput, error)
Run provides a mock function with given fields: _a0, _a1, _a2