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): Block libevm Body and RLP hooks #750

Draft
wants to merge 5 commits into
base: qdm12/core/types/body-libevm
Choose a base branch
from

Conversation

qdm12
Copy link
Collaborator

@qdm12 qdm12 commented Jan 16, 2025

Why this should be merged

How this works

Based on #760

➡️ Libevm block codec+body hooks PR

How this was tested

Need to be documented?

Need to update RELEASES.md?

@qdm12 qdm12 changed the base branch from master to libevm January 16, 2025 18:16
@qdm12 qdm12 changed the base branch from libevm to libevm-upstream-types January 16, 2025 18:18
plugin/evm/vm_test.go Outdated Show resolved Hide resolved
plugin/evm/block.go Outdated Show resolved Hide resolved
plugin/evm/vm_test.go Outdated Show resolved Hide resolved
Comment on lines +22 to +26

// Fields removed from geth:
// - withdrawals Withdrawals
// - ReceivedAt time.Time
// - ReceivedFrom interface{}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

note to self: remove these eventually

core/types/block_ext.go Outdated Show resolved Hide resolved
Comment on lines +143 to +145
func WrapWithTimestamp(b *Block) *BlockWithTimestamp {
return &BlockWithTimestamp{Block: b}
}

type BlockWithTimestamp struct {
*Block
}

func (b *BlockWithTimestamp) Timestamp() uint64 {
return b.Time()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

remove this once #749 is merged

core/types/imports.go Outdated Show resolved Hide resolved
core/types/libevm.go Outdated Show resolved Hide resolved
core/types/libevm.go Outdated Show resolved Hide resolved
plugin/evm/vm_test.go Outdated Show resolved Hide resolved
@qdm12 qdm12 force-pushed the qdm12/core/types/block-libevm branch 7 times, most recently from 2e8acfd to c068eea Compare January 21, 2025 16:52
@qdm12 qdm12 force-pushed the qdm12/core/types/block-libevm branch from c068eea to a3593f6 Compare January 22, 2025 10:19
@qdm12 qdm12 changed the base branch from libevm-upstream-types to qdm12/core/types/body-libevm January 22, 2025 10:40
@qdm12 qdm12 changed the title chore(core/types): use libevm Block chore(core/types): Block libevm Body and RLP hooks Jan 22, 2025
@qdm12 qdm12 force-pushed the qdm12/core/types/body-libevm branch 2 times, most recently from 53eb228 to d65a0d2 Compare January 24, 2025 10:48
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