-
Notifications
You must be signed in to change notification settings - Fork 236
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
refactor: replace usage of GrumpkinPoint
with EmbeddedCurvePoint
#7382
refactor: replace usage of GrumpkinPoint
with EmbeddedCurvePoint
#7382
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
GrumpkinPoint
with EmbeddedCurvePoint
0fb6dbe
to
5b0cc5f
Compare
Changes to circuit sizes
🧾 Summary (100% most significant diffs)
Full diff report 👇
|
7607ae2
to
abc5bde
Compare
Benchmark resultsMetrics with a significant change:
Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Proof generationEach column represents the number of threads used in proof generation.
L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 8 txs.
Circuits statsStats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.
Stats on running time collected for app circuits
AVM SimulationTime to simulate various public functions in the AVM.
Public DB AccessTime to access various public DBs.
Tree insertion statsThe duration to insert a fixed batch of leaves into each tree type.
MiscellaneousTransaction sizes based on how many contract classes are registered in the tx.
Transaction size based on fee payment method | Metric | | |
df950c6
to
700a8d4
Compare
700a8d4
to
5c59713
Compare
5c59713
to
4978dae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool, nice change. Thanks for the unrelated cleanup too 🙏
4978dae
to
79bd1a2
Compare
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-package: 0.46.1</summary> ## [0.46.1](aztec-package-v0.46.0...aztec-package-v0.46.1) (2024-07-10) ### Miscellaneous * **aztec-package:** Synchronize aztec-packages versions </details> <details><summary>barretenberg.js: 0.46.1</summary> ## [0.46.1](barretenberg.js-v0.46.0...barretenberg.js-v0.46.1) (2024-07-10) ### Miscellaneous * **barretenberg.js:** Synchronize aztec-packages versions </details> <details><summary>aztec-packages: 0.46.1</summary> ## [0.46.1](aztec-packages-v0.46.0...aztec-packages-v0.46.1) (2024-07-10) ### Features * Apply `no_predicates` in stdlib (noir-lang/noir#5454) ([6237d96](6237d96)) * Lsp rename/find-all-references for globals (noir-lang/noir#5415) ([6237d96](6237d96)) * Lsp rename/find-all-references for local variables (noir-lang/noir#5439) ([6237d96](6237d96)) * Remove duplicated array reads at constant indices (noir-lang/noir#5445) ([6237d96](6237d96)) * Remove redundant `EnableSideEffects` instructions (noir-lang/noir#5440) ([6237d96](6237d96)) ### Bug Fixes * Account for the expected kind when resolving turbofish generics (noir-lang/noir#5448) ([6237d96](6237d96)) * Added bb to noir-projects deps ([#7412](#7412)) ([6d3ed3a](6d3ed3a)) * Fix issue with unresolved results (noir-lang/noir#5453) ([6237d96](6237d96)) * Prevent `no_predicates` from removing predicates in calling function (noir-lang/noir#5452) ([6237d96](6237d96)) ### Miscellaneous * Replace relative paths to noir-protocol-circuits ([db45302](db45302)) * Replace usage of `GrumpkinPoint` with `EmbeddedCurvePoint` ([#7382](#7382)) ([5279695](5279695)) * Replace usage of `GrumpkinPrivateKey` with `EmbeddedCurveScalar` ([#7384](#7384)) ([a917198](a917198)) </details> <details><summary>barretenberg: 0.46.1</summary> ## [0.46.1](barretenberg-v0.46.0...barretenberg-v0.46.1) (2024-07-10) ### Miscellaneous * **barretenberg:** Synchronize aztec-packages versions </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Automated pull of Noir development from [aztec-packages](https://github.com/AztecProtocol/aztec-packages). BEGIN_COMMIT_OVERRIDE feat: Sync from noir (AztecProtocol/aztec-packages#7400) refactor: replace usage of `GrumpkinPrivateKey` with `EmbeddedCurveScalar` (AztecProtocol/aztec-packages#7384) refactor: replace usage of `GrumpkinPoint` with `EmbeddedCurvePoint` (AztecProtocol/aztec-packages#7382) feat: Sync from noir (AztecProtocol/aztec-packages#7392) feat!: constant inputs for blackbox (AztecProtocol/aztec-packages#7222) END_COMMIT_OVERRIDE --------- Co-authored-by: Tom French <[email protected]> Co-authored-by: Tom French <[email protected]>
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-package: 0.46.1</summary> ## [0.46.1](AztecProtocol/aztec-packages@aztec-package-v0.46.0...aztec-package-v0.46.1) (2024-07-10) ### Miscellaneous * **aztec-package:** Synchronize aztec-packages versions </details> <details><summary>barretenberg.js: 0.46.1</summary> ## [0.46.1](AztecProtocol/aztec-packages@barretenberg.js-v0.46.0...barretenberg.js-v0.46.1) (2024-07-10) ### Miscellaneous * **barretenberg.js:** Synchronize aztec-packages versions </details> <details><summary>aztec-packages: 0.46.1</summary> ## [0.46.1](AztecProtocol/aztec-packages@aztec-packages-v0.46.0...aztec-packages-v0.46.1) (2024-07-10) ### Features * Apply `no_predicates` in stdlib (noir-lang/noir#5454) ([6237d96](AztecProtocol/aztec-packages@6237d96)) * Lsp rename/find-all-references for globals (noir-lang/noir#5415) ([6237d96](AztecProtocol/aztec-packages@6237d96)) * Lsp rename/find-all-references for local variables (noir-lang/noir#5439) ([6237d96](AztecProtocol/aztec-packages@6237d96)) * Remove duplicated array reads at constant indices (noir-lang/noir#5445) ([6237d96](AztecProtocol/aztec-packages@6237d96)) * Remove redundant `EnableSideEffects` instructions (noir-lang/noir#5440) ([6237d96](AztecProtocol/aztec-packages@6237d96)) ### Bug Fixes * Account for the expected kind when resolving turbofish generics (noir-lang/noir#5448) ([6237d96](AztecProtocol/aztec-packages@6237d96)) * Added bb to noir-projects deps ([#7412](AztecProtocol/aztec-packages#7412)) ([6d3ed3a](AztecProtocol/aztec-packages@6d3ed3a)) * Fix issue with unresolved results (noir-lang/noir#5453) ([6237d96](AztecProtocol/aztec-packages@6237d96)) * Prevent `no_predicates` from removing predicates in calling function (noir-lang/noir#5452) ([6237d96](AztecProtocol/aztec-packages@6237d96)) ### Miscellaneous * Replace relative paths to noir-protocol-circuits ([db45302](AztecProtocol/aztec-packages@db45302)) * Replace usage of `GrumpkinPoint` with `EmbeddedCurvePoint` ([#7382](AztecProtocol/aztec-packages#7382)) ([5279695](AztecProtocol/aztec-packages@5279695)) * Replace usage of `GrumpkinPrivateKey` with `EmbeddedCurveScalar` ([#7384](AztecProtocol/aztec-packages#7384)) ([a917198](AztecProtocol/aztec-packages@a917198)) </details> <details><summary>barretenberg: 0.46.1</summary> ## [0.46.1](AztecProtocol/aztec-packages@barretenberg-v0.46.0...barretenberg-v0.46.1) (2024-07-10) ### Miscellaneous * **barretenberg:** Synchronize aztec-packages versions </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Fixes noir-lang/noir#4931
Decided to tackle this now because it became inconvenient when tackling this - needed to implement Serialize trait for it to work and at that point it felt retarded to just not replace the duplicate GrumpkinPoint.