Skip to content

Allow fetching rollkitmngr state in rollkit-migrate command #164

Open
@julienrbrt

Description

@julienrbrt

Currently, the migrate command uses the CometBFT consensus validators to migrate to the sequencer.
It makes the assumptions and uses the first validator of that set.

This works perfectly when not using an attester set.
When using an attester set, the first validator may not be the sequencer.

A chain migrating and using an attester set must use the rollkitmngr module. Meaning we should improve the rollkit-migrate command to:

  • If the cometbft validators are > 0
    • Fetch the rollkitmngr state to get the sequencer.

Originally posted by @julienrbrt in #150 (comment)

Metadata

Metadata

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