The predicate estimation allows MAX_GAS_PER_TRANSACTION for each predicate in the transaction.
Currently, we allow 255 inputs per transaction. It allows the attacker to consume a lot of resources during the estimation of the predicate by submitting transactions with 255 predicates that are using 30M gas each, which can lead to 85 seconds of execution.
The predicate estimation allows
MAX_GAS_PER_TRANSACTION
for each predicate in the transaction.Currently, we allow 255 inputs per transaction. It allows the attacker to consume a lot of resources during the estimation of the predicate by submitting transactions with 255 predicates that are using
30M
gas each, which can lead to 85 seconds of execution.