From d34b0f25055b1323cd208a57fa7745103ca6d328 Mon Sep 17 00:00:00 2001 From: Milton Date: Fri, 29 Sep 2023 08:33:14 -0300 Subject: [PATCH] Delete debug info --- pkg/hints/bigint_hint.go | 4 +--- pkg/hints/bigint_hint_test.go | 7 ------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/pkg/hints/bigint_hint.go b/pkg/hints/bigint_hint.go index b1d04a6f..d29a5817 100644 --- a/pkg/hints/bigint_hint.go +++ b/pkg/hints/bigint_hint.go @@ -2,7 +2,6 @@ package hints import ( "errors" - "fmt" "math/big" . "github.com/lambdaclass/cairo-vm.go/pkg/hints/hint_utils" @@ -171,16 +170,15 @@ func bigintPackDivMod(vm *VirtualMachine, execScopes *ExecutionScopes, idsData I if err != nil { return err } + x1 := x yUnpacked, err := BigInt3FromVarName("y", idsData, vm) if err != nil { return err } - x1 := x y := yUnpacked.Pack86() res, _ := math_utils.DivMod(&x1, &y, &p) - fmt.Println("x", x.Text(10)) execScopes.AssignOrUpdateVariable("res", *res) execScopes.AssignOrUpdateVariable("value", *res) diff --git a/pkg/hints/bigint_hint_test.go b/pkg/hints/bigint_hint_test.go index b9c15184..00be7132 100644 --- a/pkg/hints/bigint_hint_test.go +++ b/pkg/hints/bigint_hint_test.go @@ -1,7 +1,6 @@ package hints_test import ( - "fmt" "math/big" "testing" @@ -235,12 +234,6 @@ func TestBigintPackDivModHint(t *testing.T) { } p := pu.(big.Int) - fmt.Println("") - fmt.Println("") - fmt.Println("") - fmt.Println("") - fmt.Println("") - fmt.Println("") if res.Cmp(expected) != 0 { t.Errorf("incorrect res expected: %s, got: %s", expected.Text(10), res.Text(10)) }