pub fn ensure_max_init_code_size<T>(
    transaction: &T,
    max_init_code_size: usize,
) -> Result<(), InvalidPoolTransactionError>
where T: PoolTransaction,
Expand description

Ensure that the code size is not greater than max_init_code_size. max_init_code_size should be configurable so this will take it as an argument.