Skip to content

Conversation

@zeekay
Copy link
Member

@zeekay zeekay commented Oct 25, 2025

Summary

This PR adds regenesis support to SubnetEVM, enabling configuration and VM modifications necessary for the migration to C-Chain architecture.

Changes

Configuration Updates

  • plugin/evm/config/config.go: Added regenesis configuration parameters
    • Support for migration settings
    • Replay configuration options
    • State transition parameters

VM Modifications

  • plugin/evm/vm.go: Enhanced VM to support migration operations
    • Runtime replay compatibility
    • State preservation during migration
    • Block processing improvements

Purpose

These changes are part of the larger regenesis effort to migrate SubnetEVM chains to a unified C-Chain architecture. The modifications ensure SubnetEVM can properly interface with the migration tools and replay functionality.

Related PRs

Testing

These changes have been tested as part of the full migration pipeline:

  • ✅ Configuration loading and validation
  • ✅ VM initialization with migration settings
  • ✅ Compatibility with replay operations

Impact

This PR is essential for enabling SubnetEVM instances to participate in the regenesis migration process, preserving all historical data while transitioning to the new architecture.

This commit adds configuration and VM support for SubnetEVM migration.

Key changes:
- plugin/evm/config/config.go: Configuration for regenesis parameters
- plugin/evm/vm.go: VM modifications to support migration and replay

These changes enable SubnetEVM to work with the regenesis migration
process, allowing seamless transition to C-Chain architecture.
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