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

Eip4844 devnet v3 #3751

Merged
merged 75 commits into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
fe04d94
make signed block + sidecar consensus spec
realbigsean Nov 10, 2022
7162e5e
add a bunch of blob coupling boiler plate, add a blobs by root request
realbigsean Nov 15, 2022
78c7215
toy skelleton of sync changes
divagant-martian Nov 16, 2022
dfd0013
Merge pull request #22 from divagant-martian/seans-block-blobs
realbigsean Nov 16, 2022
45897ad
remove blob wrapper
realbigsean Nov 19, 2022
dc87156
block and blob handling progress
realbigsean Nov 19, 2022
e7ee791
add blobs cache and fix some block production
realbigsean Nov 21, 2022
7ed2d35
get it to compile
divagant-martian Nov 21, 2022
a0d712e
Merge pull request #23 from divagant-martian/blob-syncing
realbigsean Nov 21, 2022
51b4429
rename excess blobs and fix json serialization/deserialization
realbigsean Nov 22, 2022
160b915
remove coments
realbigsean Nov 22, 2022
48b2efc
merge with upstream
realbigsean Nov 22, 2022
3288404
Skeleton
pawanjay176 Nov 15, 2022
e8b5f31
Add kzg crate functions
pawanjay176 Nov 21, 2022
902055f
ugly utils
pawanjay176 Nov 21, 2022
f601fb3
ef-test updates
realbigsean Nov 23, 2022
53a22c2
Two Capella bugfixes
michaelsproul Nov 23, 2022
87ec448
Merge branch 'eip4844' of https://github.com/sigp/lighthouse into blo…
realbigsean Nov 23, 2022
e56fefb
fix payload default check in fork choice
realbigsean Nov 23, 2022
743347c
Revert "fix payload default check in fork choice"
realbigsean Nov 23, 2022
ce097ac
Merge branch 'json-rpc-blobs-updates' of https://github.com/realbigse…
realbigsean Nov 23, 2022
62f8a5e
Merge branch 'blob-syncing' of https://github.com/realbigsean/lightho…
realbigsean Nov 23, 2022
7aa52a4
ef-test fixes
realbigsean Nov 23, 2022
abc933f
Merge branch 'capella-bugfixes' of https://github.com/michaelsproul/l…
realbigsean Nov 23, 2022
beddcfa
get spec tests working and fix json serialization
realbigsean Nov 23, 2022
bf50052
Blob syncing (#24)
divagant-martian Nov 24, 2022
1222404
Merge branch 'blob-syncing' of https://github.com/realbigsean/lightho…
realbigsean Nov 24, 2022
a61f352
fix compiling
realbigsean Nov 24, 2022
f88caa7
set quota for blobs by root
realbigsean Nov 25, 2022
d6838d6
add clang to dockerfile
realbigsean Nov 25, 2022
07a79c8
add block and blobs sidecar to whitelist
realbigsean Nov 25, 2022
3c9e1ab
merge upstream
realbigsean Nov 26, 2022
3075b82
Add kzg trusted setup file cli param and load into beacon chain
pawanjay176 Nov 28, 2022
9640d42
Run kzg operations for block operations
pawanjay176 Nov 28, 2022
cb78f2f
Add more kzg validations
pawanjay176 Nov 28, 2022
25f2925
hack the thing to get it to compile
divagant-martian Nov 28, 2022
f4babde
more hacks
divagant-martian Nov 28, 2022
92cae14
add blob info
realbigsean Nov 28, 2022
0027cdc
Merge branch 'eip4844-devnet-v3' of https://github.com/realbigsean/li…
realbigsean Nov 28, 2022
6d7235f
add blob info
realbigsean Nov 28, 2022
e962e80
fix compile errors
realbigsean Nov 28, 2022
805df30
wip
divagant-martian Nov 28, 2022
4760dbb
add wrapper type
divagant-martian Nov 28, 2022
3c79c33
TEMP HACK to get it compiling
divagant-martian Nov 28, 2022
050acf6
Revert "TEMP HACK to get it compiling"
divagant-martian Nov 28, 2022
c532f44
debug impl for wrapper type
divagant-martian Nov 28, 2022
e548073
Merge branch 'blob-syncing' into eip4844-devnet-v3
divagant-martian Nov 28, 2022
0ed3f74
Remove empty blob handling as it's handled in kzg library
pawanjay176 Nov 29, 2022
8b56446
Add more kzg validations
pawanjay176 Nov 29, 2022
422d145
chain segment processing for blobs
realbigsean Nov 30, 2022
fc9d0a5
handle blobs by range requests
realbigsean Nov 30, 2022
2157d91
process single block and blob
realbigsean Nov 30, 2022
979a95d
handle unknown parents for block-blob pairs
divagant-martian Nov 30, 2022
8102a01
merge with upstream
realbigsean Dec 1, 2022
c96234f
fix hex be opt
realbigsean Dec 1, 2022
2cd971c
attempt to fix serde for opt hex be u256
realbigsean Dec 1, 2022
ff24773
Add EL scripts
pawanjay176 Nov 30, 2022
df36156
Embed interop validators into genesis
pawanjay176 Nov 30, 2022
e72d9fb
Working post bellatrix local testnet
pawanjay176 Dec 2, 2022
2704955
local testnet config updates
realbigsean Dec 6, 2022
ae054d2
fix compilation errors (#25)
jimmygchen Dec 7, 2022
e5f2651
add trusted setup, query different version of EL endpoint at each fork
realbigsean Dec 7, 2022
33721d1
Revert "fix compilation errors (#25)"
realbigsean Dec 7, 2022
6c8b1b3
merge upstream
realbigsean Dec 7, 2022
dbc57ba
merge with upstream
realbigsean Dec 7, 2022
6d4fb41
fix blob slot validation
realbigsean Dec 7, 2022
b616c0a
reset genesis.json fork times
realbigsean Dec 7, 2022
a0d4aec
requests block + blob always post eip4844
realbigsean Dec 7, 2022
5a42f6b
range block or block+blob requests
realbigsean Dec 7, 2022
658e9d9
saturating sub epoch for blob boundary
realbigsean Dec 7, 2022
8c95ab0
remove fCU v3 query
realbigsean Dec 8, 2022
14fa1e5
remove unused log and fix EL config serde
realbigsean Dec 8, 2022
715002a
use is synced for notifier again
realbigsean Dec 8, 2022
ef95796
geth binary location update
realbigsean Dec 8, 2022
be8c634
Merge pull request #27 from realbigsean/sean-interop-4844-testing
realbigsean Dec 8, 2022
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
35 changes: 32 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ members = [
"consensus/tree_hash_derive",

"crypto/bls",
"crypto/kzg",
"crypto/eth2_hashing",
"crypto/eth2_key_derivation",
"crypto/eth2_keystore",
"crypto/eth2_wallet",
"crypto/kzg",

"lcli",

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM rust:1.62.1-bullseye AS builder
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev protobuf-compiler
RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake clang libclang-dev protobuf-compiler
COPY . lighthouse
ARG FEATURES
ENV FEATURES $FEATURES
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CROSS_FEATURES ?= gnosis,slasher-lmdb,slasher-mdbx
CROSS_PROFILE ?= release

# List of features to use when running EF tests.
EF_TEST_FEATURES ?= beacon_chain/withdrawals,beacon_chain/withdrawals-processing
EF_TEST_FEATURES ?= withdrawals,withdrawals-processing

# Cargo profile for regular builds.
PROFILE ?= release
Expand All @@ -38,7 +38,7 @@ install:

# Builds the lcli binary in release (optimized).
install-lcli:
cargo install --path lcli --force --locked --features "$(FEATURES)" --profile "$(PROFILE)"
cargo install --path lcli --force --locked --features "$(FEATURES),$(EF_TEST_FEATURES)" --profile "$(PROFILE)"

# The following commands use `cross` to build a cross-compile.
#
Expand Down
1 change: 1 addition & 0 deletions beacon_node/beacon_chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ lru = "0.7.1"
tempfile = "3.1.0"
bitvec = "0.20.4"
bls = { path = "../../crypto/bls" }
kzg = { path = "../../crypto/kzg" }
safe_arith = { path = "../../consensus/safe_arith" }
fork_choice = { path = "../../consensus/fork_choice" }
task_executor = { path = "../../common/task_executor" }
Expand Down
Loading