Skip to content

Commit

Permalink
feat: sort errors
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Feb 16, 2023
1 parent 6549383 commit bfc514f
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions packages/protocol/contracts/L1/TaikoCustomErrors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,49 +11,49 @@ abstract contract TaikoCustomErrors {
// The following custom errors must match the definitions in other V1 libraries.

// LibProposing
error L1_METADATA_FIELD();
error L1_COMMITTED();
error L1_EXTRA_DATA();
error L1_ID();
error L1_TOO_MANY();
error L1_GAS_LIMIT();
error L1_COMMITTED();
error L1_ID();
error L1_INPUT_SIZE();
error L1_METADATA_FIELD();
error L1_NOT_COMMITTED();
error L1_SOLO_PROPOSER();
error L1_INPUT_SIZE();
error L1_TOO_MANY();
error L1_TX_LIST();

// LibProving
// error L1_ID(); // Already defined in LibProposing.
error L1_PROVER();
error L1_TOO_LATE();
// error L1_INPUT_SIZE(); // Already defined in LibProposing.
error L1_PROOF_LENGTH();
error L1_CONFLICT_PROOF();
error L1_CIRCUIT_LENGTH();
error L1_META_MISMATCH();
error L1_ZKP();
error L1_TOO_MANY_PROVERS();
error L1_DUP_PROVERS();
error L1_NOT_FIRST_PROVER();
error L1_CANNOT_BE_FIRST_PROVER();
error L1_ANCHOR_TYPE();
error L1_ANCHOR_CALLDATA();
error L1_ANCHOR_DEST();
error L1_ANCHOR_GAS_LIMIT();
error L1_ANCHOR_CALLDATA();
error L1_ANCHOR_SIG_R();
error L1_ANCHOR_SIG_S();
error L1_ANCHOR_RECEIPT_ADDR();
error L1_ANCHOR_RECEIPT_DATA();
error L1_ANCHOR_RECEIPT_LOGS();
error L1_ANCHOR_RECEIPT_PROOF();
error L1_ANCHOR_RECEIPT_STATUS();
error L1_ANCHOR_RECEIPT_LOGS();
error L1_ANCHOR_RECEIPT_ADDR();
error L1_ANCHOR_RECEIPT_TOPICS();
error L1_ANCHOR_RECEIPT_DATA();
error L1_ANCHOR_SIG_R();
error L1_ANCHOR_SIG_S();
error L1_ANCHOR_TYPE();
error L1_CANNOT_BE_FIRST_PROVER();
error L1_CIRCUIT_LENGTH();
error L1_CONFLICT_PROOF();
error L1_DUP_PROVERS();
// error L1_ID(); // Already defined in LibProposing.
// error L1_INPUT_SIZE(); // Already defined in LibProposing.
error L1_META_MISMATCH();
error L1_NOT_FIRST_PROVER();
error L1_PROOF_LENGTH();
error L1_PROVER();
error L1_TOO_LATE();
error L1_TOO_MANY_PROVERS();
error L1_ZKP();

// LibUtils
error L1_HALT_CONDITION();
error L1_BLOCK_NUMBER();
error L1_HALT_CONDITION();

// LibVerifying
error L1_HALTED();
error L1_0_FEE_BASE();
error L1_HALTED();
}

0 comments on commit bfc514f

Please sign in to comment.