The problem however is that if the network fees were to go up due to whatever external reason, the Tx's could get stuck with currently no way to increase the set fees inside feeConfig. Note that increasing satoshiPerByte is ineffective since the fees have already been set upon calling the function.
There is also currently no way to retry this transaction
Recommendation
implement some sort of logic to retry this transaction if it were to get stuck. Could be with a nonce or simply allowing the gas to be increased whenever necessary.
Github username: -- Twitter username: -- Submission hash (on-chain): 0xb824a53f38852f4597382ed81a4a6679b30508e556ee576bb37c5352e4399c45 Severity: high
Description:
Description
function
startOutgoingTxSerializing
starts an outgoing Tx. Inside this functioncreateSerializer
is called to create a new serializer:The
feeConfig
is calculated:Whenever the outgoing Tx has to be completed the following function is called:
For this function to successfully execute, the
_serializers
have to beFinished
The problem however is that if the network fees were to go up due to whatever external reason, the Tx's could get stuck with currently no way to increase the set fees inside
feeConfig
. Note that increasingsatoshiPerByte
is ineffective since the fees have already been set upon calling the function.There is also currently no way to retry this transaction
Recommendation
implement some sort of logic to retry this transaction if it were to get stuck. Could be with a nonce or simply allowing the gas to be increased whenever necessary.