Function reth_transaction_pool::validate::ensure_max_init_code_size
source ยท pub fn ensure_max_init_code_size<T: PoolTransaction>(
transaction: &T,
max_init_code_size: usize,
) -> Result<(), InvalidPoolTransactionError>
Expand description
A TransactionValidator
implementation that validates ethereum transaction.
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.