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)) }