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

[WIP] Minimal ePBS without Max EB and 7002 #2

Open
wants to merge 112 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 108 commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
5ef39b8
init
potuz Aug 7, 2023
1a49a51
Add engine methods and check IL validity
potuz Aug 8, 2023
0e2267d
add small design notes for ILs
potuz Aug 8, 2023
844381d
check for gas usage after payload insertion
potuz Aug 8, 2023
ee37d4c
Add helpers that change on ePBS
potuz Aug 8, 2023
13d75bc
switch to gas limit instead of usage as pointed by V. Buterin
potuz Aug 9, 2023
f4b566b
Added more changed helpers
potuz Aug 9, 2023
08b881d
change design notes
potuz Aug 22, 2023
d339dfc
minor changes
potuz Aug 25, 2023
ff1eff7
First forkchoice changes.
potuz Aug 25, 2023
ef7bd40
don't modify verify_block_signature
potuz Aug 25, 2023
9dbd2c5
remove clutter
potuz Aug 25, 2023
c7331a1
Check IL compatibility with parent block hash
potuz Aug 26, 2023
8d6ce8b
Do not broadcast the parent_block_hash but use it as parameter to the EL
potuz Aug 26, 2023
759cdd6
process payment immediately
potuz Aug 26, 2023
90b42e6
Deal with withdrawals
potuz Aug 26, 2023
a604462
fix withdrawals, check only in the CL
potuz Aug 26, 2023
d6ca928
remove unused request dataclass
potuz Aug 27, 2023
70a6e6d
pass the propsoer_index to process_execution_payload_header
potuz Aug 27, 2023
2c4fc84
run doctoc
potuz Aug 27, 2023
43a8dd6
only cache the withdrawals root in the state
potuz Aug 27, 2023
52067d5
ptc rewards pass 1
potuz Aug 28, 2023
a3c2468
only pass relevant IL info to the EL
potuz Aug 28, 2023
800a910
Use envelopes instead of adding builder info to the payload
potuz Aug 28, 2023
0228ea0
ptc message handlers in forkchoice
potuz Aug 29, 2023
1ae9cd9
take ptc members from all committees
potuz Aug 29, 2023
2ed9678
add forkchoice helper to get committee voted
potuz Aug 29, 2023
4389af4
add rewards and ptc attestations to the design doc
potuz Aug 29, 2023
23c46d7
doctoc
potuz Aug 29, 2023
4fe85f8
Design decisions in forkchoice
potuz Aug 30, 2023
4eaddd9
checkpoint descriptions
potuz Aug 30, 2023
d9e0278
fix PTC rewards for old blocks
potuz Aug 30, 2023
4060a9b
update forkchoice weights, take 1
potuz Aug 30, 2023
f3006ca
doctoc updated
potuz Aug 30, 2023
5004908
add head_root
potuz Aug 30, 2023
dc7b24c
add comment on equivocation
potuz Sep 1, 2023
169e02b
remove signed execution payload header
potuz Sep 1, 2023
a7e3ba1
typos
potuz Sep 1, 2023
837897e
add max EB changes
potuz Sep 4, 2023
a29a34c
add el withdraws in the beacon block body
potuz Sep 4, 2023
faacffe
doctoc
potuz Sep 4, 2023
aa88419
add slot to IL
potuz Sep 8, 2023
66f8ee1
use head_root in get_head
potuz Sep 11, 2023
b06e017
design notes
potuz Sep 11, 2023
c2eacf9
onboard builders
potuz Sep 11, 2023
1c6304b
block-slot is missing
potuz Sep 11, 2023
c43400a
block slot
potuz Sep 12, 2023
0c645ad
typos
potuz Sep 14, 2023
bcc1d5f
typos Terence found with chatgpt
potuz Sep 18, 2023
fad1f49
add helper to get payload hash
potuz Sep 20, 2023
458bb8f
minimal churn for transfers
potuz Oct 10, 2023
296a4e8
add mapping for exclusion
potuz Oct 11, 2023
9c5e60b
Revert "add mapping for exclusion"
potuz Oct 11, 2023
545d657
fix design for exclusion list
potuz Oct 11, 2023
bffcc04
fix signature verification
potuz Oct 13, 2023
99b2109
fix il proposers
potuz Oct 13, 2023
5db1f29
add censoring description
potuz Oct 13, 2023
f8db1ea
blockchain.md
potuz Apr 2, 2024
37e892b
doctoc
potuz Apr 2, 2024
945d8bb
init p2p
potuz Apr 2, 2024
ba51dcc
deal with withdrawals in two steps
potuz Apr 3, 2024
6e03e58
more p2p
potuz Apr 3, 2024
d89e527
deal with ptc equivocations
potuz Apr 3, 2024
7c5b458
builder init
potuz Apr 4, 2024
7198b11
Some hardening
potuz Apr 4, 2024
7adb9ea
blob sidecar changes
potuz Apr 4, 2024
4160deb
engine init
potuz Apr 4, 2024
77cd6aa
doctoc
potuz Apr 5, 2024
29a1c4d
move hash to the inclusion list envelope
potuz Apr 5, 2024
2bde439
use min instead of max for get_ptc
potuz Apr 5, 2024
5759e34
add parent_block_root to the execution bid
potuz Apr 7, 2024
de20380
beacon block p2p changes
potuz Apr 8, 2024
c4aa0cd
on_block and keep unsigned header in state
potuz Apr 8, 2024
99132a4
changed type in state too
potuz Apr 8, 2024
c9e1834
penalize twice the proposer for including bad ptc
potuz Apr 8, 2024
f785453
inclusion list forkchoice handler
potuz Apr 8, 2024
075837e
ptc_message forkchoice handler
potuz Apr 8, 2024
0659a91
only check payload hash if not withheld
potuz Apr 12, 2024
4d799b2
forkchoice no payload boosts
potuz Apr 15, 2024
7b6fa0f
Fix ePBS beacon_chain.md typos
terencechain Apr 15, 2024
3411f45
Add payload boosts
potuz Apr 16, 2024
b33c222
doctoc
potuz Apr 16, 2024
680bcdb
fix typo withheld -> withhold
potuz Apr 16, 2024
25dde5e
apply boost for attestations from blocks as well
potuz Apr 16, 2024
9fa6e14
typo
potuz Apr 16, 2024
960e92d
Fix some forkchoice typos
terencechain Apr 16, 2024
018fa39
Update specs/_features/epbs/fork-choice.md
terencechain Apr 16, 2024
ac93d02
fix get_head to take all children with or without payload from justified
potuz Apr 17, 2024
727a043
do not compute the same child twice
potuz Apr 17, 2024
5f97041
Revert "do not compute the same child twice"
potuz Apr 17, 2024
84280a7
Reapply "do not compute the same child twice"
potuz Apr 17, 2024
b68d884
only iterate over children with actual payloads
potuz Apr 17, 2024
8674517
consider PTC vote untying max weight
potuz Apr 17, 2024
b2c6482
Fix boost computation
potuz Apr 17, 2024
17b9e90
use ChildNode across forkchoice
potuz Apr 17, 2024
c63b81e
doctoc
potuz Apr 17, 2024
5ff8d54
modify get_ancestor to return a ChildNode
potuz Apr 17, 2024
f35cc68
typo
potuz Apr 17, 2024
18c31e4
fix boosts for future slots
potuz Apr 17, 2024
ba0283c
remove unnecessary node redefinition
potuz Apr 18, 2024
9edc282
descend only into right payload except at the justified checkpoint
potuz Apr 18, 2024
f3a035a
update head root in get_head loop
potuz Apr 18, 2024
6c60686
update get_head to use ChildNodes
potuz Apr 18, 2024
502e98d
stranded on_block simplifications
potuz Apr 18, 2024
05fbb9a
did not remove process_withdrawals
potuz Apr 18, 2024
1e9406d
Add engine_getInclusionListV1 to engine.md
terencechain Apr 19, 2024
8883b29
coherent naming in engine API
potuz Apr 19, 2024
ae35416
fix unused constant
potuz Apr 19, 2024
eedf7fb
Apply suggestions from Leonardo Arias
potuz Apr 24, 2024
5ebda89
Move exec payload header position to replace latest payload header
terencechain Apr 25, 2024
2decd43
require the target blockroot of a PTC message is valid
potuz May 17, 2024
d0060c0
Add fork logic for ePBS (#6)
terencechain Jun 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading