Skip to content

Reject a tx with existing nullifier. #1809

@LeilaWang

Description

@LeilaWang

Currently we always add a tx to the pool, and let the sequencer check everything. We can probably do some basic checks in the AztecRPCServer before sending it to the node. Reject a tx immediately if it has a nullifier that's already in a settled tx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-optimisationType: Optimisation. Making something faster / cheaper / smaller

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions