diff --git a/integrationTests/json/scenariosFeatures_test.go b/integrationTests/json/scenariosFeatures_test.go index 2a1240258..bea69be2f 100644 --- a/integrationTests/json/scenariosFeatures_test.go +++ b/integrationTests/json/scenariosFeatures_test.go @@ -97,14 +97,6 @@ func TestRustPromisesFeatures(t *testing.T) { CheckNoError() } -// TODO: debug, then delete -func TestRustPromisesFeaturesDebug(t *testing.T) { - ScenariosTest(t). - Folder("features/composability/scenarios-promises/promises_call_async_retrieve_egld.scen.json"). - Run(). - CheckNoError() -} - func TestRustFormattedMessageFeatures(t *testing.T) { ScenariosTest(t). Folder("features/formatted-message-features/scenarios"). diff --git a/vmhost/hostCore/execution.go b/vmhost/hostCore/execution.go index 64aded75b..3e21ce743 100644 --- a/vmhost/hostCore/execution.go +++ b/vmhost/hostCore/execution.go @@ -819,7 +819,7 @@ func (host *vmHost) executeUpgrade(input *vmcommon.ContractCallInput) error { return vmhost.ErrContractInvalid } - err = host.callInitFunction() + err = host.callUpgradeFunction() if err != nil { return err }