-
Notifications
You must be signed in to change notification settings - Fork 3k
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
a889647
commit a293c9e
Showing
3 changed files
with
94 additions
and
85 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
14 changes: 14 additions & 0 deletions
14
packages/contracts-bedrock/src/libraries/L1BlockErrors.sol
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,14 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.15; | ||
|
||
/// @notice Error returns when a non-depositor account tries to set L1 block values. | ||
error NotDepositor(); | ||
|
||
/// @notice Error when a chain ID is not in the interop dependency set. | ||
error NotDependency(); | ||
|
||
/// @notice Error when the interop dependency set size is too large. | ||
error DependencySetSizeTooLarge(); | ||
|
||
/// @notice Error when the chain's chain ID is attempted to be removed from the interop dependency set. | ||
error CantRemovedChainId(); |