Skip to content

Commit 095d1c5

Browse files
committed
ordering by security guarantees
1 parent 1206b26 commit 095d1c5

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
"homomorphic",
152152
"ierc",
153153
"IGSE",
154+
"incentivized",
154155
"indexeddb",
155156
"interruptible",
156157
"IPFS",

noir-projects/aztec-nr/aztec/src/event/event_interface.nr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,24 +92,24 @@ pub struct MessageDeliveryEnum {
9292
/// combination 1 above for details.
9393
pub CONSTRAINED_ONCHAIN: u8,
9494

95-
/// Unconstrained encryption + offchain message
96-
///
97-
/// Useful when we trust the sender or the sender is incentivized to deliver the message. See combination 2
98-
/// above for details.
99-
pub UNCONSTRAINED_OFFCHAIN: u8,
100-
10195
/// Unconstrained encryption + unconstrained tagging + private log stream
10296
///
10397
/// As mentioned above, this combination is not meaningful but we keep it here as it's currently used in the
10498
/// codebase.
10599
/// TODO: Consider dropping this.
106100
pub UNCONSTRAINED_ONCHAIN: u8,
101+
102+
/// Unconstrained encryption + offchain message
103+
///
104+
/// Useful when we trust the sender or the sender is incentivized to deliver the message. See combination 2
105+
/// above for details.
106+
pub UNCONSTRAINED_OFFCHAIN: u8,
107107
}
108108

109109
pub global MessageDelivery: MessageDeliveryEnum = MessageDeliveryEnum {
110110
CONSTRAINED_ONCHAIN: 1,
111-
UNCONSTRAINED_OFFCHAIN: 2,
112-
UNCONSTRAINED_ONCHAIN: 3,
111+
UNCONSTRAINED_ONCHAIN: 2,
112+
UNCONSTRAINED_OFFCHAIN: 3,
113113
};
114114

115115
/// Emits an event that can be delivered either via private logs or offchain messages, with configurable encryption and

0 commit comments

Comments
 (0)