aligned_layer
aligned_layer copied to clipboard
feat: save task responses that could not be sent because `checkRespondToTaskFeeLimit` did not pass to respond later
In the aggregator, when sending the aggregated response, it might occur that the gasPrice increases and the checkRespondToTaskFeeLimit does not pass. We should store those tasks and send the response after some time if the gas price has decreased.
This issue is more complicated, it should not only save the response for later, but either cancel the sent one with a new txs ore replace it with a future one, which can have the same problem.
This one should be made first
https://github.com/yetanotherco/aligned_layer/issues/1402