pub const MAX_SPAN_BATCH_ELEMENTS: u64 = 10_000_000; // 10_000_000u64
MAX_SPAN_BATCH_ELEMENTS is the maximum number of blocks, transactions in total, or transaction per block allowed in a span batch.