realbigsean
8e9c98e8e5
make tests into macros
2023-04-27 13:02:53 -04:00
realbigsean
f2267212a5
refactor lookup tests to work with multiple forks and response types
2023-04-27 12:04:34 -04:00
realbigsean
7614abf6df
fix
2023-04-26 17:55:21 -04:00
realbigsean
3c9fb78aa1
compilation fix in beacon chain tests
2023-04-26 17:28:24 -04:00
realbigsean
2cad638f41
cargo fmt
2023-04-26 16:33:08 -04:00
realbigsean
0978848caa
Merge branch 'deneb-free-blobs' of https://github.com/sigp/lighthouse into some-blob-reprocessing-work
2023-04-26 14:59:48 -04:00
Justin Traglia
aa34339298
Rename to MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS ( #4206 )
...
Co-authored-by: realbigsean <sean@sigmaprime.io >
2023-04-26 14:53:06 -04:00
realbigsean
d850788278
fix after merge
2023-04-26 14:48:50 -04:00
realbigsean
13f7217172
Merge branch 'deneb-free-blobs' of https://github.com/sigp/lighthouse into some-blob-reprocessing-work
2023-04-26 14:45:50 -04:00
realbigsean
69e5e00350
renamings
2023-04-26 14:45:07 -04:00
realbigsean
4390036887
fix existing block lookup tests
2023-04-26 14:44:32 -04:00
realbigsean
46a9b3a7ed
fix lints
2023-04-26 12:15:02 -04:00
realbigsean
83c3ee173f
fix lints
2023-04-26 12:05:07 -04:00
realbigsean
ff58698375
fix compile in lookup tests
2023-04-26 11:49:54 -04:00
Pawan Dhananjay
a632969695
Gossip verification cleanup ( #4219 )
...
* Add ObservedBlobSidecar tests
* Add logging for tricky verification cases
* Update beacon_node/beacon_chain/src/blob_verification.rs
---------
Co-authored-by: realbigsean <seananderson33@GMAIL.com >
2023-04-26 10:44:58 -04:00
realbigsean
14e5bfae29
fix lints
2023-04-25 18:12:16 -04:00
realbigsean
b5440f740d
fix lints
2023-04-25 09:30:16 -04:00
realbigsean
9c2aceed10
fix some todos
2023-04-25 09:25:24 -04:00
realbigsean
53c0356f8d
smol bugfix
2023-04-24 21:10:52 -04:00
realbigsean
b8708e38de
processing peer refactor
2023-04-24 20:47:02 -04:00
realbigsean
91594adc77
refactor single block processed method
2023-04-24 20:15:45 -04:00
realbigsean
76c09dea21
drop parent lookup if either req has a peer disconnect during download
2023-04-24 19:00:21 -04:00
realbigsean
1d18756303
improve retry code
2023-04-24 18:56:19 -04:00
realbigsean
0560b7d1a5
improve peer scoring during certain failures in parent lookups
2023-04-24 16:58:13 -04:00
realbigsean
274aba95c7
consolidate retry error handling
2023-04-24 15:05:49 -04:00
realbigsean
b6531aa1b1
should remove lookup refactor
2023-04-24 13:04:44 -04:00
realbigsean
381044abe7
add peer usefulness enum
2023-04-24 12:27:49 -04:00
realbigsean
93df0f50e6
fix up sync manager delay message logic
2023-04-24 11:09:14 -04:00
realbigsean
03de817abe
Merge branch 'deneb-free-blobs' of https://github.com/sigp/lighthouse into some-blob-reprocessing-work
2023-04-24 09:03:58 -04:00
realbigsean
cbe2e47931
update blobs by range protocol name ( #4229 )
2023-04-24 09:03:23 -04:00
realbigsean
b2a4c4e73e
Merge branch 'deneb-free-blobs' of https://github.com/sigp/lighthouse into some-blob-reprocessing-work
2023-04-22 09:23:01 -04:00
Pawan Dhananjay
7a36d004e4
Subscribe blob topics ( #4224 )
2023-04-22 09:21:09 -04:00
Pawan Dhananjay
b6c0e91c05
Merge branch 'eip4844' into deneb-free-blobs
2023-04-21 14:34:50 -07:00
Pawan Dhananjay
b2ccc822d8
Fix compiler issues
2023-04-21 14:14:57 -07:00
Pawan Dhananjay
689c0f76d3
Merge branch 'unstable' into eip4844
2023-04-21 14:13:25 -07:00
realbigsean
3e854ae2d1
fix compile
2023-04-21 16:57:53 -04:00
Pawan Dhananjay
a78285db5e
Fix Rust 1.69 lints ( #4222 )
...
## Issue Addressed
N/A
## Proposed Changes
Fixes lints mostly `extra-unused-type-parameters` https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_paramete
2023-04-21 18:29:28 +00:00
realbigsean
bacec52017
parent blob lookups
2023-04-20 19:42:33 -04:00
realbigsean
0cc1704edf
Merge branch 'deneb-free-blobs' of https://github.com/sigp/lighthouse into some-blob-reprocessing-work
2023-04-20 18:56:25 -04:00
Pawan Dhananjay
895bbd6c03
Gossip conditions deneb ( #4164 )
...
* Add all gossip conditions
* Handle some gossip errors
* Update beacon_node/beacon_chain/src/blob_verification.rs
Co-authored-by: Divma <26765164+divagant-martian@users.noreply.github.com >
* Add an ObservedBlobSidecars cache
---------
Co-authored-by: Divma <26765164+divagant-martian@users.noreply.github.com >
2023-04-20 18:26:20 -04:00
realbigsean
e6b033aefd
update blob transaction ( #4218 )
...
* update blob transaction
* update blob transaction
* rename in JSON deserializing
2023-04-20 18:23:59 -04:00
realbigsean
c7142495fd
get things compiling
2023-04-20 13:38:05 -04:00
Paul Hauner
693886b941
Release v4.1.0 ( #4191 )
...
## Issue Addressed
NA
## Proposed Changes
Bump versions.
## Additional Info
NA
2023-04-20 00:51:38 +00:00
realbigsean
374ec4800a
much work
2023-04-19 16:44:19 -04:00
realbigsean
0ad9fdfbbf
fix compilation in main block lookup mod
2023-04-19 14:02:41 -04:00
Paul Hauner
48843ba198
Check lateness of block before requeuing it ( #4208 )
...
## Issue Addressed
NA
## Proposed Changes
Avoids reprocessing loops introduced in #4179 . (Also somewhat related to #4192 ).
Breaks the re-queue loop by only re-queuing when an RPC block is received before the attestation creation deadline.
I've put `proposal_is_known` behind a closure to avoid interacting with the `observed_proposers` lock unnecessarily.
## Additional Info
NA
2023-04-19 04:23:20 +00:00
Michael Sproul
e9a7316f1d
Set user agent on requests to builder ( #4199 )
...
## Issue Addressed
Closes #4185
## Proposed Changes
- Set user agent to `Lighthouse/vX.Y.Z-<commit hash>` by default
- Allow tweaking user agent via `--builder-user-agent "agent"`
2023-04-18 02:47:36 +00:00
Michael Sproul
1d92e3f77c
Use efficient payload reconstruction for HTTP API ( #4102 )
...
## Proposed Changes
Builds on #4028 to use the new payload bodies methods in the HTTP API as well.
## Caveats
The payloads by range method only works for the finalized chain, so it can't be used in the execution engine integration tests because we try to reconstruct unfinalized payloads there.
2023-04-18 02:47:35 +00:00
realbigsean
195d802931
start fixing some compile errors
2023-04-17 16:58:18 -04:00
realbigsean
8618c301b5
add delayed processing logic and combine some requests
2023-04-14 16:50:41 -04:00