op_alloy::protocol

Constant MAX_FRAME_LEN

Source
pub const MAX_FRAME_LEN: usize = 1_000_000; // 1_000_000usize
Available on crate feature protocol only.
Expand description

Frames cannot be larger than 1MB.

Data transactions that carry frames are generally not larger than 128 KB due to L1 network conditions, but we leave space to grow larger anyway (gas limit allows for more data).