AztecProtocol / aztec-packages

Apache License 2.0
184 stars 184 forks source link

fix: generate noir artifacts deterministically #4871

Open olehmisar opened 7 months ago

olehmisar commented 7 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 6 days ago

typescript artifacts are now generated deterministically #8267