Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Restarting models if other auction took over id due to chain reorg #3

@ghost

Description

It can happen, if several auctions of the same type are about to be kicked roughly at the same time, that due to a chain reorg auction's id will change. Currently the model we originally spawned for this auction will just receive updated bid/lot/tab, but it will keep running.

We should discuss if it's not too confusing for a model that it gets spawned for one auction but then 'reconfigured' for another one. Alternative would be to kill the original model if we detect the auction is not the same auction anymore (by different bid/lot/tab I guess, depending on auction type) and spawn a new model which will get provided the right bid/lot/tab values since beginning.

Metadata

Metadata

Assignees

No one assigned

    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