Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

Commit a217651

Browse files
committed
chore: upgrade v5.0.0-rc.1 403
1 parent 9b0f0cd commit a217651

16 files changed

Lines changed: 317 additions & 327 deletions

File tree

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@defi-wonderland/aztec-standards",
3-
"version": "5.0.0-nightly.20260529",
3+
"version": "5.0.0-rc.1",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/defi-wonderland/aztec-standards.git"
@@ -26,15 +26,15 @@
2626
"*.ts": "prettier --write -u"
2727
},
2828
"dependencies": {
29-
"@aztec/accounts": "5.0.0-nightly.20260529",
30-
"@aztec/aztec.js": "5.0.0-nightly.20260529",
31-
"@aztec/noir-contracts.js": "5.0.0-nightly.20260529",
32-
"@aztec/protocol-contracts": "5.0.0-nightly.20260529",
33-
"@aztec/pxe": "5.0.0-nightly.20260529",
34-
"@aztec/stdlib": "5.0.0-nightly.20260529",
35-
"@aztec/wallet-sdk": "5.0.0-nightly.20260529",
36-
"@aztec/wallets": "5.0.0-nightly.20260529",
37-
"@defi-wonderland/aztec-benchmark": "https://github.com/defi-wonderland/aztec-benchmark/releases/download/prerelease-0932ac3/defi-wonderland-aztec-benchmark-5.0.0-nightly.20260529-prerelease.0932ac3.tgz",
29+
"@aztec/accounts": "5.0.0-rc.1",
30+
"@aztec/aztec.js": "5.0.0-rc.1",
31+
"@aztec/noir-contracts.js": "5.0.0-rc.1",
32+
"@aztec/protocol-contracts": "5.0.0-rc.1",
33+
"@aztec/pxe": "5.0.0-rc.1",
34+
"@aztec/stdlib": "5.0.0-rc.1",
35+
"@aztec/wallet-sdk": "5.0.0-rc.1",
36+
"@aztec/wallets": "5.0.0-rc.1",
37+
"@defi-wonderland/aztec-benchmark": "https://github.com/defi-wonderland/aztec-benchmark/releases/download/prerelease-98d719b/defi-wonderland-aztec-benchmark-5.0.0-rc.1-prerelease.98d719b.tgz",
3838
"commander": "14.0.1",
3939
"dotenv": "16.4.7"
4040
},
@@ -50,7 +50,7 @@
5050
"vitest": "4.0.17"
5151
},
5252
"config": {
53-
"aztecVersion": "5.0.0-nightly.20260529"
53+
"aztecVersion": "5.0.0-rc.1"
5454
},
5555
"engines": {
5656
"node": ">=22"

src/dripper/Nargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ compiler_version = ">=1.0.0"
55
type = "contract"
66

77
[dependencies]
8-
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/aztec" }
8+
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/aztec" }
99
token = { path = "../token_contract" }

src/escrow_contract/Nargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ compiler_version = ">=1.0.0"
55
type = "contract"
66

77
[dependencies]
8-
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/aztec" }
9-
serde = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/noir-protocol-circuits/crates/serde" }
8+
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/aztec" }
9+
serde = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/noir-protocol-circuits/crates/serde" }
1010
token = { path = "../token_contract" }
1111
nft = { path = "../nft_contract" }
1212
sha512 = { git = "https://github.com/noir-lang/sha512", tag = "mv/use-bool-over-u1" }

src/escrow_contract/src/library/logic.nr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
use aztec::{
33
context::PrivateContext,
44
event::event_emission::emit_event_in_private,
5-
messages::message_delivery::MessageDelivery,
5+
messages::delivery::MessageDelivery,
66
protocol::{
77
address::AztecAddress,
88
contract_class_id::ContractClassId,
@@ -65,7 +65,7 @@ pub fn _share_escrow(
6565

6666
emit_event_in_private(context, event_struct).deliver_to(
6767
account,
68-
MessageDelivery.ONCHAIN_CONSTRAINED,
68+
MessageDelivery::onchain_constrained(),
6969
);
7070
}
7171

src/escrow_contract/src/test/test_logic_contract/Nargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ compiler_version = ">=1.0.0"
55
type = "contract"
66

77
[dependencies]
8-
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/aztec" }
8+
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/aztec" }
99
escrow_contract = { path = "../../../" }
1010
token = { path = "../../../../token_contract" }
1111
nft = { path = "../../../../nft_contract" }

src/generic_proxy/Nargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ compiler_version = ">=0.25.0"
55
type = "contract"
66

77
[dependencies]
8-
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/aztec" }
8+
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/aztec" }

src/nft_contract/Nargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ compiler_version = ">=1.0.0"
55
type = "contract"
66

77
[dependencies]
8-
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/aztec" }
9-
compressed_string = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/compressed-string" }
8+
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/aztec" }
9+
compressed_string = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/compressed-string" }
1010
generic_proxy = { path = "../generic_proxy" }

src/nft_contract/src/main.nr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub contract NFT {
1212
functions::{authorize_once, external, initializer, internal, only_self, view},
1313
storage::storage,
1414
},
15-
messages::message_delivery::MessageDelivery,
15+
messages::delivery::MessageDelivery,
1616
note::{
1717
constants::MAX_NOTES_PER_PAGE, note_getter_options::NoteGetterOptions,
1818
note_interface::NoteProperties, note_viewer_options::NoteViewerOptions,
@@ -360,7 +360,7 @@ pub contract NFT {
360360

361361
self.enqueue_self.mint_to_private_internal(token_id);
362362
self.storage.private_nfts.at(to).insert(NFTNote { token_id }).deliver(
363-
MessageDelivery.ONCHAIN_CONSTRAINED,
363+
MessageDelivery::onchain_constrained(),
364364
);
365365
}
366366

@@ -454,7 +454,7 @@ pub contract NFT {
454454
fn _update_private_token_owner(to: AztecAddress, token_id: Field) {
455455
let new_note = NFTNote { token_id };
456456
self.storage.private_nfts.at(to).insert(new_note).deliver(
457-
MessageDelivery.ONCHAIN_CONSTRAINED,
457+
MessageDelivery::onchain_constrained(),
458458
);
459459
}
460460

src/nft_contract/src/types/nft_note.nr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use aztec::{
33
keys::getters::{get_nhk_app, get_public_keys, try_get_public_keys},
44
macros::notes::custom_note,
55
messages::{
6+
delivery::{do_private_message_delivery, MessageDelivery},
67
logs::partial_note::encode_partial_note_private_message,
7-
message_delivery::{do_private_message_delivery, MessageDelivery},
88
},
99
note::{note_interface::{NoteHash, NoteType}, utils::compute_note_nullifier},
1010
oracle::random::random,
@@ -133,7 +133,7 @@ impl NFTNote {
133133
},
134134
Option::none(),
135135
recipient,
136-
MessageDelivery.ONCHAIN_UNCONSTRAINED,
136+
MessageDelivery::onchain_unconstrained(),
137137
);
138138

139139
let partial_note = PartialNFTNote { commitment };

src/token_contract/Nargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ compiler_version = ">=1.0.0"
55
type = "contract"
66

77
[dependencies]
8-
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/aztec" }
9-
uint_note = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/uint-note" }
10-
balance_set = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/balance-set" }
11-
compressed_string = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-nightly.20260529", directory = "noir-projects/aztec-nr/compressed-string" }
8+
aztec = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/aztec" }
9+
uint_note = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/uint-note" }
10+
balance_set = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/balance-set" }
11+
compressed_string = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v5.0.0-rc.1", directory = "noir-projects/aztec-nr/compressed-string" }
1212
generic_proxy = { path = "../generic_proxy" }
1313
authorization_contract = { path = "src/test/test_authorization_contract" }

0 commit comments

Comments
 (0)