-
Notifications
You must be signed in to change notification settings - Fork 125
Conversation
3e47d2e
to
dfa9da6
Compare
Haven't looked into all the changes in detail, but the changes look very good! Will look more closely tomorrow. |
dfa9da6
to
08f3d46
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Mentioned some potential optimisation points for reducing the column number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
I think one thing that is missing is byte lookups to ensure that all bytes are in the [0,255] range? Both in the anchor circuit and the sign_verify circuit.
Created a PR with some other misc changes to mainly add some extra comments: #116
e960000
to
3622cbd
Compare
3622cbd
to
385f06c
Compare
); | ||
|
||
// Range constraint all bytes | ||
meta.lookup_any("ensure all bytes are actually byte values", |meta| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just simplified this one so the lookup is always done. This is fine because the column is always used to store just byte values, or is not used in which case it just stores 0
.
https://www.notion.so/taikoxyz/Anchor-Circuit-code-review-helper-33d8cf27522443d7b05251c2c72ea991?pvs=4