Skip to content

Conversation

@qj0r9j0vc2
Copy link
Member

Summary

  • Add GenesisValidatorData struct for passing genesis validator info
  • Add StakingState::from_genesis_validators() to initialize staking state
  • Add StakingPrecompile::from_genesis_validators() constructor
  • Add ExecutionEngine::with_genesis_validators() constructor
  • Add ExecutionBridge::from_genesis() for production node startup
  • Add Node::with_execution_layer_from_genesis() method

Test plan

  • All 17 staking precompile tests pass
  • All 7 execution bridge tests pass
  • All execution crate tests pass (44 tests)
  • All node crate tests pass (19 tests)

Closes #97

@qj0r9j0vc2 qj0r9j0vc2 self-assigned this Jan 20, 2026
@qj0r9j0vc2 qj0r9j0vc2 merged commit 81924c1 into main Jan 20, 2026
9 checks passed
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.

[Bug] Staking precompile state is not persisted across restarts

2 participants