Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: generate noir artifacts deterministically #4871

Open
olehmisar opened this issue Feb 29, 2024 · 1 comment
Open

fix: generate noir artifacts deterministically #4871

olehmisar opened this issue Feb 29, 2024 · 1 comment

Comments

@olehmisar
Copy link
Contributor

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
Copy link
Contributor Author

typescript artifacts are now generated deterministically #8267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant