Skip to content

Conversation

@gbotrel
Copy link
Collaborator

@gbotrel gbotrel commented Nov 16, 2023

Mostly, some refactor and fix #918 .

  • refactor: remove hintwithname
  • fix: in test engine, commit should not return 0 with tiny field
  • style: remove some dead code

Copy link
Collaborator

@ivokub ivokub left a comment

Choose a reason for hiding this comment

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

Looks good. There is imo one typo, but it should be noop.

in = in[1:]
privateCommittedValues[i] = make([]fr.Element, len(commitmentInfo[i].PrivateCommitted))
hashed := in[:len(commitmentInfo[i].PublicAndCommitmentCommitted)]
committed := in[+len(hashed):]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Excessive +

@gbotrel gbotrel merged commit 2858476 into master Nov 17, 2023
@ivokub ivokub deleted the refactor/nohintwithname branch November 22, 2023 21:31
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.

bug: TestCommitment fails

3 participants