Skip to content

Commit

Permalink
clarifying comments
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Feb 15, 2024
1 parent 461f6d4 commit 6d5c87b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions l1-contracts/src/core/libraries/DataStructures.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ library DataStructures {
* @param sender - The sender of the message
* @param recipient - The recipient of the message
* @param content - The content of the message (application specific) padded to bytes32 or hashed if larger.
* @dev Not to be confused with L2ToL1Message in Noir circuits
*/
struct L2ToL1Msg {
DataStructures.L2Actor sender;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::{address::EthAddress, constants::L2_TO_L1_MESSAGE_LENGTH, traits::{Deserialize, Empty, Serialize}};

// Note: Not to be confused with L2ToL1Msg in Solidity
struct L2ToL1Message {
recipient: EthAddress,
content: Field,
Expand Down

0 comments on commit 6d5c87b

Please sign in to comment.