terence
7cc05401ca
Update proposer RPC to new blob sidecar format ( #13189 )
2023-11-27 15:44:52 -08:00
Radosław Kapka
cd8d499198
Move weak subjectivity endpoint to HTTP ( #13220 )
...
* Move weak subjectivity endpoint to HTTP
* remove server test file
* remove deprecation
2023-11-27 14:44:26 +00:00
Potuz
67d0b26a21
Accept block when error is only in logging ( #13223 )
...
* Accept block when error is only in logging
* linter shutup
* ignore nilerr on the linter
2023-11-24 19:00:53 +00:00
terence
6c85587d14
Update broadcast method to use BlobSidecar
instead of SingedBlobSidecar
( #13221 )
...
* Update broadcast method to use BlobSidecar instead of SingedBlobSidecar
* Fix test
2023-11-24 07:18:00 +00:00
terence
6daa72634d
Fix forkchoice pkg's comments grammar ( #13217 )
2023-11-22 17:27:42 -08:00
Potuz
07ee42660a
lock RecentBlockSlot ( #13212 )
...
* lock RecentBlockSlot
* Kasey's fix
2023-11-22 16:58:00 -03:00
hzysvilla
4b5db8003b
Comment typo ( #13209 )
...
* Update config.go
* Update flags.go
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-11-22 18:54:19 +00:00
Radosław Kapka
4b3c511a26
POST version of GetValidators and GetValidatorBalances ( #13199 )
...
* POST versions of GetValidators and GetValidatorBalances
* post statuses
* balances test
* group params
* test error cases
2023-11-22 17:30:52 +00:00
terence
8902ad3a20
Implement Slot-Dependent Caching for Blobs Bundle ( #13205 )
2023-11-22 07:23:50 -08:00
kasey
1123df7432
Verified roblobs ( #13190 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-21 18:44:38 +00:00
Nicolás Pernas Maradei
10ccf1840f
[2/5] light client http api ( #12984 )
...
Co-authored-by: Lizhang <lizhang@polymerlabs.org>
2023-11-21 13:26:39 +01:00
terence
d035be29cd
Optimize ReplayBlocks
for Zero Diff ( #13198 )
...
* Stategen: replay block return early when zero diff
* Fix test setup
2023-11-17 18:19:05 +00:00
terence
8f5ae760ee
Add concurrency test for getting attestation state ( #13196 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-16 17:52:59 +00:00
terence
5ba91a5216
Add construct_generic_block_test
to build file ( #13195 )
...
* Add construct_generic_block_test test to build file
* Use the right require library
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-15 20:33:56 +00:00
terence
4e3419e870
Enhance Validation for Block by Root RPC Requests ( #13184 )
...
* blk-by-root-check-root
* Account for gap
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-14 17:13:01 +00:00
terence
ac06362baf
Add a helper for max request block ( #13173 )
...
* Add a helper for max request block
* Add test
* Use deneb fork epoch from config
* Fix comment
2023-11-14 05:50:51 +00:00
Radosław Kapka
28aa11c976
Config HTTP endpoints ( #13168 )
...
* Config HTTP endpoints
* error on unsupported type
* type assertion
2023-11-13 23:38:23 +00:00
Radosław Kapka
9b97f3fd92
Return 404 from eth/v1/beacon/headers
when there are no blocks ( #13185 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-13 18:06:26 +00:00
Radosław Kapka
0946b5853f
Pool slashings HTTP endpoints ( #13148 )
...
* Pool slashings HTTP endpoints
* e2e fix
* commit
* remove pb files
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-13 17:22:39 +00:00
Radosław Kapka
1f250f7e89
Validator HTTP endpoints ( #13167 )
...
* HTTP validator endpoints
* Sammy's review
* capitalize errors
* test fix
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-03 16:59:04 +00:00
Sammy Rosso
0f65e51d1e
Blob filesystem: Save Blobs ( #13129 )
...
* Add Save blob and tests
* Remove locks
* Remove test cleanup
* Fix go mod
* Cleanup
* Add checksum
* Add file hashing to fileutil
* Move test
* Check data when exists
* Add one more test
* Rename
* Gaz
* Add packaged level comment
* Save full sidecar + reviews
* Use path builder in test
* Use other BlobSidecar
* Cleanup
* Fix gosec
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-03 16:24:30 +00:00
Radosław Kapka
d1dd8471a3
Debug HTTP endpoints ( #13164 )
...
* Debug HTTP endpoints
* register endpoints
* tests
* small fixes
* config test fix
2023-11-03 15:33:46 +00:00
Terence
7a6487b746
Remove pending blobs queue ( #13166 )
2023-11-03 07:07:43 -07:00
Terence
57eda1de63
Add RO blob sidecar ( #13144 )
2023-11-01 10:03:49 -07:00
Nishant Das
b56bf00682
Fix Pending Queue Deadline Bug ( #13145 )
...
* rearrange deadline
* naming
2023-10-31 06:40:41 +00:00
Potuz
dc9d34b41b
fix head slot in log ( #13139 )
2023-10-30 16:56:20 -03:00
Sammy Rosso
047613069e
Rename Blob retention epoch flag ( #13124 )
...
* Rename flag and add alias
* Update cmd/beacon-chain/flags/base.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* Fix sentence
* Fix TestConfigureBlobRetentionEpoch
* Fix silly mistake
* Reviews
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2023-10-30 17:35:31 +00:00
Justin Traglia
159a5dd69d
Check that blobs count is correct when unblinding ( #13118 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-30 16:49:32 +01:00
Potuz
2ea5bff9c0
Log when sending FCU with payload attributes ( #13137 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 12:30:20 +00:00
terencechain
c2433ff854
Update spectest and changed minimal preset for field elements ( #13090 )
...
* update trusted setup
* update dependencies
* Update workspace
---------
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 11:41:58 +00:00
Preston Van Loon
82640b3d88
Enable profile guided optimization for beacon-chain ( #13035 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 05:52:36 +00:00
james-prysm
10a89fef13
DEPRECTATION: Remove exchange transition configuration call ( #13127 )
...
* wip removing call to execution client for transition configuration
* updating bazel and execution engine proto
* removing more spots where the call was added
* removing unused metric
2023-10-27 15:43:00 +00:00
Nishant Das
56c65b8527
Return Error Gracefully When Removing 4881 Flag ( #13096 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-27 13:24:43 +00:00
Radosław Kapka
022ee17af9
Better Beacon API evaluator part 1 ( #13084 )
...
* Better Beacon API evaluator part 1
* rename package
* more endpoints
* rename package back
* more endpoints
* small improvements
* remove the need for `params`
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-10-27 11:57:49 +00:00
terencechain
203dc5f63b
Check blob index duplication for blob notifier ( #13123 )
...
* Check blob index duplication for blob notifier
* Better locks and test
* Better locks and test
* Kasey's feedback
* Fix init
2023-10-27 03:26:34 +00:00
Radosław Kapka
3d78a52980
Fill state attestations ( #13121 )
2023-10-26 15:35:01 +00:00
Preston Van Loon
7e88eefc60
Add zero length check on indices during NextSyncCommitteeIndices ( #13117 )
...
* Add zero length check on indices during NextSyncCommitteeIndices computation. Fixes #13051
* Move the error further up the stack
* Fix TestSubmitAggregateAndProof_IsAggregatorAndNoAtts
* Delete TestServer_ListAssignments_NoResults. That is an impossible scenario that now returns an error
2023-10-25 21:42:17 +00:00
terencechain
cabf3476e7
Add context deadline for pending queue's receive block ( #13114 )
...
* Add context dead like for pending queue's receive block
* Use timeout
2023-10-25 19:40:17 +00:00
Radosław Kapka
5a01eecc50
HTTP state endpoints ( #13099 )
...
* slowly plowing through
* implementation ready
* wrong epoch particip
* fix epoch participation
* tests
* fix e2e
* error handling in tests
* review from James
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-10-25 18:12:58 +00:00
terencechain
b608c9f711
Log blob's kzg commmitment at sync ( #13111 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-25 16:27:19 +00:00
Justin Traglia
671bf00c98
Fix bug in Beacon API getBlobs ( #13100 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-10-25 03:33:59 +00:00
terencechain
cbf6a2752d
Reject Blob Sidecar Incorrect Index ( #13094 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-25 01:57:54 +00:00
Nishant Das
642458f037
Fix Pending Queue Expiration Bug ( #13104 )
...
* fix bug
* make test better
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-24 20:28:57 +00:00
terencechain
a2f60364ae
Check return and request lengths for blob sidecar by root ( #13106 )
2023-10-24 15:02:44 +00:00
Justin Traglia
45f68fa8d5
Replace MAX_BLOB_EPOCHS usages with more accurate terms ( #13098 )
...
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-10-24 03:28:50 +00:00
terencechain
f55708b995
Fix blob sidecar subnet check ( #13102 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-23 23:08:25 +00:00
Delweng
00826e8858
beacon-chain/blockchain: fix some datarace in go test ( #13036 )
...
* beacon-chain/blockchain: mockBeaconNode with mutex
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-node/forkchoice: bool -> atomic.Bool
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/blockchain: datarace in concurrent postBlock
Signed-off-by: jsvisa <delweng@gmail.com>
* Revert "beacon-node/forkchoice: bool -> atomic.Bool"
This reverts commit 4aad095b0fc52bd707cc0d042fc0728f1cb2ce4c.
Signed-off-by: jsvisa <delweng@gmail.com>
---------
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-23 21:55:47 +00:00
terencechain
76fec1799e
Replace Empty Slice Literals with Nil Slices ( #13093 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-23 16:36:11 +00:00
Potuz
0920fb1f61
Return early from ReceiveBlock if already sycned ( #13089 )
...
* Return early from ReceiveBlock if already sycned
* Fix bad setup test
2023-10-22 18:31:50 -03:00
Delweng
29f8880638
beacon-node/rpc: fix go test datarace ( #13018 )
...
* beacon-chain/p2p: ust atomic.Bool instead of bool
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/p2p,rpc: read mock.BroadcastMessages with lock
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/p2p,rpc: read attestation with lock
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/rpc: fix typo
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/p2p: typo
Signed-off-by: jsvisa <delweng@gmail.com>
---------
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-22 15:12:55 +00:00