Skip to content

Conversation

@davidcauchi
Copy link
Contributor

@davidcauchi davidcauchi commented Jul 7, 2025


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes introduce support for a new Ethereum fork named Electra across various components of a Ethereum testing environment. This includes updating Ethereum fork constants, docker images for Ethereum clients and genesis generators, and configurations for test environments and genesis generation scripts. The addition ensures the testing framework remains up-to-date with the latest Ethereum developments, enabling testing and experimentation with the Electra fork.

What

  • lib/docker/ethereum/ethereum.go
    • Added EthereumFork_Electra to the list of Ethereum forks.
    • Updated ValidFutureForks function to include Electra as a valid future fork for Deneb.
  • lib/docker/ethereum/images.go
    • Added GenesisGeneratorElectraImage constant with a new Docker image for the Electra genesis generator.
  • lib/docker/test_env/cmd/internal/start_test_env_commands.go
    • Updated HardForkEpochs map in the Ethereum chain configuration to include "Electra" with a specified epoch.
  • lib/docker/test_env/genesis_generator.go
    • Included Electra in generatorForkToImageMap and generatorForkToDataDirMap for genesis generation.
  • lib/docker/test_env/genesis_generator_helpers.go
    • Uncommented the ELECTRA_FORK_EPOCH environment variable in the genesis generation template, enabling its specification.
  • lib/docker/test_env/prysm.go
    • Added support for Electra in beaconForkToImageMap and validatorForkToImageMap, specifying new Docker images for Prysm beacon chain and validator for the Electra fork.

HardForkEpochs: map[string]int{"Deneb": 200, "Electra": 1000,},
})

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove whitespaces?

@davidcauchi davidcauchi closed this Jul 8, 2025
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