Skip to content

Add CheckpointsConfig - #209

Merged
evgeny-stakewise merged 2 commits into
masterfrom
checkpoints-config
Sep 24, 2026
Merged

evgeny-stakewise merged 2 commits into
masterfrom
checkpoints-config

Conversation

@evgeny-stakewise

Copy link
Copy Markdown
Contributor

Adds CheckpointsConfig to networks.py. It holds pinned blocks past which services (operator, keeper, oracle) no longer need execution client event logs.

  • Moves GENESIS_VALIDATORS_IPFS_HASH and GENESIS_VALIDATORS_LAST_BLOCK from BaseNetworkConfig into CheckpointsConfig.
  • Adds CONFIG_UPDATE_LAST_EVENT_BLOCK and CONFIG_UPDATE_CHECKPOINT_BLOCK, with values taken from v3-operator.
  • Exposes the config as BaseNetworkConfig.CHECKPOINTS.
  • Bumps the version to v0.15.0.

Breaking change: network_config.GENESIS_VALIDATORS_* is now network_config.CHECKPOINTS.GENESIS_VALIDATORS_*. Services can subclass CheckpointsConfig to add their own checkpoints.

@evgeny-stakewise
evgeny-stakewise merged commit d3807bc into master Sep 24, 2026
3 checks passed
@evgeny-stakewise
evgeny-stakewise deleted the checkpoints-config branch September 24, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants