Potuz
884ba4959a
Remove unneded helper ( #12558 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-06-22 16:54:52 +00:00
terencechain
75e94120b4
fix(aggregator): remove single bit aggregation ( #12555 )
2023-06-22 09:34:25 -07:00
Bryce T
c018981951
Add expected withdrawals API ( #12519 )
...
* add structs for expected-withdrawals-api
* add server handler
* add tests
* add bazel file
* register api in service
* remove get prefix for endpoint
* fix review comments
* Update beacon-chain/rpc/eth/builder/handlers.go
* use goimports sorting type
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-06-21 14:36:47 +00:00
Radosław Kapka
b92226bedb
getAttestationRewards
API endpoint (#12480 )
...
* handler
* very much work in progress
* remove Polish
* thinking
* working but differs from LH
* remove old stuff
* review from Potuz
* validator performance beacon server
* Revert "validator performance beacon server"
This reverts commit 42464cc6d375d7d27a4a781644c27f8b057212a5.
* reuse precompute calculations
* todos
* production quality
* add json tags to AttestationRewards
* Potuz's review
* extract vars
---------
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-06-21 13:16:53 +00:00
Potuz
57f97feb84
Track optimistic status on head ( #12552 )
2023-06-20 08:59:48 -07:00
Sanghee Choi
2bf0560dc7
fix typo (beacon-chain/node/node.go) ( #12551 )
2023-06-20 08:32:34 +00:00
Radosław Kapka
a40f903f76
Fix TestFieldTrie_NativeState_fieldConvertersNative
( #12550 )
2023-06-19 13:49:12 +00:00
Potuz
27aac105d7
disable nil payloadid log on relayers flags ( #12465 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-06-16 17:01:57 +00:00
terencechain
115d565f49
fix: late block task wait for initial sync ( #12526 )
...
* fix: late block task wait for initial sync
* fix: remove wait for clock
2023-06-16 13:47:19 +00:00
Potuz
019e0b56e2
Do not validate merge transition block after Capella ( #12459 )
2023-06-16 13:11:07 +00:00
Nishant Das
0efb038984
Fix Fuzz Target For ExecutionPayload ( #12541 )
2023-06-16 12:41:28 +00:00
Nishant Das
63d81144e9
Fix Uint256 Json Parsing ( #12540 )
...
* add stronger checks
* radek's review
2023-06-16 09:43:20 +00:00
james-prysm
6edbfa3128
multiple validator status - optimization ( #12487 )
...
* adding optmization
* addressing comments
* adding a test and fixing change in assignments.go
* making some changes based on review of the code
* removing irrelevant test
* changing formatting
2023-06-15 17:20:00 -05:00
Nishant Das
c7b2c011d8
fix parsing ( #12534 )
2023-06-15 11:12:39 -04:00
Potuz
3e17dbb532
log the right blocknumber ( #12529 )
2023-06-14 19:55:33 +00:00
Nishant Das
a75e78ddb4
Ignore Late Message Logs ( #12525 )
2023-06-14 10:37:39 +00:00
Nishant Das
1862422db9
Remove Defer In ProposeGenericBlock ( #12524 )
2023-06-14 05:25:52 +00:00
terencechain
2b410893a0
optimization: epoch boundary uses next slot cache ( #12515 )
...
* optimization: epoch boundary uses next slot cache
* test: fix
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-06-12 17:13:49 +00:00
Nishant Das
d5057cfb42
Add the Ability for Prysm To Handle Trusted Peers ( #12492 )
...
* add all changes
* add to peers to watch
* add tests
* Update beacon-chain/p2p/peers/peerdata/store_test.go
* radek's review
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-06-12 14:47:52 +00:00
Potuz
e4e315da94
log validation time for blocks ( #12514 )
2023-06-12 22:06:57 +08:00
terencechain
0a4e42545e
Use next slot cache for sync committee ( #12287 )
...
* Use next slot cache for sync committee
* RWMutex
* change mutex for last cached state
* feat: change mutex
* test: add db
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-06-12 04:30:06 +00:00
terencechain
6896b41963
optimization(proposer rpc): move htr to after broadcast ( #12504 )
2023-06-09 06:32:29 -07:00
Nishant Das
3bf6abe27c
Ignore Phase0 Blocks For Monitor ( #12503 )
2023-06-09 05:00:36 +00:00
Nishant Das
c1391f0de3
Always Favour Yamux for Multiplexing ( #12502 )
2023-06-08 04:02:46 +00:00
Nishant Das
0669050ffa
Add Appropriate Size for the Attestation Queue ( #12485 )
...
* add tag
* fix off by 1
2023-06-02 11:33:28 +00:00
zghh
ceff0c2024
Fix the bug that return 500 in /eth/v1/node/peers interface ( #12483 )
...
* Fix the bug that return 500 in /eth/v1/node/peers interface
* Update node.go
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-06-02 03:27:17 +00:00
Radosław Kapka
c32b581e8e
Add broadcast_validation
to block publishing ( #12432 )
...
* day 1
* day 2
* day 2+
* day 3
* day 4
* making bazel happy
* PublishBlindedBlockV2
* remove file
* use lock in insertSeenProposerIndex
* remove EquivocationChecker interface
* update deps.bzl
* remove middleware json tags
* go mod tidy
* remove redundant return statements
* validate in handler
* improvements
* extract common code
* remove import
* sync test fix
* Update beacon-chain/rpc/eth/beacon/handlers.go
Co-authored-by: terencechain <terence@prysmaticlabs.com>
---------
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2023-06-01 11:22:49 +00:00
terencechain
e516a2004f
Update next slot cache correctly under late task ( #12462 )
2023-05-31 08:50:37 -07:00
terencechain
cb65d8af96
Proposer RPC: make setExecutionData
better ( #12466 )
2023-05-31 06:06:32 -07:00
Nishant Das
70152bf476
Copy All Field Tries For Late Blocks ( #12461 )
...
* add new thing
* only have it for late blocks
* comments
* change to lock
* add test
* Update beacon-chain/state/state-native/state_test.go
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-05-30 09:57:20 +00:00
Radosław Kapka
8aa688729d
Cleanup of ProposerPayloadIDsCache
( #12474 )
...
* Cleanup of `ProposerPayloadIDsCache`
* one more comment
* Update beacon-chain/cache/payload_id.go
Co-authored-by: terencechain <terence@prysmaticlabs.com>
* Update beacon-chain/cache/payload_id.go
Co-authored-by: terencechain <terence@prysmaticlabs.com>
---------
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2023-05-29 16:10:28 +00:00
Preston Van Loon
1ffc92999f
p2p: Check peer threshold is met before giving up on ctx deadline ( #12446 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-28 13:24:59 +00:00
terencechain
f4d3939b62
Add logs for build block times ( #12452 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-05-24 13:37:26 +00:00
Nishant Das
245d8a29e0
Optimize Zerohash Comparisons In Forkchoice ( #12458 )
2023-05-24 09:58:02 +00:00
Preston Van Loon
cfa64ae013
Restore disable-peer-scorer flag ( #12386 )
...
* Revert "Make Peer Scorer Permanent Default (#12138 )"
This reverts commit 4d28d69fd9
.
* make peer scoring flag warning scary
2023-05-23 13:53:02 +00:00
Potuz
cd0f814f2e
fixed erroneous panic ( #12450 )
2023-05-23 11:12:31 +00:00
Radosław Kapka
abc81e6dde
Merge all block unblinding code into a single unblinder
struct ( #12240 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-05-23 11:38:52 +02:00
terencechain
6b26183e73
Add missing config yamls for domains ( #12442 )
...
* Add missing config yamls for domains
* Fix GetSpec test
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-22 18:02:41 +00:00
Preston Van Loon
7fe935e94d
Fix metric name from PR #12430 ( #12445 )
...
* Fix metric name from PR #12430
* @potuz can't spell 'unknown'
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-22 17:43:21 +00:00
Potuz
e0e7c71eb5
Fix sandwich attack on honest reorgs ( #12418 )
...
* Fix sandwich attack on honest reorgs
* fix test
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-22 17:23:20 +00:00
Potuz
c80019bd0b
remove trivial helper ( #12443 )
2023-05-22 15:59:16 +00:00
james-prysm
8dfb92c605
reverting expiration logic on validator while using --enable-registration-cache ( #12436 )
...
* reverting expiration logic
* gaz
2023-05-22 14:54:09 +00:00
Potuz
9d192a3608
Remove unused function ( #12439 )
...
* Remove unused function
* gazelle
2023-05-22 11:09:08 -03:00
Nishant Das
51bde7a845
disable it ( #12438 )
2023-05-22 19:18:13 +08:00
kasey
385a317902
Revert initsync revert ( #12431 )
...
* Revert "Revert "BeaconBlocksByRange and BlobSidecarsByRange consistency (#123… (#12426 )"
This reverts commit ddc1e48e05
.
* fix metrics bug, add batch.next tests
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-05-19 16:59:13 +00:00
Potuz
b84dd40ba9
Use forkchoice to validate sync messages faster ( #12430 )
...
* Use forkchoice to validate sync messages faster
* add metric
2023-05-19 14:47:39 +00:00
kasey
aeaa72fdc2
fix deadlock between monitor service and init-sync ( #12427 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-05-18 18:35:06 +00:00
kasey
ddc1e48e05
Revert "BeaconBlocksByRange and BlobSidecarsByRange consistency (#123… ( #12426 )
...
This reverts commit 73e4bdccbb
.
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-05-18 18:01:26 +00:00
Nishant Das
f91159337b
Fix Migration Of State ( #12423 )
2023-05-18 13:18:56 +00:00
Potuz
537236e1c9
Add aggregation metrics ( #12417 )
2023-05-17 12:18:59 -07:00