Skip to content

Commit 6947971

Browse files
address review comments
1 parent 529d17d commit 6947971

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

noir-projects/aztec-nr/aztec/src/context/call_interfaces.nr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ where
8383
/// information, such as:
8484
/// - Calling an internal public function.
8585
/// - Calling a public function and not setting msg_sender to Option::none
86-
/// (feature not built yet - see github).
86+
/// (see https://github.com/AztecProtocol/aztec-packages/pull/16433)
8787
/// - Calling any public function will always leak details about the nature
8888
/// of the transaction, so devs should be careful in their contract
8989
/// designs. If it can be done in a private function, then that will give
@@ -130,7 +130,7 @@ where
130130
/// Makes a _read-only_ call to this private function.
131131
///
132132
/// This is similar to Solidity's `staticcall`. The called function
133-
/// cannot modify state, emit L2->L2 messages, nor emit events. Any nested
133+
/// cannot modify state, emit L2->L1 messages, nor emit events. Any nested
134134
/// calls are constrained to also be staticcalls.
135135
///
136136
/// See `call` for more general info on private function calls.
@@ -210,10 +210,10 @@ impl<let M: u32, T> PrivateStaticCallInterface<M, T> {
210210
}
211211
}
212212

213-
/// Enqueues a read-only call to this private function.
213+
/// Makes a read-only call to this private function.
214214
///
215215
/// This is similar to Solidity's `staticcall`. The called function
216-
/// cannot modify state, emit L2->L2 messages, nor emit events. Any nested
216+
/// cannot modify state, emit L2->L1 messages, nor emit events. Any nested
217217
/// calls are constrained to also be staticcalls.
218218
///
219219
/// # Arguments
@@ -393,7 +393,7 @@ where
393393
/// Enqueues a read-only call to this public function.
394394
///
395395
/// This is similar to Solidity's `staticcall`. The called function
396-
/// cannot modify state, emit L2->L2 messages, nor emit events. Any nested
396+
/// cannot modify state, emit L2->L1 messages, nor emit events. Any nested
397397
/// calls are constrained to also be staticcalls.
398398
///
399399
/// # Arguments
@@ -545,7 +545,7 @@ where
545545
/// Enqueues a read-only call to this public function.
546546
///
547547
/// This is similar to Solidity's `staticcall`. The called function
548-
/// cannot modify state, emit L2->L2 messages, nor emit events. Any nested
548+
/// cannot modify state, emit L2->L1 messages, nor emit events. Any nested
549549
/// calls are constrained to also be staticcalls.
550550
///
551551
/// # Arguments

0 commit comments

Comments
 (0)