From 28b20d317291b1bd185ca90f7551ccca68c05ede Mon Sep 17 00:00:00 2001 From: Gustavo Grieco <31542053+ggrieco-tob@users.noreply.github.com> Date: Tue, 28 May 2024 16:02:01 +0200 Subject: [PATCH] Updated old starknet documentation links --- .../cairo/L1_to_L2_address_conversion/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/not-so-smart-contracts/cairo/L1_to_L2_address_conversion/README.md b/not-so-smart-contracts/cairo/L1_to_L2_address_conversion/README.md index 2ad471bd..cc2bd48c 100644 --- a/not-so-smart-contracts/cairo/L1_to_L2_address_conversion/README.md +++ b/not-so-smart-contracts/cairo/L1_to_L2_address_conversion/README.md @@ -4,7 +4,7 @@ In Starknet, addresses are of the `felt` type, while on L1 addresses are of the # Example -Consider the following code to initiate L2 deposits from L1. The first example has no checks on the `to` parameter, and depending on the user's address, it could transfer tokens to an unexpected address on L2. The second example, however, adds verification to ensure this does not happen. Note that the code is a simplified version of how messages are sent on L1 and processed on L2. For a more comprehensive overview, see here: https://www.cairo-lang.org/docs/hello_starknet/l1l2.html. +Consider the following code to initiate L2 deposits from L1. The first example has no checks on the `to` parameter, and depending on the user's address, it could transfer tokens to an unexpected address on L2. The second example, however, adds verification to ensure this does not happen. Note that the code is a simplified version of how messages are sent on L1 and processed on L2. For a more comprehensive overview, see here: [https://www.cairo-lang.org/docs/hello_starknet/l1l2.html](https://docs.cairo-lang.org/hello_starknet/l1l2.html). ```solidity contract L1ToL2Bridge {