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

rebase PeerDAS onto electra #55

Draft
wants to merge 63 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
a525482
implemented get_custody_columns
Apr 13, 2024
0ed322d
wip
Apr 15, 2024
f181cf1
implemented compute_extended_matrix
Apr 15, 2024
c508ffd
wip
Apr 15, 2024
b243675
implemented recover_matrix
Apr 17, 2024
f629c60
implemented get_data_column_sidecars
Apr 18, 2024
26bbfab
moved c-kzg to dependencies
Apr 18, 2024
f6abe5c
further validation
Apr 29, 2024
e7410d4
moved data sidecar verification to fork_choice_store
Apr 30, 2024
202c01b
data sidecar verifcation
May 1, 2024
4b9833a
fixed bug
May 2, 2024
cabea4c
added tests. They fail, but in a same way as lighthouse
May 4, 2024
03cae9e
added part of networking
May 8, 2024
b0de8b1
make it compile
Tumas May 8, 2024
c2260d4
use consensus spec tests latest versions
Tumas May 8, 2024
9590355
WIP: move eip7594 types to types crate, add ssz_static tests for cont…
Tumas May 8, 2024
790521f
Adjust types, make tests pass for DataColumnSidecar container
Tumas May 9, 2024
47a02c4
Add empty kzg_commitment_inclusion_proof and consensus tests for it
Tumas May 9, 2024
25be79d
Use SubnetId for DataColumnSidecar subnets
Tumas May 9, 2024
2d809d8
Fix inclusion proof construction in EIP-7594
weekday-grandine-io May 10, 2024
5f14941
Rebase eth2_libp2p
Tumas May 10, 2024
035428b
Update grandine-snapshot-tests to include EIP7594_FORK_EPOCH in Config
Tumas May 10, 2024
8c24663
Move DATA_COLUMN_SIDECAR_SUBNET_COUNT const to types
Tumas May 10, 2024
d99ac37
Check if block has more than 50% of data columns to accept it as valid
povi May 10, 2024
27da10f
update eth2_libp2p
Tumas May 12, 2024
f4308d3
Validate pending block against it's parent's data availability
May 12, 2024
23d3092
WIP: Add DataColumnsByRoot rpc
Tumas May 12, 2024
b8f393e
Handle DataColumnSidecars received from RPC by root
Tumas May 12, 2024
54bbfc4
Request needed data columns from mutator
Tumas May 12, 2024
1857890
remove todo! macros in network
Tumas May 13, 2024
46542de
Removed todo macro from fork choice mutator
May 13, 2024
ac06b73
Handle DataColumnsByRoot RPC request (no storage)
Tumas May 13, 2024
d1bf531
Subscribe to all data column subnets for now
povi May 13, 2024
ba79e1a
Add tools to publish DataColumnSidecar
Tumas May 13, 2024
fb020d2
Generate & publish DataColumnSidecars
Tumas May 13, 2024
cb7a3a1
Include trusted setup bytes into binary for use in eip_7594 module
povi May 13, 2024
834b458
Make get_custody_columns tests pass
Tumas May 13, 2024
0d80ceb
Remove unused constants & add more debug info about DataColumnSidecar
Tumas May 13, 2024
1f7b9a2
Remove unused eip_7594 methods
povi May 14, 2024
1c67461
Add error from verify_kzg_proofs to store Error
Tumas May 14, 2024
11b2217
Use correct blob KZG commitments generalized index when verifying dat…
povi May 14, 2024
b1444e0
Handle DataColumnsByRange request
Tumas May 14, 2024
b269420
Fix eip_7594::verify_kzg_proofs
povi May 15, 2024
bcdce7c
Improve kzg_proofs conversions in get_data_column_sidecars
Tumas May 16, 2024
6d740c7
Various fixes
povi May 16, 2024
e615d2a
Relax parent availablity check
Tumas May 16, 2024
0244a48
Data column cache pruning
povi May 16, 2024
98a4c13
fix get_data_column_sidecars & improve code formatting
Tumas May 16, 2024
4c9ed21
Delay data column sidecars and retry processing them when conditions …
povi May 16, 2024
20aa412
Validate DataColumnSidecar subnet if it is present
Tumas May 16, 2024
6a660f7
Update constants
povi May 16, 2024
e75fe4a
Stub data column sidecar syncing
Tumas May 17, 2024
55ebe96
Use is_forward_synced for stub instead of initial_forward_sync
Tumas May 17, 2024
0efd404
Use hardcoded DATA_COLUMN_SIDECAR_COUNT (32) for now
Tumas May 17, 2024
740fcfa
Don't request blobs when das enabled
Tumas May 17, 2024
2cf6e1f
apply stubbed availablity check for parent
Tumas May 17, 2024
121c71a
subscribe to all subnets by default
Tumas May 17, 2024
d3040ab
WIP: DataColumnsByRange RPC
Tumas May 17, 2024
3726f36
Data column cache
povi May 17, 2024
d9341ce
WIP: config
povi May 17, 2024
7cc9815
rebase feature/das onto develop branch
hangleang Jul 10, 2024
4a957b2
fix: rebase conflicts, reconstruction runtime error
hangleang Nov 1, 2024
3445f60
Merge branch 'grandinetech:develop' into rebase-peerdas
hangleang Nov 29, 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
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
url = https://github.com/grandinetech/dedicated_executor.git
[submodule "eth2_libp2p"]
path = eth2_libp2p
url = https://github.com/grandinetech/eth2_libp2p.git
url = https://github.com/hangleang/eth2_libp2p.git
[submodule "grandine-snapshot-tests"]
path = grandine-snapshot-tests
url = https://github.com/grandinetech/grandine-snapshot-tests.git
url = https://github.com/hangleang/grandine-snapshot-tests.git
[submodule "slashing-protection-interchange-tests"]
path = slashing-protection-interchange-tests
url = https://github.com/eth2-clients/slashing-protection-interchange-tests.git
Expand Down
Loading