Skip to content

Commit

Permalink
Merge branch 'main' into eval_circuit_hint
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksymMalicki authored Sep 5, 2024
2 parents 024b7ab + 4e05778 commit b6ba156
Show file tree
Hide file tree
Showing 23 changed files with 742 additions and 810 deletions.
6 changes: 3 additions & 3 deletions pkg/hintrunner/core/cairo_hintparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/consensys/gnark-crypto/ecc/stark-curve/fp"
)

func parseCellRefer(cr starknet.CellRef) hinter.CellRefer {
func parseCellRefer(cr starknet.CellRef) hinter.Reference {
switch cr.Register {
case starknet.AP:
return hinter.ApCellRef(cr.Offset)
Expand Down Expand Up @@ -49,7 +49,7 @@ func parseBinOp(ro starknet.ResOperand) hinter.BinaryOp {
a := hinter.Deref{
Deref: parseCellRefer(binOp.A),
}
var b hinter.ResOperander = nil
var b hinter.Reference = nil
switch binOp.B.Inner.(type) {
case *starknet.Deref:
b = &hinter.Deref{
Expand All @@ -74,7 +74,7 @@ func parseBinOp(ro starknet.ResOperand) hinter.BinaryOp {
}
}

func parseResOperand(ro starknet.ResOperand) hinter.ResOperander {
func parseResOperand(ro starknet.ResOperand) hinter.Reference {
switch ro.Name {
case starknet.DerefName:
return parseDeref(ro)
Expand Down
Loading

0 comments on commit b6ba156

Please sign in to comment.