realbigsean
542e3c16db
add tests and fix some things
2023-05-18 15:20:56 -04:00
realbigsean
51c4506c53
smol bugfixes and moar tests
2023-05-09 19:29:03 -04:00
realbigsean
6aff52c5b4
add some tests and fix a bug
2023-05-08 11:58:05 -04:00
realbigsean
a0f6159cae
make sure blobs are sent for processing after stream termination, delete copied tests
2023-05-03 12:02:02 -04:00
realbigsean
f5facd603e
fix test compilation
2023-05-02 18:39:21 -04:00
realbigsean
af15789b6f
improve peer scoring
2023-05-02 18:28:45 -04:00
realbigsean
e3f4218624
error refactoring
2023-05-02 14:09:53 -04:00
realbigsean
56b2365e17
track information about peer source
2023-05-02 12:28:32 -04:00
realbigsean
8edefb7e0d
make tests work for all forks
2023-05-02 10:00:07 -04:00
realbigsean
93bcd6281c
some bug fixes and the start of deneb only tests
2023-04-28 15:56:54 -04:00
realbigsean
bfb5242ee3
start fixing up lookup verify error handling
2023-04-28 09:54:09 -04:00
realbigsean
a9b24bb9df
add random blobs
2023-04-27 17:39:52 -04:00
realbigsean
eadf293419
Merge branch 'deneb-free-blobs' of https://github.com/sigp/lighthouse into some-blob-reprocessing-work
2023-04-27 14:19:42 -04:00
ethDreamer
c1d47da02d
Update engine_api to latest version ( #4223 )
...
* Update Engine API to Latest
* Get Mock EE Working
* Fix Mock EE
* Update Engine API Again
* Rip out get_blobs_bundle Stuff
* Fix Test Harness
* Fix Clippy Complaints
* Fix Beacon Chain Tests
2023-04-27 14:18:21 -04:00
realbigsean
d224fce084
wrap availability check error
2023-04-27 14:15:52 -04:00
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
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
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
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
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
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
c7142495fd
get things compiling
2023-04-20 13:38:05 -04: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
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
Paul Hauner
dd124b2d68
Address observed proposers behaviour ( #4192 )
...
## Issue Addressed
NA
## Proposed Changes
Apply two changes to code introduced in #4179 :
1. Remove the `ERRO` log for when we error on `proposer_has_been_observed()`. We were seeing a lot of this in our logs for finalized blocks and it's a bit noisy.
1. Use `false` rather than `true` for `proposal_already_known` when there is an error. If a block raises an error in `proposer_has_been_observed()` then the block must be invalid, so we should process (and reject) it now rather than queuing it.
For reference, here is one of the offending `ERRO` logs:
```
ERRO Failed to check observed proposers block_root: 0x5845…878e, source: rpc, error: FinalizedBlock { slot: Slot(5410983), finalized_slot: Slot(5411232) }
```
## Additional Info
NA
2023-04-14 06:37:16 +00:00