pub fn update(&self, maybe_newer_l2_block_number: L2BlockNumber) -> L2BlockNumber {
        let prev_value = self
            .0
            .fetch_max(maybe_newer_l2_block_number.0, Ordering::Relaxed);
        L2BlockNumber(prev_value).max(maybe_newer_l2_block_number)
    }
Potentially updates the last sealed L2 block number by comparing it to the provided
sealed L2 block number (not necessarily the last one).

Returns the last sealed L2 block number after the update.
core/node/api_server/src/web3/state.rs