# Functions
MaintainGasLimit returns a BatchHandlerFunc that ensures the max gas used from the entire batch does not exceed the allowed threshold.
SortByNonce returns a BatchHandlerFunc that ensures ops with same sender is ordered by ascending nonce regardless of gas price.