-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e0734b
commit 3d7cc8e
Showing
7 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ pragma solidity 0.8.20; | |
* @custom:security-contact [email protected] | ||
* @notice Smart contract for sending arbitrary length messages to L1 | ||
* @dev by default ZkSync can send fixed-length messages on L1. | ||
* A fixed length message has 4 parameters `senderAddress` `isService`, `key`, `value`, | ||
* A fixed length message has 4 parameters `senderAddress`, `isService`, `key`, `value`, | ||
* the first one is taken from the context, the other three are chosen by the sender. | ||
* @dev To send a variable-length message we use this trick: | ||
* - This system contract accepts an arbitrary length message and sends a fixed length message with | ||
|
@@ -113,7 +113,7 @@ library L2ContractHelper { | |
} | ||
} | ||
|
||
/// @notice Structure used to represent zkSync transaction. | ||
/// @notice Structure used to represent a zkSync transaction. | ||
struct Transaction { | ||
// The type of the transaction. | ||
uint256 txType; | ||
|