From 72552a595c5534a08851c314babe14e7c071064b Mon Sep 17 00:00:00 2001 From: vladbochok Date: Mon, 9 Sep 2024 11:09:15 +0200 Subject: [PATCH] Add signatures to the custom error --- .../contracts/common/L1ContractErrors.sol | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/l1-contracts/contracts/common/L1ContractErrors.sol b/l1-contracts/contracts/common/L1ContractErrors.sol index d164054c3..c265a4804 100644 --- a/l1-contracts/contracts/common/L1ContractErrors.sol +++ b/l1-contracts/contracts/common/L1ContractErrors.sol @@ -327,26 +327,26 @@ error ZeroAddress(); error ZeroBalance(); // 0xc84885d4 error ZeroChainId(); - +// 0x520aa59c error PubdataIsEmpty(); - +// 0x99d8fec9 error EmptyData(); - +// 0xc99a8360 error UnsupportedCommitBatchEncoding(uint8 version); - +// 0xe167e4a6 error UnsupportedProofBatchEncoding(uint8 version); - +// 0xe8e3f6f4 error UnsupportedExecuteBatchEncoding(uint8 version); - +// 0xd7d93e1f error IncorrectBatchBounds( uint256 processFromExpected, uint256 processToExpected, uint256 processFromProvided, uint256 processToProvided ); - +// 0x04a0b7e9 error AssetIdNotSupported(bytes32 assetId); - +// 0x64107968 error AssetHandlerNotRegistered(bytes32 assetId); enum SharedBridgeKey {