|
83 | 83 | /// information, such as: |
84 | 84 | /// - Calling an internal public function. |
85 | 85 | /// - 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) |
87 | 87 | /// - Calling any public function will always leak details about the nature |
88 | 88 | /// of the transaction, so devs should be careful in their contract |
89 | 89 | /// designs. If it can be done in a private function, then that will give |
@@ -130,7 +130,7 @@ where |
130 | 130 | /// Makes a _read-only_ call to this private function. |
131 | 131 | /// |
132 | 132 | /// 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 |
134 | 134 | /// calls are constrained to also be staticcalls. |
135 | 135 | /// |
136 | 136 | /// See `call` for more general info on private function calls. |
@@ -210,10 +210,10 @@ impl<let M: u32, T> PrivateStaticCallInterface<M, T> { |
210 | 210 | } |
211 | 211 | } |
212 | 212 |
|
213 | | - /// Enqueues a read-only call to this private function. |
| 213 | + /// Makes a read-only call to this private function. |
214 | 214 | /// |
215 | 215 | /// 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 |
217 | 217 | /// calls are constrained to also be staticcalls. |
218 | 218 | /// |
219 | 219 | /// # Arguments |
@@ -393,7 +393,7 @@ where |
393 | 393 | /// Enqueues a read-only call to this public function. |
394 | 394 | /// |
395 | 395 | /// 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 |
397 | 397 | /// calls are constrained to also be staticcalls. |
398 | 398 | /// |
399 | 399 | /// # Arguments |
@@ -545,7 +545,7 @@ where |
545 | 545 | /// Enqueues a read-only call to this public function. |
546 | 546 | /// |
547 | 547 | /// 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 |
549 | 549 | /// calls are constrained to also be staticcalls. |
550 | 550 | /// |
551 | 551 | /// # Arguments |
|
0 commit comments