File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ pub struct MsgToL2 {
2323impl MsgToL2 {
2424 /// Calculates the message hash based on the algorithm documented here:
2525 ///
26- /// <https://docs.starknet.io/documentation/architecture_and_concepts/L1-L2_Communication/messaging-mechanism/>
26+ /// <https://docs.starknet.io/architecture-and-concepts/network-architecture/messaging-mechanism/#hashing_l1-l2>
27+ /// <https://github.com/starkware-libs/cairo-lang/blob/8276ac35830148a397e1143389f23253c8b80e93/src/starkware/starknet/solidity/StarknetMessaging.sol#L88>
2728 pub fn hash ( & self ) -> Hash256 {
2829 let mut hasher = Keccak256 :: new ( ) ;
2930
@@ -60,7 +61,8 @@ impl MsgToL2 {
6061impl MsgToL1 {
6162 /// Calculates the message hash based on the algorithm documented here:
6263 ///
63- /// <https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/messaging-mechanism/#structure_and_hashing_l2-l1>
64+ /// <https://docs.starknet.io/architecture-and-concepts/network-architecture/messaging-mechanism/#hashing_l2-l1>
65+ /// <https://github.com/starkware-libs/cairo-lang/blob/8276ac35830148a397e1143389f23253c8b80e93/src/starkware/starknet/solidity/StarknetMessaging.sol#L111>
6466 pub fn hash ( & self ) -> Hash256 {
6567 let mut hasher = Keccak256 :: new ( ) ;
6668
You can’t perform that action at this time.
0 commit comments