Versions in this module Expand all Collapse all v0 v0.0.2 Nov 13, 2024 v0.0.1 Nov 6, 2024 Changes in this version + type DummyVM struct + func (*DummyVM) Close() error + func (*DummyVM) GasScheduleChange(newGasSchedule map[string]map[string]uint64) + func (*DummyVM) GetGasTrace() map[string]map[string][]uint64 + func (*DummyVM) GetVersion() string + func (*DummyVM) IsInterfaceNil() bool + func (*DummyVM) Reset() + func (*DummyVM) RunSmartContractCall(input *vmcommon.ContractCallInput) (*vmcommon.VMOutput, error) + func (*DummyVM) RunSmartContractCreate(input *vmcommon.ContractCreateInput) (*vmcommon.VMOutput, error) + func (*DummyVM) SetGasTracing(enableGasTracing bool) + type DummyVMBuilder struct + func (*DummyVMBuilder) GasScheduleMapFromScenarios(scenGasSchedule scenmodel.GasSchedule) (worldmock.GasScheduleMap, error) + func (*DummyVMBuilder) GetVMType() []byte + func (*DummyVMBuilder) NewMockWorld() *worldmock.MockWorld + func (*DummyVMBuilder) NewVM(world *worldmock.MockWorld, gasSchedule map[string]map[string]uint64) (scenarioexec.VMInterface, error) + type ScenariosTestBuilder struct + func ScenariosTest(t *testing.T) *ScenariosTestBuilder + func (mtb *ScenariosTestBuilder) CheckNoError() *ScenariosTestBuilder + func (mtb *ScenariosTestBuilder) Exclude(path string) *ScenariosTestBuilder + func (mtb *ScenariosTestBuilder) File(fileName string) *ScenariosTestBuilder + func (mtb *ScenariosTestBuilder) Folder(folder string) *ScenariosTestBuilder + func (mtb *ScenariosTestBuilder) RequireError(expectedErrorMsg string) *ScenariosTestBuilder + func (mtb *ScenariosTestBuilder) Run() *ScenariosTestBuilder