Validation Rules

While Cero network does not maintain the state tree of all the Rollup subscribed to it, its still important for it to validate the transactions before they are preconfirmed or added to the batches. The reasoning behind this is pretty straight, the transaction order once confirmed by the Cero chain should be absolute and Rollups cannot drop the transactions at will once confirmed by Cero chain.

These checks include the following,

  1. London Fork - Before London fork, only allow legacy transactions. If London fork is enabled, then allow EIP1559.

  2. EIP155 - Only allow transactions with EIP155 enabled.

  3. Min Gas Price Check - Only accept transactions with minimum gas price set to the Rollup's configured value.

  4. Rollup's Registration Check - Ensure the transactions for sequencing are corresponding to a registered Rollup.

  5. Max Gas Limit - Gas limit inside a Rollup.

  6. Max Transaction Fee - Maximum transaction acceptable in a transcation.

  7. Balance Checks - If an account has sufficient balance to cover for fees for the time of execution on Rollup's side.

Last updated