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

chore(core/types): Header libevm Copy hook #759

Draft
wants to merge 2 commits into
base: libevm-upstream-types
Choose a base branch
from

Conversation

qdm12
Copy link
Collaborator

@qdm12 qdm12 commented Jan 21, 2025

Why this should be merged

How this works

➡️ header copy hooks libevm PR

How this was tested

Need to be documented?

Need to update RELEASES.md?

@qdm12 qdm12 force-pushed the qdm12/core/types/header-copy-hooks branch 2 times, most recently from 88fa9e2 to bde7fb2 Compare January 21, 2025 16:15
@qdm12 qdm12 marked this pull request as ready for review January 21, 2025 17:04
@qdm12 qdm12 requested review from ceyonur and a team as code owners January 21, 2025 17:04
@qdm12 qdm12 marked this pull request as draft January 21, 2025 17:05
extraCopy.ExtDataGasUsed.SetBytes(h.ExtDataGasUsed.Bytes())
}

cpy := ethtypes.CopyEthHeader(header)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I chose to export the original eth CopyHeader as CopyEthHeader, otherwise we would have to re-implement here (I tried to unexport it as copyHeader before this change).

core/types/imports.go Outdated Show resolved Hide resolved
@qdm12 qdm12 changed the title chore(core/types): header copy hooks chore(core/types): Header libevm Copy hook Jan 21, 2025
@qdm12 qdm12 force-pushed the qdm12/core/types/header-copy-hooks branch from 495e9b6 to da83d82 Compare January 22, 2025 09:54
@qdm12 qdm12 force-pushed the qdm12/core/types/header-copy-hooks branch from da83d82 to 58f1171 Compare January 22, 2025 09:56
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