Skip to content

Nuke NoteIntreface::compute_note_hash_and_nullifier_without_context(...) #7127

@benesjan

Description

@benesjan

Now that we have UnconstrainedContext it should be possible to nuke compute_note_hash_and_nullifier_without_context from note interface and just have compute_note_hash_and_nullifier. Note that it will be necessary to come up with a ContextTrait:

- fn compute_note_hash_and_nullifier(self, context: &mut PrivateContext) -> (Field, Field);
+ fn compute_note_hash_and_nullifier(self, context: &mut ContextTrait) -> (Field, Field);

Note: Wait for this slack discussion to resolve before tackling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions