Files
linea-monorepo/config/common/smart-contract-errors.toml
The Dark Jester 7b99e5ff20 [Fix] M-01 Validate final blob was submitted on finalization (#226)
* Validate final blob was submitted on finalization

* Use new error code in Coordinator

* Use correct name for error
2024-10-31 17:38:52 +01:00

51 lines
2.0 KiB
TOML

##
# Smart contract error codes from:
# https://www.notion.so/consensys/Smart-Contracts-Error-Code-Registry-bb4bd68f8ddf4b0ba90000d1136e42ef
##
[smart-contract-errors]
# L1 Linea Rollup
"0f06cd15" = "DataAlreadySubmitted"
"c01eab56" = "EmptySubmissionData"
"abefa5e8" = "DataStartingBlockDoesNotMatch"
"5548c6b3" = "DataParentHasEmptyShnarf"
"36459fa0" = "L1RollingHashDoesNotExistOnL1"
"cbbd7953" = "FirstBlockGreaterThanFinalBlock"
"a386ed70" = "FirstBlockLessThanOrEqualToLastFinalizedBlock"
"70614405" = "FinalBlockNumberLessThanOrEqualToLastFinalizedBlock"
"2898482a" = "FinalBlockStateEqualsZeroHash"
"bf81c6e0" = "FinalizationInTheFuture"
"0c256592" = "MissingMessageNumberForRollingHash"
"5228f4c8" = "MissingRollingHashForMessageNumber"
"729eebce" = "FirstByteIsNotZero"
"6426c6c5" = "BytesLengthNotMultipleOf32"
"68dcad5f" = "PointEvaluationResponseInvalid"
"f75db381" = "PrecompileReturnDataLengthWrong"
"a71194af" = "PointEvaluationFailed"
"2f22b98a" = "LastFinalizedShnarfWrong"
"7dc2487d" = "SnarkHashIsZeroHash"
"bc5aad11" = "FinalizationStateIncorrect"
"b1504a5f" = "BlobSubmissionDataIsMissing"
"c0e41e1d" = "EmptyBlobDataAtIndex"
"fb4cd6ef" = "FinalBlockDoesNotMatchShnarfFinalBlock"
"2526F108" = "ShnarfAndFinalBlockNumberLengthsMismatched"
"d3664fb3" = "FinalShnarfWrong"
"4e686675" = "L2MerkleRootDoesNotExist"
"e5d14425" = "L2MerkleRootAlreadyAnchored"
"0c91d776" = "BytesLengthNotMultipleOfTwo"
"ead4c30e" = "StartingRootHashDoesNotMatch"
"7907d79b" = "ProofIsEmpty"
"69ed70ab" = "InvalidProofType"
"09bde339" = "InvalidProof"
"db246dde" = "IsPaused"
"b015579f" = "IsNotPaused"
"3b174434" = "MessageHashesListLengthHigherThanOneHundred"
"ca389c44" = "InvalidProofOrProofVerificationRanOutOfGas"
"42ab979d" = "ParentBlobNotSubmitted"
"edeae83c" = "FinalBlobNotSubmitted"
# L2 Message Service
"6446cc9c" = "MessageHashesListLengthIsZero"
"d39e75f9" = "L1MessageNumberSynchronizationWrong"
"7557a60a" = "L1RollingHashSynchronizationWrong"
"36a4bb94" = "FinalRollingHashIsZero"