Skip to main content

Error Codes

This page contains a comprehensive list of error codes used in protocols. These codes are automatically generated from the source code.

shared/common/LibTrieProof.sol

ErrorCode
LTP_INVALID_ACCOUNT_PROOF()0x20a66ad8
LTP_INVALID_INCLUSION_PROOF()0x8d9a4db3

shared/common/AddressResolver.sol

ErrorCode
RESOLVER_DENIED()0x1b0b999e
RESOLVER_INVALID_MANAGER()0x8ed88b25
RESOLVER_UNEXPECTED_CHAINID()0xa12e8fa9
RESOLVER_ZERO_ADDR(uint64 chainId, bytes32 name)0x7210df68

shared/common/LibBytes.sol

ErrorCode
INNER_ERROR(bytes innerError)0xbe40ece2

shared/common/LibAddress.sol

ErrorCode
ETH_TRANSFER_FAILED()0x98ce269a

shared/common/EssentialContract.sol

ErrorCode
INVALID_PAUSE_STATUS()0xbae6e2a9
FUNC_NOT_IMPLEMENTED()0x18571f1e
REENTRANT_CALL()0xdfc60d85
ZERO_ADDRESS()0x538ba4f9
ZERO_VALUE()0xec732959
FUNCTION_DISABLED()0xa87dd7cf

shared/common/AddressManager.sol

ErrorCode
AM_ADDRESS_ALREADY_SET()0xa8830893

shared/tokenvault/BridgedERC20.sol

ErrorCode
BTOKEN_INVALID_PARAMS()0xc118d2f3
BTOKEN_MINT_DISALLOWED()0x270bf775

shared/tokenvault/BaseNFTVault.sol

ErrorCode
VAULT_INVALID_TOKEN()0x03f8a7d3
VAULT_INVALID_AMOUNT()0x85326476
VAULT_INTERFACE_NOT_SUPPORTED()0x7dd22bea
VAULT_TOKEN_ARRAY_MISMATCH()0xcb745208

shared/tokenvault/BridgedERC1155.sol

ErrorCode
BTOKEN_INVALID_PARAMS()0xc118d2f3

shared/tokenvault/BridgedERC20V2.sol

ErrorCode
BTOKEN_DEADLINE_EXPIRED()0x2d5c4e9a
BTOKEN_INVALID_SIG()0xe1de4396

shared/tokenvault/LibBridgedToken.sol

ErrorCode
BTOKEN_INVALID_PARAMS()0xc118d2f3
BTOKEN_INVALID_TO_ADDR()0x30a4b274

shared/tokenvault/BridgedERC721.sol

ErrorCode
BTOKEN_INVALID_PARAMS()0xc118d2f3
BTOKEN_INVALID_BURN()0x358bf3d9

shared/tokenvault/BaseVault.sol

ErrorCode
VAULT_INSUFFICIENT_FEE()0x0bc67058
VAULT_INVALID_TO_ADDR()0x5b50f3f9
VAULT_PERMISSION_DENIED()0x2583296b

shared/tokenvault/ERC20Vault.sol

ErrorCode
VAULT_BTOKEN_BLACKLISTED()0x75c42fc1
VAULT_CTOKEN_MISMATCH()0x5f3a3af6
VAULT_INVALID_TOKEN()0x03f8a7d3
VAULT_INVALID_AMOUNT()0x85326476
VAULT_INVALID_CTOKEN()0x8257f7f5
VAULT_INVALID_NEW_BTOKEN()0xdc63f987
VAULT_LAST_MIGRATION_TOO_CLOSE()0x463a6bf6

shared/bridge/QuotaManager.sol

ErrorCode
QM_INVALID_PARAM()0x6f7f6e58
QM_OUT_OF_QUOTA()0x51d8fe3a

shared/bridge/Bridge.sol

ErrorCode
B_INVALID_CHAINID()0xe363bba8
B_INVALID_CONTEXT()0x5ceed173
B_INVALID_FEE()0xc9f51787
B_INVALID_GAS_LIMIT()0x08c2ad53
B_INVALID_STATUS()0x67624eb4
B_INVALID_VALUE()0x958557be
B_INSUFFICIENT_GAS()0x5fbdff73
B_MESSAGE_NOT_SENT()0xab035ad5
B_OUT_OF_ETH_QUOTA()0xd615bef4
B_PERMISSION_DENIED()0xe56dc386
B_PROOF_TOO_LARGE()0x1e3b03c9
B_RETRY_FAILED()0x161e3ead
B_SIGNAL_NOT_RECEIVED()0xa2826398

shared/signal/SignalService.sol

ErrorCode
SS_EMPTY_PROOF()0x2e4b6bbc
SS_INVALID_HOPS_WITH_LOOP()0x906c584e
SS_INVALID_LAST_HOP_CHAINID()0xe2fe089c
SS_INVALID_MID_HOP_CHAINID()0xeaac446a
SS_INVALID_STATE()0x98f26f45
SS_SIGNAL_NOT_FOUND()0x738afa05
SS_UNAUTHORIZED()0x1f67751f

layer1/based/LibVerifying.sol

ErrorCode
L1_BLOCK_MISMATCH()0x5d8690aa
L1_INVALID_CONFIG()0x88eb2934
L1_TRANSITION_ID_ZERO()0xd4345b97
L1_TOO_LATE()0x241d70fd

layer1/based/LibProving.sol

ErrorCode
L1_ALREADY_CONTESTED()0x82ef1699
L1_ALREADY_PROVED()0x9d497731
L1_BLOCK_MISMATCH()0x5d8690aa
L1_CANNOT_CONTEST()0xde2c7bfc
L1_DIFF_VERIFIER()0x4f29db4e
L1_INVALID_PARAMS()0x36c7c689
L1_INVALID_PAUSE_STATUS()0xd13a013a
L1_INVALID_TIER()0x1a32f513
L1_INVALID_TRANSITION()0x2fdbbd42
L1_NOT_ASSIGNED_PROVER()0x86168ab4
L1_PROVING_PAUSED()0x66031caa

layer1/based/LibProposing.sol

ErrorCode
L1_BLOB_NOT_AVAILABLE()0xdf9969ef
L1_BLOB_NOT_FOUND()0x9e7e2ddd
L1_INVALID_ANCHOR_BLOCK()0x618e4902
L1_INVALID_CUSTOM_PROPOSER()0xc043062a
L1_INVALID_PARAMS()0x36c7c689
L1_INVALID_PROPOSER()0xd6e2c5a0
L1_INVALID_TIMESTAMP()0x13f7f80d
L1_LIVENESS_BOND_NOT_RECEIVED()0x37e6fc42
L1_TOO_MANY_BLOCKS()0x51ec7d53
L1_UNEXPECTED_PARENT()0x1a83d90e

layer1/based/TaikoL1.sol

ErrorCode
L1_FORK_ERROR()0x3a0e4c1a
L1_INVALID_PARAMS()0x36c7c689

layer1/based/LibUtils.sol

ErrorCode
L1_BLOCK_MISMATCH()0x5d8690aa
L1_INVALID_BLOCK_ID()0x8a1c400f
L1_INVALID_PARAMS()0x36c7c689
L1_INVALID_GENESIS_HASH()0xd6d0f755
L1_TRANSITION_NOT_FOUND()0x727b1d61
L1_UNEXPECTED_TRANSITION_ID()0x67a1907f

lib/QuoteV3Auth/V3Parser.sol

ErrorCode
V3PARSER_INVALID_QUOTE_LENGTN()0x9a800458
V3PARSER_INVALID_QUOTE_MEMBER_LENGTN()0x7841ff9e
V3PARSER_INVALID_QEREPORT_LENGTN()0x03dc2590
V3PARSER_UNSUPPORT_CERTIFICATION_TYPE()0x84f41c44
V3PARSER_INVALID_CERTIFICATION_CHAIN_SIZE()0x22ff290f
V3PARSER_INVALID_CERTIFICATION_CHAIN_DATA()0xc46fc8f6
V3PARSER_INVALID_ECDSA_SIGNATURE()0x46ac673f
V3PARSER_INVALID_QEAUTHDATA_SIZE()0x0c6543ad

layer1/verifiers/SP1Verifier.sol

ErrorCode
SP1_INVALID_PROGRAM_VKEY()0xa068e7d2
SP1_INVALID_AGGREGATION_VKEY()0x0e5a298b
SP1_INVALID_PARAMS()0xa8907a03
SP1_INVALID_PROOF()0xb9e4dcf2

layer1/verifiers/SgxVerifier.sol

ErrorCode
SGX_ALREADY_ATTESTED()0xa2395279
SGX_INVALID_ATTESTATION()0x72ff9e3c
SGX_INVALID_INSTANCE()0x1877af9a
SGX_INVALID_PROOF()0x7bb2c129
SGX_RA_NOT_SUPPORTED()0xfd85d29d

layer1/verifiers/Risc0Verifier.sol

ErrorCode
RISC_ZERO_INVALID_BLOCK_PROOF_IMAGE_ID()0x749091ae
RISC_ZERO_INVALID_AGGREGATION_IMAGE_ID()0xc8cde2c0
RISC_ZERO_INVALID_PROOF()0x444c8c2c

verifiers/compose/ComposeVerifier.sol

ErrorCode
CV_DUPLICATE_SUBPROOF()0xa9270eef
CV_INVALID_CALLER()0x57dc3ccd
CV_INVALID_SUB_VERIFIER()0x26998179
CV_INVALID_SUBPROOF_LENGTH()0x70fc7004
CV_SUB_VERIFIER_NOT_FOUND()0x076f5707

layer1/provers/GuardianProver.sol

ErrorCode
GP_INVALID_GUARDIAN()0xe81e409d
GP_INVALID_GUARDIAN_SET()0x72fca45d
GP_INVALID_MIN_GUARDIANS()0xb8143131
GP_INVALID_STATUS()0x6c242ee7
GV_PERMISSION_DENIED()0x6e66d5f7
GV_ZERO_ADDRESS()0x436b7f1c

layer1/tiers/ITierProvider.sol

ErrorCode
TIER_NOT_FOUND()0xd04c3d84

contracts/layer2/DelegateOwner.sol

ErrorCode
DO_DRYRUN_SUCCEEDED()0xbdfab8df
DO_INVALID_PARAM()0xc3c64b5b
DO_INVALID_SENDER()0xcdb6b920
DO_INVALID_TARGET()0xe4379036
DO_INVALID_TX_ID()0x11cff9ae
DO_PERMISSION_DENIED()0xb1bff0fa

layer2/based/TaikoL2.sol

ErrorCode
L2_BASEFEE_MISMATCH()0x6daa9a9e
L2_FORK_ERROR()0x1799c89b
L2_INVALID_L1_CHAIN_ID()0x413cd128
L2_INVALID_L2_CHAIN_ID()0x8f972ecb
L2_INVALID_PARAM()0x053fd547
L2_INVALID_SENDER()0x6494e9f7
L2_PUBLIC_INPUT_HASH_MISMATCH()0xd719258d
L2_TOO_LATE()0xb41f3c82

layer2/based/Lib1559Math.sol

ErrorCode
EIP1559_INVALID_PARAMS()0xc52de372

test/shared/DeployCapability.sol

ErrorCode
ADDRESS_NULL()0xc61d2985

layer1/verifiers/SP1Verifier.t.sol

ErrorCode
SP1_INVALID_PROOF()0xb9e4dcf2

test/layer2/LibL2Signer.sol

ErrorCode
L2_INVALID_GOLDEN_TOUCH_K()0xbcd2d90d

test/layer2/TaikoL2EIP1559Configurable.sol

ErrorCode
L2_INVALID_CONFIG()0x0186236b