diff --git a/pallets/rolldown/src/lib.rs b/pallets/rolldown/src/lib.rs index cfedb666e..6c598a7e9 100644 --- a/pallets/rolldown/src/lib.rs +++ b/pallets/rolldown/src/lib.rs @@ -1832,6 +1832,11 @@ impl Pallet { chain: ::ChainId, deposit: messages::Deposit, ) -> Result<(), Error> { + ensure!( + !T::MaintenanceStatusProvider::is_maintenance(), + Error::::BlockedByMaintenanceMode + ); + let deposit_hash = deposit.abi_encode_hash(); if deposit.requestId.id <= LastProcessedRequestOnL2::::get(chain) {