-
Notifications
You must be signed in to change notification settings - Fork 146
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): remove block.go and import Block
and Body
from libevm (6)
#760
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2be5a7b
to
87f5043
Compare
Body
libevm RLP codec hooks
2 tasks
da83d82
to
58f1171
Compare
9978144
to
7027a42
Compare
53eb228
to
d65a0d2
Compare
3593f92
to
1daa313
Compare
Body
libevm RLP codec hooksBody
RLP codec hooks (5)
da70431
to
3ff7dea
Compare
d65a0d2
to
787b67d
Compare
3ff7dea
to
783edc9
Compare
bb94d07
to
3c3ee20
Compare
bb303d6
to
dc264fe
Compare
e877b8e
to
382b527
Compare
dc264fe
to
b999d7c
Compare
Body
RLP codec hooks (5)Body
and Block
RLP and copy hooks (5)
825adad
to
ff1e5bd
Compare
ARR4N
previously approved these changes
Feb 28, 2025
26f3c6d
to
a770faa
Compare
a770faa
to
37797f0
Compare
Last force push adding missing commit pgp signatures on a few commits, sorry about that, I'll recheck my settings. |
darioush
approved these changes
Feb 28, 2025
Body
and Block
RLP and copy hooks (6)Block
and Body
from libevm (6)
ARR4N
approved these changes
Feb 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why this should be merged
Remove core/types/block.go and one step closer to remove core/rawdb entirely
How this works
BlockBodyExtra
extra payload defined for bothBlock
andBody
Copy
to be used inBlock
methodsBody
,WithSeal
,WithBody
andWithWithdrawals
BlockRLPFieldsForEncoding
andBlockRLPFieldsForDecoding
for RLP codec ofBlock
BodyRLPFieldsForEncoding
andBodyRLPFieldsForDecoding
for RLP codec ofBody
SetBlockExtra
to set an extra payloadBlockBodyExtra
on aBlock
SetBodyExtra
to set an extra payloadBlockBodyExtra
on aBody
BlockExtDataGasUsed
,BlockGasCost
,BlockExtData
,BlockVersion
,BlockExtDataGasUsed
,BlockGasCost
core/types
:Block
,Blocks
,Body
,CalcUncleHash
,NewBlock
andNewBlockWithHeader
core/types/block.go
How this was tested
Existing and new tests
Need to be documented?
No
Need to update RELEASES.md?
No