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

EIP-7547 engine API changes #1

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

EIP-7547 engine API changes #1

wants to merge 21 commits into from

Conversation

michaelneuder
Copy link
Owner

@michaelneuder michaelneuder commented Jan 31, 2024

Overview: Engine API changes to reflect new types and contain IL data.

Itemized:

  • Define INCLUSION_LIST_MAX_GAS constant
  • Structures
    • InclusionListSummaryEntryV1
    • InclusionListSummaryV1
    • InclusionListStatusV1
  • Methods
    • engine_newInclusionListV1 (new API)
      • CL requests the validation of an inclusion list from the EL.
    • engine_getInclusionListV1 (new API)
      • CL requests the construction of an inclusion list from the EL.

The sequence diagram below shows the block production flow, using each of the above APIs.

Screen Shot 2024-03-08 at 8 44 03 AM

src/engine/eip7547.md Outdated Show resolved Hide resolved
src/engine/eip7547.md Outdated Show resolved Hide resolved
src/engine/eip7547.md Outdated Show resolved Hide resolved
src/engine/eip7547.md Outdated Show resolved Hide resolved
src/engine/eip7547.md Outdated Show resolved Hide resolved
src/engine/experimental/eip7547.md Outdated Show resolved Hide resolved
src/engine/experimental/eip7547.md Outdated Show resolved Hide resolved

| Name | Value |
| - | - |
| `INCLUSION_LIST_MAX_GAS` | `uint64(4194304) = 2**22` |
Copy link

Choose a reason for hiding this comment

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

super pedantic, but this could be a u32 right?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No it should be u64, since the gas limit is u64 as well (sure we won't exceed u32 anytime soon, but the spec should be consistent)

Copy link

Choose a reason for hiding this comment

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

I see, makes sense

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