Skip to content

Conversation

@rjnrohit
Copy link
Contributor

@rjnrohit rjnrohit commented Jun 14, 2024

Changes

This PR implements : ethereum/EIPs#8625. more info at: https://eips.ethereum.org/EIPS/eip-7251 and ethereum/execution-apis#554

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

@rjnrohit rjnrohit requested a review from rubo as a code owner June 16, 2024 06:37
@MarekM25 MarekM25 self-requested a review June 23, 2024 17:32
Base automatically changed from prague/get_payload_bodies to pectra June 25, 2024 19:07
@rjnrohit rjnrohit force-pushed the feature/consolidations branch from 0fd1e22 to 16b4477 Compare June 26, 2024 06:15
Copy link
Member

@LukaszRozmej LukaszRozmej left a comment

Choose a reason for hiding this comment

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

This can be done in next PR, but I think we should start leveraging ConsensusRequest polimorphism, so we can easily add more in the future with lesser code

ValidateReceipts = true;

// The below addresses are added for all forks, but the given EIPs can be enabled at a specific timestamp or block.
Eip7251ContractAddress = Eip7251Constants.ConsolidationRequestPredeployAddress;
Copy link
Member

Choose a reason for hiding this comment

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

@MarekM25 why are they added in Olympic, rather than fork they are enabled at? Seems messy to me.

Copy link
Contributor

@MarekM25 MarekM25 Jun 26, 2024

Choose a reason for hiding this comment

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

becuase you don't add them for transition. You don't need to have transition to specify address. We could seperate it to fork-agnostic properties cc: @rjnrohit

@rjnrohit rjnrohit merged commit 3ca5e56 into pectra Jun 27, 2024
@rjnrohit rjnrohit deleted the feature/consolidations branch June 27, 2024 08:46
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.

4 participants