Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Pectra eip7702 consolidations #7449

Closed
wants to merge 431 commits into from

Conversation

MarekM25
Copy link
Contributor

Changes

Don't review it for now

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

Notes on testing

Optional. Remove if not applicable.

Documentation

Requires documentation update

  • Yes
  • No

If yes, link the PR to the docs update or the issue with the details labeled docs. Remove if not applicable.

Requires explanation in Release Notes

  • Yes
  • No

If yes, fill in the details here. Remove if not applicable.

Remarks

Optional. Remove if not applicable.

ak88 and others added 24 commits September 16, 2024 15:55
(cherry picked from commit 62dfc7f)
(cherry picked from commit 3dbb0ef)
(cherry picked from commit 419d727)
(cherry picked from commit 19f3ad5)
(cherry picked from commit 5c1e3dc)
(cherry picked from commit 0739aaa)
This reverts commit 19f3ad5.

(cherry picked from commit d18d4ea)
(cherry picked from commit bf78353)
(cherry picked from commit 6380314)
(cherry picked from commit cf58cd2)
(cherry picked from commit 7974a8b)
(cherry picked from commit 7b28007)
(cherry picked from commit b1020eb)
(cherry picked from commit d30e193)
(cherry picked from commit 68c3736)
(cherry picked from commit fc45531)
(cherry picked from commit d11df9c)
(cherry picked from commit caed2f3)
(cherry picked from commit bb7c803)
@emlautarom1 emlautarom1 self-requested a review September 17, 2024 14:31
Copy link
Contributor

@emlautarom1 emlautarom1 left a comment

Choose a reason for hiding this comment

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

  • Some questions regarding checks on consolidation request lists
  • Spotted an issue when compiling Ethereum.Test.Base
  • Spotted an issue when serializing transaction that should not have AuthorizationList as a field.
  • Also several small things (ex. unused imports and variables, empty files, magic constants, typos, etc).

There are still some things missing (ex. SetCode transaction validation) but we can already work on the above mentioned items.

Also, since the PR involves changes to the VirtualMachine code it should be thoroughly reviewed.

public virtual bool IsEip2935Enabled => spec.IsEip2935Enabled;
public virtual bool IsEip7709Enabled => spec.IsEip7709Enabled;
public virtual Address Eip2935ContractAddress => spec.Eip2935ContractAddress;
public virtual bool IsEip6780Enabled => spec.IsEip6780Enabled;
public bool IsEip7702Enabled => spec.IsEip7702Enabled;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we have a similar issue to #7386 (comment) where we're not cascading the EIP requirements?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should have depency chains for EIPs in ReleaseSpec?
But i think that is outside the scope here.
@MarekM25

src/Nethermind/Nethermind.Mev.Test/MevMegabundleTests.cs Outdated Show resolved Hide resolved
src/Nethermind/Nethermind.Mev/MevPlugin.cs Outdated Show resolved Hide resolved
src/Nethermind/Nethermind.Mev/Source/BundlePool.cs Outdated Show resolved Hide resolved
Base automatically changed from pectra_payload_bodies to master September 23, 2024 12:26
@MarekM25
Copy link
Contributor Author

Closing in favor of #7459

@MarekM25 MarekM25 closed this Sep 23, 2024
@emlautarom1
Copy link
Contributor

My bad on this one, I missed the Don't review it for now 🫠

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.

6 participants