Skip to content

Commit 79db1e7

Browse files
critesjoshclaude
andcommitted
Fix deploy API and regenerate yarn.lock files for v4.1.0-rc.2
In v4.1.0-rc.2, Contract.deploy(...).send() returns { contract } instead of the contract directly. Update all deploy callsites to destructure the result. Also regenerate all stale yarn.lock files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8234ac8 commit 79db1e7

File tree

14 files changed

+1599
-1599
lines changed

14 files changed

+1599
-1599
lines changed

account-contract/yarn.lock

Lines changed: 262 additions & 262 deletions
Large diffs are not rendered by default.

note-send-proof/scripts/generate_data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function main() {
3535
const deployerAddress = deployerAccount.address;
3636

3737
console.log('Deploying GettingStarted contract...');
38-
const gettingStarted = await GettingStartedContract.deploy(wallet, deployerAddress).send({
38+
const { contract: gettingStarted } = await GettingStartedContract.deploy(wallet, deployerAddress).send({
3939
from: deployerAddress,
4040
});
4141

note-send-proof/scripts/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const deployerAccount = await wallet.createSchnorrAccount(
2727
);
2828
const deployerAddress = deployerAccount.address;
2929

30-
const gettingStarted = await GettingStartedContract.deploy(wallet, deployerAddress).send({
30+
const { contract: gettingStarted } = await GettingStartedContract.deploy(wallet, deployerAddress).send({
3131
from: deployerAddress,
3232
});
3333

note-send-proof/scripts/yarn.lock

Lines changed: 257 additions & 257 deletions
Large diffs are not rendered by default.

note-send-proof/tests/note_creation.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ describe('Note Hash Computation Verification', () => {
5353
}, TEST_TIMEOUT);
5454

5555
test('should deploy GettingStarted contract', async () => {
56-
gettingStartedContract = await GettingStartedContract.deploy(wallet, deployer)
57-
.send({ from: deployer });
56+
({ contract: gettingStartedContract } = await GettingStartedContract.deploy(wallet, deployer)
57+
.send({ from: deployer }));
5858

5959
expect(gettingStartedContract.address).toBeDefined();
6060
expect(gettingStartedContract.address.toString()).not.toBe('');

note-send-proof/vite/yarn.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@aztec/bb.js@4.0.0-devnet.2-patch.1":
6-
version "4.0.0-devnet.2-patch.1"
7-
resolved "https://registry.yarnpkg.com/@aztec/bb.js/-/bb.js-4.0.0-devnet.2-patch.1.tgz#4caebd7590d2aaaba229a114c10e2b39f5259d55"
8-
integrity sha512-SEOidi9kKFSE+DGA4w9h+PPJwXGXZ8VzG0xgrZgmx9cWFZMW7BW6k2kqkrmcd1n4YXrDYAztuLacw5oDvebuzg==
5+
"@aztec/bb.js@4.1.0-rc.2":
6+
version "4.1.0-rc.2"
7+
resolved "https://registry.yarnpkg.com/@aztec/bb.js/-/bb.js-4.1.0-rc.2.tgz#7c6f887b14e5288dd32d26d4d3d963f5c4d1f894"
8+
integrity sha512-+QpmBhbIFv8p0t13qyw+jzu2qxgXOVoqi+vBxdK0I45a5Q3TlT6zhXQFgIxs6HsU2rUu75oF92fn3KthdSOTCA==
99
dependencies:
1010
comlink "^4.4.1"
1111
commander "^12.1.0"
@@ -14,32 +14,32 @@
1414
pako "^2.1.0"
1515
tslib "^2.4.0"
1616

17-
"@aztec/noir-acvm_js@4.0.0-devnet.2-patch.1":
18-
version "4.0.0-devnet.2-patch.1"
19-
resolved "https://registry.yarnpkg.com/@aztec/noir-acvm_js/-/noir-acvm_js-4.0.0-devnet.2-patch.1.tgz#3ac027dbdc465e1d5180bcb9d0004f0c58187e18"
20-
integrity sha512-wXi4cqLN/5jENfJtHTg5MZSBoU1/OPbAXozWmpi6yP26rBmVQY7c4Fq0D7HwxoGgBoYfflweszM9ZEhKS8Srlg==
17+
"@aztec/noir-acvm_js@4.1.0-rc.2":
18+
version "4.1.0-rc.2"
19+
resolved "https://registry.yarnpkg.com/@aztec/noir-acvm_js/-/noir-acvm_js-4.1.0-rc.2.tgz#cea85f39cf678039e31c8126a4cc787f3fff9a96"
20+
integrity sha512-y7ti2d/mlNVw2vv7dnaWJKDv3MaY8FETiHzxvUtS9MoQm5yuqILRYm90nZauYQG0VPuWutFaPGOCZapV/TC5OQ==
2121

22-
"@aztec/noir-noir_js@4.0.0-devnet.2-patch.1":
23-
version "4.0.0-devnet.2-patch.1"
24-
resolved "https://registry.yarnpkg.com/@aztec/noir-noir_js/-/noir-noir_js-4.0.0-devnet.2-patch.1.tgz#fb0f6deb887cb0e9a63dda1f76c2c2b70902ecd1"
25-
integrity sha512-kZU7CFBE2tWgxywqCtpR7L1E298ZfqA0jXIeYSV7TYXjLl5q6FWa4EcITXQfZyhLoCCddJuYF9cH7dd6vPPRFw==
22+
"@aztec/noir-noir_js@4.1.0-rc.2":
23+
version "4.1.0-rc.2"
24+
resolved "https://registry.yarnpkg.com/@aztec/noir-noir_js/-/noir-noir_js-4.1.0-rc.2.tgz#086bec1656a3e12ea4460f0267683be1e32c609c"
25+
integrity sha512-IMo6UYMhoR+HX7SaPdEihtKsAVcJvdSlyx/xwW+K7UjX6Gc/ywL7bb9sePWfsKeM63VWmUjgqMmSQVKPyu4Bkg==
2626
dependencies:
27-
"@aztec/noir-acvm_js" "4.0.0-devnet.2-patch.1"
28-
"@aztec/noir-noirc_abi" "4.0.0-devnet.2-patch.1"
29-
"@aztec/noir-types" "4.0.0-devnet.2-patch.1"
27+
"@aztec/noir-acvm_js" "4.1.0-rc.2"
28+
"@aztec/noir-noirc_abi" "4.1.0-rc.2"
29+
"@aztec/noir-types" "4.1.0-rc.2"
3030
pako "^2.1.0"
3131

32-
"@aztec/noir-noirc_abi@4.0.0-devnet.2-patch.1":
33-
version "4.0.0-devnet.2-patch.1"
34-
resolved "https://registry.yarnpkg.com/@aztec/noir-noirc_abi/-/noir-noirc_abi-4.0.0-devnet.2-patch.1.tgz#26fe7a639d0fe2d7c03828fc0e07db7bf7f9f338"
35-
integrity sha512-9cxLL0BZi0Jw7VT8OK9qYbH7Z7tdz0TIfDHDfiFsXSmtABflAN7XMZ1DwJnwIqPDoTVTBTev99Y9Wh01zyBbWg==
32+
"@aztec/noir-noirc_abi@4.1.0-rc.2":
33+
version "4.1.0-rc.2"
34+
resolved "https://registry.yarnpkg.com/@aztec/noir-noirc_abi/-/noir-noirc_abi-4.1.0-rc.2.tgz#181d473e0f42848ffea6c3b7442b5e3f13a69dd0"
35+
integrity sha512-Eit6kssa29yj56yQ2Q5BTRjSr0v/+7/FK6iR/hDWVDK5DEgetIm2j9Sk0d136NdZNQykKGDrUpeUIdAxcSoE8g==
3636
dependencies:
37-
"@aztec/noir-types" "4.0.0-devnet.2-patch.1"
37+
"@aztec/noir-types" "4.1.0-rc.2"
3838

39-
"@aztec/noir-types@4.0.0-devnet.2-patch.1":
40-
version "4.0.0-devnet.2-patch.1"
41-
resolved "https://registry.yarnpkg.com/@aztec/noir-types/-/noir-types-4.0.0-devnet.2-patch.1.tgz#080ee9514c85bd0b8698b3a5321646449b46ad22"
42-
integrity sha512-W6bY7YyYXNYYOt/xbIfiZEh8k+pDraxmK1UiU67JO+UYMz4cEru7utJ0vhJ7zbBhvZxRNP9Y59TjfKy5vBYyag==
39+
"@aztec/noir-types@4.1.0-rc.2":
40+
version "4.1.0-rc.2"
41+
resolved "https://registry.yarnpkg.com/@aztec/noir-types/-/noir-types-4.1.0-rc.2.tgz#c5eda33a61565a5e51585d25d904278a63e3aa91"
42+
integrity sha512-Q5ue5v6v2Bp65fyqih4tLe2SPUrJJOLUnGliFJ/eIG98l8zHpQbZpZk8GOU3K7e8I3X1gxKkR4UL/2Wcv0HwFg==
4343

4444
"@esbuild/aix-ppc64@0.25.12":
4545
version "0.25.12"

0 commit comments

Comments
 (0)