Skip to content

Implement less than checks in snark #19

@barryWhiteHat

Description

@barryWhiteHat

In circom <= and <= are not grater than and less than checks they do not create constraints.

Therefore https://github.com/barryWhiteHat/RollupNC/blob/master/tokens_transfer/tokens_transfer.circom#L88 checks are not enforced.

We would need to build a circuit to do the >= check which would work with binary decomposition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions