In the on-chain-dkg branch, DKG messages are sent as soon as the phase in which they are valid starts. In rare cases, this leads to errors: Even though the Ethereum client already sent us the newHead event, the immediately following eth_estimateGas call may still be processed under the previous block. This results in the call failing.
The easiest way to fix this is to delay sending the DKG message by a block.
In the on-chain-dkg branch, DKG messages are sent as soon as the phase in which they are valid starts. In rare cases, this leads to errors: Even though the Ethereum client already sent us the
newHeadevent, the immediately followingeth_estimateGascall may still be processed under the previous block. This results in the call failing.The easiest way to fix this is to delay sending the DKG message by a block.