Skip to content

Don't send DKG messages right at phase boundary #721

Description

@jannikluhn

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions