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

improve note commitment #233

Merged
merged 2 commits into from
Nov 2, 2023
Merged

improve note commitment #233

merged 2 commits into from
Nov 2, 2023

Conversation

XuyangSong
Copy link
Collaborator

  • compose is_merkle_checked and value to save one Poseidon absorb in note commitment(composition = value + (2^128) * is_merkle_checked)
  • add boolean constraints on is_merkle_checked
  • add value(quantity) range check(64bits) by lookup table

@XuyangSong XuyangSong merged commit bb3b3bc into main Nov 2, 2023
6 checks passed
@XuyangSong XuyangSong deleted the xuyang/compose_note_commitment branch November 2, 2023 11:28
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