@@ -768,7 +768,6 @@ func opCall(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byt
768
768
}
769
769
stack .Push (& temp )
770
770
if err == nil || err == ErrExecutionReverted {
771
- ret = libcommon .CopyBytes (ret )
772
771
scope .Memory .Set (retOffset .Uint64 (), retSize .Uint64 (), ret )
773
772
}
774
773
@@ -802,7 +801,6 @@ func opCallCode(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([
802
801
}
803
802
stack .Push (& temp )
804
803
if err == nil || err == ErrExecutionReverted {
805
- ret = libcommon .CopyBytes (ret )
806
804
scope .Memory .Set (retOffset .Uint64 (), retSize .Uint64 (), ret )
807
805
}
808
806
@@ -832,7 +830,6 @@ func opDelegateCall(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext
832
830
}
833
831
stack .Push (& temp )
834
832
if err == nil || err == ErrExecutionReverted {
835
- ret = libcommon .CopyBytes (ret )
836
833
scope .Memory .Set (retOffset .Uint64 (), retSize .Uint64 (), ret )
837
834
}
838
835
@@ -862,7 +859,6 @@ func opStaticCall(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext)
862
859
}
863
860
stack .Push (& temp )
864
861
if err == nil || err == ErrExecutionReverted {
865
- ret = libcommon .CopyBytes (ret )
866
862
scope .Memory .Set (retOffset .Uint64 (), retSize .Uint64 (), ret )
867
863
}
868
864
0 commit comments