psr
4fe6834ba5
http endpoint cleanup ( #13432 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2024-01-09 23:48:43 +00:00
Preston Van Loon
98e3f2b80f
sort static analyzers, add more, fix violations ( #13441 )
2024-01-09 23:29:36 +00:00
Enrico Del Fante
2aef7a3ec5
Update teku's bootnode ( #13437 )
2024-01-09 22:28:41 +00:00
Brandon Liu
c41a54be9d
fix metric for exited validator ( #13379 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2024-01-09 22:15:53 +00:00
Justin Traglia
7e65378f63
Check sidecar index in BlobSidecarsByRoot response ( #13180 )
...
* Check sidecar index in BlobSidecarsByRoot response
* Remove unnecessary MaxBlobsPerBlock check
2024-01-09 22:14:56 +00:00
Justin Traglia
cf606e3766
Only process blocks which haven't been processed ( #13442 )
...
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-01-09 22:14:03 +00:00
Justin Traglia
703cfc5819
Initialize exec payload fields and enforce order ( #13372 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2024-01-09 21:49:35 +00:00
GoodDaisy
c6ebe157a6
Fix typos ( #13435 )
2024-01-09 21:03:36 +00:00
Preston Van Loon
a3cc81a048
Add nil check for head in IsOptimistic ( #13439 )
2024-01-09 19:40:26 +00:00
Nishant Das
75bbeb61cc
Add Detailed Multi Value Metrics ( #13429 )
...
* add it
* pingo
* gaz
* remove pingo
* fix for old forks
2024-01-09 05:16:03 +00:00
kasey
5cea6bebb8
minimize syscalls in pruning routine ( #13425 )
...
* minimize syscalls in pruning routine
* terence feedback
* Update beacon-chain/db/filesystem/pruner.go
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
* pr feedback
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-01-08 22:31:16 +00:00
Potuz
28596d669b
Use proposer index cache for blob verification ( #13423 )
...
* Use proposer index cache for blob verification
* add unit test
* Fix test
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2024-01-07 03:24:07 +00:00
kasey
0e043d55b4
VerifiedROBlobs in initial-sync ( #13351 )
...
* Use VerifiedROBlobs in initial-sync
* Update beacon-chain/das/cache.go
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
* Apply suggestions from code review
comment fixes
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
* fix lint error from gh web ui
* deepsource fixes
* more deepsource
* fix init wiring
* mark blobless blocks verified in batch mode
* move sig check after parent checks
* validate block commitment length at start of da check
* remove vestigial locking
* rm more copy-locksta
* rm old comment
* fail the entire batch if any sidecar fails
* lint
* skip redundant checks, fix len check
* assume sig and proposer checks passed for block
* inherits most checks from processed block
* Assume block processing handles most checks
* lint
* cleanup unused call and gaz
* more detailed logging for e2e
* fix bad refactor breaking non-finalized init-sync
* self-review cleanup
* gaz
* Update beacon-chain/verification/blob.go
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
* terence and justin feedback
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-01-06 23:47:09 +00:00
Radosław Kapka
8d092a1113
Revert "REST VC: Subscribe to Beacon API events ( #13354 )" ( #13428 )
...
This reverts commit e68b2821c1
.
2024-01-06 21:36:42 +00:00
kasey
073c4edc5f
use ROForkchoice in blob verifier ( #13426 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2024-01-06 19:39:03 +00:00
terence
d055db1c31
Unlock forkchoice store if attribute is empty ( #13427 )
...
* Unlock forkchoice store if attribute is empty
* Better version
2024-01-06 07:32:56 +00:00
Nishant Das
a974627258
Make Aggregating In Parallel The Permanent Default ( #13407 )
...
* make it the permanent default
* gaz
2024-01-06 07:29:06 +00:00
Potuz
67dccc5e43
Break out several helpers from postBlockProcess
( #13419 )
...
* Break out several helpers from `postBlockProcess`
In addition fix a bug found by @terencechain where we should use a slot
context instead of the parent context in the second FCU call.
* Remove calls for tracked proposer
getPayloadAttribute already takes care of this
Also compute correctly the time into voting window
* call with attributes only when incoming block is canonical
* check for empty payload instead of only nil
* add unit tests
* move log for non-canonical block
* return early if the incoming block does not change head
* Pass fcuArgs as arguments
* lint
2024-01-06 02:29:07 +00:00
terence
ff06e08274
Prune dangling blob ( #13424 )
...
* Prune dangling blob
* Fix test
* Kasey's feedback
* Preston's feedback
* Use warning, fix test
2024-01-05 22:29:57 +00:00
james-prysm
d3d25e3ae5
proposer and attester slashing sse ( #13414 )
...
* wip
* adding in event notifiers for slashing events
* fixing tests
2024-01-05 15:27:50 +00:00
Nishant Das
929e9ddf4c
enable it ( #13421 )
2024-01-05 05:23:22 +00:00
Nishant Das
7c0e79d432
Make New Engine Methods The Permanent Default ( #13406 )
...
* make them the default
* gaz
* fix tests
2024-01-05 04:38:04 +00:00
terence
3c1c0b3c00
Update blob pruning log ( #13417 )
2024-01-04 18:02:19 +00:00
james-prysm
d439e6da74
adding builder boost factor to get block v3 ( #13409 )
...
* adding builder boost factor to functions
* gaz
* fixing linting
* fixing unit tests
* gaz
* addressing review comments
* fixing tests
* addressing review feedback
* gaz
* changing log based on review
2024-01-04 17:25:18 +00:00
Radosław Kapka
e68b2821c1
REST VC: Subscribe to Beacon API events ( #13354 )
...
* Initial code for head event streaming
* handle events and error
* keepalive event
* tests
* generate new mock
* remove single case select
* cleanup
* explain eventByteLimit
* use 2 channels in test
* review
* more review
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2024-01-04 17:14:45 +00:00
Potuz
cfef8f4676
Don't hardcode 4 seconds in forkchoice ( #13416 )
2024-01-04 16:49:16 +00:00
terence
9709412511
Use Afero Walk for Pruning Blob ( #13410 )
...
* Use Afero walk
* Return err
* Use wrap
* More err to the end
* Fix loop
2024-01-04 16:41:00 +00:00
james-prysm
7781eb60f4
Add rpc trigger for blob sidecar event ( #13411 )
...
* adding missed rpc trigger for blob sidecar event
* fixing unit tests
* moving event feed to after receive blob call to prioritize db
2024-01-04 14:22:24 +00:00
Potuz
396b8bf970
Simplify fcu 4 ( #13403 )
...
* send two FCU when proposing
* compute voting window at runtime
2024-01-04 13:43:57 +00:00
Nishant Das
d5107942a1
update it ( #13415 )
2024-01-04 11:22:23 +00:00
terence
bd4a520013
Initialize blob storage without pruning ( #13412 )
2024-01-04 05:56:38 +00:00
Sammy Rosso
a0ff1351a0
Fix batch pruning errors ( #13355 )
...
* Add compareAndSwap
* Update lastPrunedEpoch before prune
* Fix and test
* Remove debug log
* Kasey' review
* Fix tests
* Address Kasey's comments
* Fix prune before slot
* Rename
* Fix bad test
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2024-01-03 20:52:07 +00:00
Nishant Das
7e6fd5fd8b
Make Reorging Of Late Blocks The Permanent Default ( #13405 )
...
* make it the permanent default
* gaz
* fix merge conflicts
2024-01-03 14:46:58 +00:00
Nishant Das
d984210baa
fix it ( #13404 )
2024-01-03 13:54:18 +00:00
Potuz
31c72672d7
Remove the getPayloadAttribute call from updateForkchoiceWithExecution ( #13402 )
...
* Remove the getPayloadAttribute call from updateForkchoiceWithExecution
* Move log
2024-01-03 12:43:40 +00:00
Potuz
8c1e180dd1
Simplify fcu 2 ( #13400 )
...
* change getPayloadAttribute signature
* Unify different FCU arguments
2024-01-02 22:45:55 +00:00
Manu NALEPA
886d76fe7c
Refactor validator client help. ( #13401 )
...
* Define `cli.App` without mutation.
No functional change.
* `usage.go`: Clean `appHelpTemplate`.
No functional change is added.
Modifications consist in adding prefix/suffix `-` to improve readability of
the template without adding new lines in template inference.
We now see some inconsistencies of the template:
- `if .App.Version` is around the `AUTHOR` section.
- `if .App.Copyright` is around both `COPYRIGHT` and `VERSION` sections.
- `if len .App.Authors` is around nothing.
* `usage.go`: Surround version and author correctly.
* `usage.go`: `AUTHOR` ==> `AUTHORS`
* `usage.go`: `GLOBAL` --> `global`.
* `--grpc-max-msg-size`: Remove double default.
* VC: Standardize help message.
- Flags help begin with a capital letter and end with a period.
- If a flag help begins with a verb, it is conjugated.
- Expermitemtal, danger etc... mentions are between parenthesis.
* VC help message: Wrap too long lines.
2024-01-02 18:02:28 +00:00
Potuz
a602acf492
Remove getPayloadAttributes from FCU call ( #13399 )
2024-01-02 17:37:18 +00:00
terence
1b6547de6a
Add Goerli Deneb Fork Epoch ( #13390 )
...
* Add deneb fork epoch
* Fix test
2024-01-02 15:31:57 +00:00
Nishant Das
88685bb3bd
Fix Up Builder Evaluator ( #13395 )
...
* fix it up
* fix evaluator
* fix evaluator again
* fix it
* gaz
2024-01-02 10:40:26 +00:00
Nishant Das
2319b7d4bd
increase params ( #13398 )
2024-01-02 10:19:59 +00:00
Manu NALEPA
82b2840d68
--validatorS-registration-batch-size
(add s
) (#13396 )
2024-01-02 09:52:14 +00:00
Manu NALEPA
cf221d0f4c
Validator client: Always use the --datadir
value. ( #13392 )
...
Fix https://github.com/prysmaticlabs/prysm/issues/13391
2024-01-02 09:24:24 +00:00
Preston Van Loon
0956e3a657
Update libp2p/go-libp2p-asn-util to v0.4.1 ( #13370 )
...
* Update go-libp2p-asn-util to v0.4.1
* fix go mod
---------
Co-authored-by: nisdas <nishdas93@gmail.com>
2024-01-02 07:30:50 +00:00
terence
351ed1c511
Check kzg commitment count from builder ( #13394 )
2024-01-02 06:50:23 +00:00
Potuz
9809f5ac77
Simplify fcu 1 ( #13387 )
...
* Remove unsafe proposer indices cache
* Simplify FCU #1
This PR starts the process of gradually simplifying FCU
It removes the responsibility of getting the state and block from this
function and informing if head has changed. It is only called when the
imported block has actually become head.
* Add a call to FCU in edge cases
2023-12-30 12:20:20 +00:00
Potuz
cff5e2b5fe
Remove unsafe proposer indices cache ( #13385 )
2023-12-30 12:20:02 +00:00
terence
dd15f9e0cc
Rewrite ProposeBlock
endpoint ( #13380 )
...
* Init
* Tests
* Init
* Tests
* Radek's feedback
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* More Radek's feedback
* Potuz feedback
* Use inline copy
* Fix conflict
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-12-29 23:32:58 +00:00
terence
1c9ded4684
Remove blind field from block type ( #13389 )
...
* Init
* Init
* Fix tests
2023-12-29 21:28:19 +00:00
Potuz
d4cc6fcf4a
update shuffling caches before calling FCU on epoch boundaries ( #13383 )
...
* update shuffling caches before calling FCU on epoch boundaries
* Terence's review
2023-12-28 15:19:09 +00:00