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
all: implement EIP-6110, execution layer triggered deposits #29431
base: master
Are you sure you want to change the base?
Conversation
We added some logics in downloader when we introduce |
core/types/block.go
Outdated
if deposits == nil { | ||
b.header.DepositsHash = nil | ||
} else if len(deposits) == 0 { | ||
b.header.DepositsHash = &EmptyWithdrawalsHash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EmptyDepositsHash
core/types/block.go
Outdated
b = b.WithWithdrawals(withdrawals) | ||
|
||
// TODO(matt): copy this | ||
b.deposits = deposits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e.g. b.deposits = slices.Clone(deposits)
?
b6ebd84
to
e86bac2
Compare
e4446bb
to
7a41242
Compare
We need to allow prague in fcuV3 as well |
4bd12ed
to
c8d39fc
Compare
… 6110 deposit type
754e90c
to
2b293f5
Compare
Still WIP.
This PR implements EIP-6110: Supply validator deposits on chain. It also sketches out the base for Prague in the engine API types. I plan to base future Prague EIP work against this PR.