-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore/3446 cleanup errors and interfaces V2 (#67)
Co-authored-by: count-sum <[email protected]> Co-authored-by: thedarkjester <[email protected]>
- Loading branch information
1 parent
7005fcd
commit 39e0d76
Showing
10 changed files
with
398 additions
and
407 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,6 @@ pragma solidity 0.8.26; | |
* @custom:security-contact [email protected] | ||
*/ | ||
interface IL1MessageManagerV1 { | ||
/** | ||
* @notice Emitted when L2->L1 message hashes have been added to L1 storage. | ||
* @param messageHash The indexed hash of the message parameters. | ||
* @dev DEPRECATED - This is kept for backwards compatability for external consumers. | ||
*/ | ||
event L2L1MessageHashAddedToInbox(bytes32 indexed messageHash); | ||
|
||
/** | ||
* @notice Emitted when L1->L2 messages have been anchored on L2 and updated on L1. | ||
* @param messageHashes The collection of hashes indicating which messages were added on L2. of the message parameters. | ||
* @dev DEPRECATED - This is kept for backwards compatability for external consumers. | ||
*/ | ||
event L1L2MessagesReceivedOnL2(bytes32[] messageHashes); | ||
|
||
/** | ||
* @dev Thrown when the message has already been claimed. | ||
*/ | ||
|
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,15 +7,6 @@ pragma solidity 0.8.26; | |
* @custom:security-contact [email protected] | ||
*/ | ||
interface IZkEvmV2 { | ||
/** | ||
* @notice Emitted when a L2 block has been finalized on L1. | ||
* @param blockNumber The indexed L2 block number that is finalized in the finalization. | ||
* @param stateRootHash The indexed state root hash for the L2 block. | ||
* @param finalizedWithProof Indicates if the L2 block in the finalization is proven or not. | ||
* @dev DEPRECATED. This has been left for existing consumers. | ||
*/ | ||
event BlockFinalized(uint256 indexed blockNumber, bytes32 indexed stateRootHash, bool indexed finalizedWithProof); | ||
|
||
/** | ||
* @notice Emitted when a L2 blocks have been finalized on L1. | ||
* @param lastBlockFinalized The indexed L2 block number the finalization is up until. | ||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
pragma solidity 0.8.19; | ||
|
||
/** | ||
* @title L2 Message Service interface for pre-existing functions, events and errors. | ||
* @author ConsenSys Software Inc. | ||
* @custom:security-contact [email protected] | ||
*/ | ||
interface IL2MessageServiceV1 { | ||
/** | ||
* @notice The Fee Manager sets a minimum fee to address DOS protection. | ||
* @param _feeInWei New minimum fee in Wei. | ||
*/ | ||
function setMinimumFee(uint256 _feeInWei) external; | ||
} |
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
Oops, something went wrong.