Skip to content
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

Merged
merged 34 commits into from
Mar 27, 2025
Merged

Conversation

Trivo25
Copy link
Member

@Trivo25 Trivo25 commented Mar 17, 2025

@@ -406,6 +407,19 @@ function equals(x: Field3, c: bigint, f: bigint) {
}
}

// Field3 equality
function assertEquals(x: Field3, y: Field3) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cherry picked from #1949

Copy link
Member

@querolita querolita left a 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.

@Trivo25 Trivo25 merged commit f3f5220 into main Mar 27, 2025
30 checks passed
@Trivo25 Trivo25 deleted the export-util-functions branch March 27, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

export parts of the bindings through o1js
4 participants