I have a chainlink node, and there are transactions that seem to be stuck. How can I fix pending outgoing confirmations?
ACCOUNT_ADDRESS
and send ETH to that address.The second most common is that you're using an outdated version of the chainlink node. Please use 0.9.4 or higher.
MIN_OUTGOING_CONFIRMATIONS
variable in your .env
is too high (it gets set to a default)If you see pending transactions at your oracle contracts address then it is likely #2. If you don't see any, it's likely #1.
If #1, you can just send some ETH to your node and it should be fine. You can find your node's address ACCOUNT_ADDRESS
in the configuration page of your Chainlink GUI.
If #2 you can either:
DELETE FROM job_runs WHERE status = 'pending_outgoing_confirmations';
DELETE FROM tx_attempts WHERE confirmed = 'f';
If #3
Set or change your MIN_OUTGOING_CONFIRMATIONS
and restart the node.
This is likely due to network congestion or you're working on a network that doesn't have many transactions. An easy fix is to reduce the number of incoming confirmations and restart your node.
In your .env
file, add or set the following:
MIN_INCOMING_CONFIRMATIONS=0