Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TAdev0 committed Jun 28, 2024
1 parent a080095 commit fe88a4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/hintrunner/zero/zerohint_keccak.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@ func newCompareKeccakFullRateInBytesHint(nBytes hinter.ResOperander) hinter.Hint
Name: "CompareKeccakFullRateInBytes",
Op: func(vm *VM.VirtualMachine, _ *hinter.HintRunnerContext) error {
//> ids.n_bytes >= ids.KECCAK_FULL_RATE_IN_BYTES

// n_bytes should fit into a uint64
// we cannot 100% exclude the possibility that it doesn't
nBytesVal, err := hinter.ResolveAsUint64(vm, nBytes)
if err != nil {
return err
Expand Down

0 comments on commit fe88a4b

Please sign in to comment.