Skip to content

Only start an epoch instance if has synced to the current epoch and is part of the latest validator set #445

Description

@samliok

We currently start an epoch instance if it is a validator set of the transitioning epoch(i.e. the epoch onEpochChange is called on)
https://github.com/ava-labs/Simplex/blob/main/instance.go#L552

But what if the epoch is an old epoch? Maybe the validator set has changed since then and we aren't even a validator anymore.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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