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

crypto(zk): add rounding down to U128x128Var #2617

Merged
merged 2 commits into from
May 22, 2023
Merged

Conversation

redshiftzero
Copy link
Member

@redshiftzero redshiftzero commented May 22, 2023

We round down in the batch swap pro rata output calculation, so need to be able to do so in R1CS

@redshiftzero redshiftzero temporarily deployed to smoke-test May 22, 2023 15:21 — with GitHub Actions Inactive
@redshiftzero redshiftzero merged commit 38d4208 into main May 22, 2023
@redshiftzero redshiftzero deleted the u128-round-down branch May 22, 2023 15:44
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.

1 participant