Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@janmasrovira
Copy link
Collaborator

@janmasrovira janmasrovira self-assigned this Jul 29, 2025
@janmasrovira janmasrovira marked this pull request as ready for review July 29, 2025 15:06
@janmasrovira janmasrovira mentioned this pull request Jul 31, 2025
{ object := {newObj with nullifierKeyCommitment := Anoma.NullifierKeyCommitment.universal}
{ object := newObj
ephemeral := true
key := Anoma.NullifierKey.universal }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't we remove the key field from ConsumableObject if it's always universal anyway?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not done for ConsumableObject, only for Object

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've removed the key field from ConsumableObjects and replaced all references to Universal

@janmasrovira janmasrovira requested a review from lukaszcz August 4, 2025 14:16
lukaszcz
lukaszcz previously approved these changes Aug 4, 2025
Copy link
Collaborator

@lukaszcz lukaszcz left a comment

Choose a reason for hiding this comment

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

.

@lukaszcz lukaszcz merged commit e18692a into main Aug 4, 2025
2 checks passed
@lukaszcz lukaszcz deleted the hide-nfc branch August 4, 2025 15:41
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.

Don't expose nullifierKeyCommitment directly to the user

3 participants