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

feat: Sync from aztec-packages #4465

Merged
merged 18 commits into from
Mar 5, 2024
Merged

feat: Sync from aztec-packages #4465

merged 18 commits into from
Mar 5, 2024

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 1, 2024

BEGIN_COMMIT_OVERRIDE
feat!: Internal as a macro (AztecProtocol/aztec-packages#4898)
chore: remove import of dep::aztec from aztec_macros (AztecProtocol/aztec-packages#4941)
fix: noir test incorrect reporting (AztecProtocol/aztec-packages#4925)
END_COMMIT_OVERRIDE

TomAFrench and others added 2 commits March 4, 2024 18:39
* master:
  chore: export `report_errors` from `nargo` (#4461)
  feat: add option to set max memory for bb.js (#4227)
  feat: backpropagate constants in ACIR during optimization (#3926)
  feat: skip redundant range checks in brillig (#4460)
  fix: Variables from trait constraints being permanently bound over when used within a trait impl (#4450)
  feat: Add overflow and underflow checks for unsigned integers in brillig (#4445)
  fix(flake): stop flake.nix removing ignored-tests.txt (#4455)
  fix: build noir_codegen when publishing (#4448)
  chore: only ignore Nargo.toml in `test_programs` directory and not su… (#4451)
  chore: create parser specifically for function visibility (#4425)
  chore: Document BoundedVec (#4430)
  chore: split up parser into separate files for code organisation (#4420)
  feat: Sync from aztec-packages (#4444)
  chore!: reserve `unchecked` keyword (#4432)
  chore: address code review comments of PR4398 (#4435)
  feat: Sync from aztec-packages (#4439)
  feat: Sync from aztec-packages (#4438)
This import is unnecessary as we can just use the full path to the
various items we're using from `dep:aztec`
This import is unnecessary as we can just use the full path to the
various items we're using from `dep:aztec`
* Get rid of `boxes-files` job as unbox command was removed from
aztec-cli.
* Get rid of `yarn-project-base`. Attempting to skip dependency
downloads was a bit of a false economy and was quite a bit of
complication.
* `ecr_login` more explicitly, rather than every time we call
`extract_repo`.
* We flatten the yarn-project jobs a bit. This means we do repeat work
(bootstrapping), but can better parallelise jobs.
* Remove all `.dockerignore` files from the repo, and ignore them from
git. Instead we compute the file from git when building in CI or using
`bootstrap_docker.sh`. This is much less error prone, and means when
testing building images locally we're getting the same as in CI. New
script is `create_docker_ignore`.
* Add `--platform=linux/amd` in some `FROM` directives where arch
doesn't matter, to improve fast bootstrap on arm systems.
* `build_local` logs into ecr just once.
* Add `[ci no-term <repo>]` option which allows connection to aws build
instances for debugging. (They still get reaped after 20m).
* Remove `l1-contracts` installing submodule deps in dockerfile. It's
expected this to have been done before building the image by the
build-system.
* Remove `end-to-end/scripts/docker-compose-browser.yml` and start
script, seems this was a workaround from some alpine build stuff, but we
just build using ubuntu now.
* Remove `unlimited` from number of jobs. Having this actually crashed
my mac when running the tests. By default we still use half the cores,
which is fine as each test suite runs tests in parallel as well.
* Get rid of `boxes-files` job as unbox command was removed from
aztec-cli.
* Get rid of `yarn-project-base`. Attempting to skip dependency
downloads was a bit of a false economy and was quite a bit of
complication.
* `ecr_login` more explicitly, rather than every time we call
`extract_repo`.
* We flatten the yarn-project jobs a bit. This means we do repeat work
(bootstrapping), but can better parallelise jobs.
* Remove all `.dockerignore` files from the repo, and ignore them from
git. Instead we compute the file from git when building in CI or using
`bootstrap_docker.sh`. This is much less error prone, and means when
testing building images locally we're getting the same as in CI. New
script is `create_docker_ignore`.
* Add `--platform=linux/amd` in some `FROM` directives where arch
doesn't matter, to improve fast bootstrap on arm systems.
* `build_local` logs into ecr just once.
* Add `[ci no-term <repo>]` option which allows connection to aws build
instances for debugging. (They still get reaped after 20m).
* Remove `l1-contracts` installing submodule deps in dockerfile. It's
expected this to have been done before building the image by the
build-system.
* Remove `end-to-end/scripts/docker-compose-browser.yml` and start
script, seems this was a workaround from some alpine build stuff, but we
just build using ubuntu now.
* Remove `unlimited` from number of jobs. Having this actually crashed
my mac when running the tests. By default we still use half the cores,
which is fine as each test suite runs tests in parallel as well.
TomAFrench and others added 6 commits March 5, 2024 11:18
Implement internal functions as a macro. Internal functions are now
written with an `aztec(internal)` decorator as opposed to the `internal`
keyword.

---------

Co-authored-by: Tom French <tom@tomfren.ch>
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Implement internal functions as a macro. Internal functions are now
written with an `aztec(internal)` decorator as opposed to the `internal`
keyword.

---------

Co-authored-by: Tom French <tom@tomfren.ch>
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
@TomAFrench TomAFrench disabled auto-merge March 5, 2024 14:37
@TomAFrench TomAFrench merged commit 5f57ebb into master Mar 5, 2024
43 checks passed
TomAFrench added a commit that referenced this pull request Mar 5, 2024
* master:
  feat: Sync from aztec-packages (#4465)
  feat: Add eddsa_poseidon_to_pub function to stdlib with test + docs (#4473)
  chore(deps): bump mio from 0.8.10 to 0.8.11 (#4478)
  chore: Capitalize containers section in docs (#4471)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants