Skip to content

Replace AztecU128 with the U128 struct in Noir's stdlib #3946

@kevaundray

Description

@kevaundray

## Problem

These two structs serve roughly the same purpose. The Aztec version was made just for type safety reasons, so it doesn't apply the necessary constraints.

## Solution

Replace usage of Aztec's version of U128 with Noir's. This will likely reduce performance by some delta given that Noirs version uses two u64s and Aztec's version uses a Field.

We can make the transition smoother by adding from_field to Noir's version of U128

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions