Hi, I have problems with the autotak from defender.
I'm running 4 autotasks with a time difference between them of 5 minutes, one of these autotasks run a function in the polygon blockchain that emits an event, and this event active a sentinel that runs another autotask that executes the same function and emits the same event until calculating payment for almost 300 wallets, I execute the sentinel & Autotask in that way cause I do the calculatin by segments of 40 wallets at a time, once I calculate the payment for all the wallets the script stop the calls to the function, but during the execution of this flow the autotask throws me this error constantly:
Error while attempting request: Insufficient funds: 14.734470590104 MATIC required but 1.711063096459762783 MATIC are available for usage on the account(balance is currently 48.311185672899762783 MATIC and the expected cost of all pending transactions is 46.60012257644 MATIC).
why is the defender throwing this error if I have 48 matic and the Tx needs 14?, also the funds asked for the autotask seem exaggerated.
I have configured the speed to fast and the gas limit to 4 million.
can someone help me to know what's going on? or what can I improve to avoid this error?
Environment
Relayer - autotask - sentinel
Details
Code to reproduce