-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export more utility and bindings functions #2083
Conversation
@@ -406,6 +407,19 @@ function equals(x: Field3, c: bigint, f: bigint) { | |||
} | |||
} | |||
|
|||
// Field3 equality | |||
function assertEquals(x: Field3, y: Field3) { |
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.
cherry picked from #1949
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.
I limited the use of toProvableBytes
to prevent the issue pointed out by @mitschabaude . Also added some comments and extended docs.
see o1-labs/o1js-bindings#345
closes #2082