From f614d9d16b5cfc120660bfdc776ba1da9c0eceb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Wed, 30 Oct 2024 08:57:09 -0700 Subject: [PATCH] update mocks --- fvm/environment/mock/environment.go | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/fvm/environment/mock/environment.go b/fvm/environment/mock/environment.go index 7f3293a1cf3..a616d06e361 100644 --- a/fvm/environment/mock/environment.go +++ b/fvm/environment/mock/environment.go @@ -1365,6 +1365,34 @@ func (_m *Environment) MeterMemory(usage common.MemoryUsage) error { return r0 } +// MinimumRequiredVersion provides a mock function with given fields: +func (_m *Environment) MinimumRequiredVersion() (string, error) { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for MinimumRequiredVersion") + } + + var r0 string + var r1 error + if rf, ok := ret.Get(0).(func() (string, error)); ok { + return rf() + } + if rf, ok := ret.Get(0).(func() string); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(string) + } + + if rf, ok := ret.Get(1).(func() error); ok { + r1 = rf() + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ProgramLog provides a mock function with given fields: _a0 func (_m *Environment) ProgramLog(_a0 string) error { ret := _m.Called(_a0)