Automatic transactions in the task loop fail when the user-inputted priorityFee is greater than the oracle based maxFee. This PR addresses this case by setting priorityFee to min(priorityFee, 25% of the oracle based maxFee) when priorityFee > maxFee for transactions in the node task loop.
For example: automatically initializing vote power, defending pDAO proposals, bond reductions and so on.
The change is also applied to watchtower task process-penalties.go
Automatic transactions in the task loop fail when the user-inputted
priorityFee
is greater than the oracle basedmaxFee
. This PR addresses this case by settingpriorityFee
tomin(priorityFee, 25% of the oracle based maxFee
) whenpriorityFee > maxFee
for transactions in the node task loop.For example: automatically initializing vote power, defending pDAO proposals, bond reductions and so on.
The change is also applied to watchtower task
process-penalties.go