Skip to content

Commit 1ccc655

Browse files
committed
delete debug line
1 parent f5c5080 commit 1ccc655

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

vmhost/contexts/runtime.go

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ import (
44
"bytes"
55
"errors"
66
"fmt"
7-
builtinMath "math"
8-
"math/big"
9-
"runtime/debug"
10-
117
"github.com/multiversx/mx-chain-core-go/core/check"
128
logger "github.com/multiversx/mx-chain-logger-go"
139
vmcommon "github.com/multiversx/mx-chain-vm-common-go"
1410
"github.com/multiversx/mx-chain-vm-go/executor"
1511
"github.com/multiversx/mx-chain-vm-go/vmhost"
12+
builtinMath "math"
13+
"math/big"
1614
)
1715

1816
var logRuntime = logger.GetOrCreate("vm/runtime")
@@ -633,11 +631,6 @@ func (context *runtimeContext) SignalUserError(message string) {
633631
// immediately stopping the contract execution.
634632
func (context *runtimeContext) SetRuntimeBreakpointValue(value vmhost.BreakpointValue) {
635633
context.iTracker.Instance().SetBreakpointValue(uint64(value))
636-
637-
if value == vmhost.BreakpointOutOfGas {
638-
debug.PrintStack()
639-
}
640-
641634
logRuntime.Trace("runtime breakpoint set", "breakpoint", value)
642635
}
643636

0 commit comments

Comments
 (0)