Skip to content

proposer: Recheck the game UUID before clearing a pending creation tx #22140

Description

@Inphi

After a create times out, the game can land between the UUID lookup and the nonce checks. In that case the txpool appears drained, so we clear the pending game creation record without noticing the game. If the pinned game cache is still behind, the proposer could then create another sibling.

Before clearing, check the UUID once more and adopt the game if it appeared.

See this convo for more details - #22097 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions