AztecProtocol / aztec-packages

Apache License 2.0
210 stars 243 forks source link

fix: generate noir artifacts deterministically #4871

Open olehmisar opened 9 months ago

olehmisar commented 9 months ago

with latest nargo (0.23), every compilation produces a Contract.json file with randomly ordered functions. It creates large diffs on after each compilation(see screenshot). I'd suggest using a deterministic JSON serializer to avoid this behaviour. image

also, generate typescript artifacts deterministically as well (aztec-cli codegen) image

olehmisar commented 2 months ago

typescript artifacts are now generated deterministically #8267