-
Notifications
You must be signed in to change notification settings - Fork 266
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!: consistent deploy
method params
#2975
Conversation
Benchmark resultsNo metrics with a significant change found. Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Values are compared against data from master at commit 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 16 txs.
Circuits statsStats on running time and I/O sizes collected for every circuit run across all benchmarks.
MiscellaneousTransaction sizes based on how many contracts are deployed in the tx.
|
8a1f21a
to
dd8b9ba
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.
LGTM, thanks for tackling this!
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-packages: 0.11.0</summary> ## [0.11.0](aztec-packages-v0.10.1...aztec-packages-v0.11.0) (2023-10-24) ### ⚠ BREAKING CHANGES * consistent `deploy` method params ([#2975](#2975)) ### Features * Consistent `deploy` method params ([#2975](#2975)) ([c50aefb](c50aefb)) * Pedersen hash in acir format ([#2990](#2990)) ([2a4c548](2a4c548)) ### Bug Fixes * TokenBox ([#3003](#3003)) ([1ad6647](1ad6647)) ### Miscellaneous * Update acir_tests reference branch ([#2993](#2993)) ([91813a5](91813a5)) </details> <details><summary>barretenberg.js: 0.11.0</summary> ## [0.11.0](barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) ### Features * Pedersen hash in acir format ([#2990](#2990)) ([2a4c548](2a4c548)) </details> <details><summary>barretenberg: 0.11.0</summary> ## [0.11.0](barretenberg-v0.10.1...barretenberg-v0.11.0) (2023-10-24) ### Features * Pedersen hash in acir format ([#2990](#2990)) ([2a4c548](2a4c548)) ### Miscellaneous * Update acir_tests reference branch ([#2993](#2993)) ([91813a5](91813a5)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
1. Fixes #2974 2. Fixed ordering of params in `deployWithPublicKey` 3. Sneaked in removal of deprecated `isMined` from `Tx` (this was a bit of a mistake as the change turned out to be larger than I expected which resulted in this PR being a bit cluttered) **Note**: Removing the `isMined` method made deploying a contract when you don't want a contract instance clumsy because now you are forced to provide a wallet to the wait method. One option how to tackle this would be renaming the `DeploySentTx.wait` to something like `DeploySentTx.waitAndGetInstance` which would result in the `SentTx.wait` method being exposed on `DeploySentTx`. But this would make the main usecase have a pretty annoying and long naming so it's probably ok to leave it as it is.
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-packages: 0.11.0</summary> ## [0.11.0](aztec-packages-v0.10.1...aztec-packages-v0.11.0) (2023-10-24) ### ⚠ BREAKING CHANGES * consistent `deploy` method params ([#2975](#2975)) ### Features * Consistent `deploy` method params ([#2975](#2975)) ([c50aefb](c50aefb)) * Pedersen hash in acir format ([#2990](#2990)) ([2a4c548](2a4c548)) ### Bug Fixes * TokenBox ([#3003](#3003)) ([1ad6647](1ad6647)) ### Miscellaneous * Update acir_tests reference branch ([#2993](#2993)) ([91813a5](91813a5)) </details> <details><summary>barretenberg.js: 0.11.0</summary> ## [0.11.0](barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) ### Features * Pedersen hash in acir format ([#2990](#2990)) ([2a4c548](2a4c548)) </details> <details><summary>barretenberg: 0.11.0</summary> ## [0.11.0](barretenberg-v0.10.1...barretenberg-v0.11.0) (2023-10-24) ### Features * Pedersen hash in acir format ([#2990](#2990)) ([2a4c548](2a4c548)) ### Miscellaneous * Update acir_tests reference branch ([#2993](#2993)) ([91813a5](91813a5)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-packages: 0.11.0</summary> ## [0.11.0](AztecProtocol/aztec-packages@aztec-packages-v0.10.1...aztec-packages-v0.11.0) (2023-10-24) ### ⚠ BREAKING CHANGES * consistent `deploy` method params ([#2975](AztecProtocol/aztec-packages#2975)) ### Features * Consistent `deploy` method params ([#2975](AztecProtocol/aztec-packages#2975)) ([c50aefb](AztecProtocol/aztec-packages@c50aefb)) * Pedersen hash in acir format ([#2990](AztecProtocol/aztec-packages#2990)) ([2a4c548](AztecProtocol/aztec-packages@2a4c548)) ### Bug Fixes * TokenBox ([#3003](AztecProtocol/aztec-packages#3003)) ([1ad6647](AztecProtocol/aztec-packages@1ad6647)) ### Miscellaneous * Update acir_tests reference branch ([#2993](AztecProtocol/aztec-packages#2993)) ([91813a5](AztecProtocol/aztec-packages@91813a5)) </details> <details><summary>barretenberg.js: 0.11.0</summary> ## [0.11.0](AztecProtocol/aztec-packages@barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) ### Features * Pedersen hash in acir format ([#2990](AztecProtocol/aztec-packages#2990)) ([2a4c548](AztecProtocol/aztec-packages@2a4c548)) </details> <details><summary>barretenberg: 0.11.0</summary> ## [0.11.0](AztecProtocol/aztec-packages@barretenberg-v0.10.1...barretenberg-v0.11.0) (2023-10-24) ### Features * Pedersen hash in acir format ([#2990](AztecProtocol/aztec-packages#2990)) ([2a4c548](AztecProtocol/aztec-packages@2a4c548)) ### Miscellaneous * Update acir_tests reference branch ([#2993](AztecProtocol/aztec-packages#2993)) ([91813a5](AztecProtocol/aztec-packages@91813a5)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Contract.ts
uses wallet and generated TS types usesPXE
#2974deployWithPublicKey
isMined
fromTx
(this was a bit of a mistake as the change turned out to be larger than I expected which resulted in this PR being a bit cluttered)Note: Removing the
isMined
method made deploying a contract when you don't want a contract instance clumsy because now you are forced to provide a wallet to the wait method. One option how to tackle this would be renaming theDeploySentTx.wait
to something likeDeploySentTx.waitAndGetInstance
which would result in theSentTx.wait
method being exposed onDeploySentTx
. But this would make the main usecase have a pretty annoying and long naming so it's probably ok to leave it as it is.Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.