Sanghee Choi
ba55ae8cea
fix typo (CONTRIBUTING.md) ( #12548 )
2023-06-18 19:24:19 -07: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
194b3b1c5e
Ensure File Does Not Exist ( #12536 )
...
* error out
* gaz
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-06-15 21:41:46 +00:00
james-prysm
996ec67229
changing default on bad validators ( #12535 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-06-15 16:40:59 +00:00
Nishant Das
c7b2c011d8
fix parsing ( #12534 )
2023-06-15 11:12:39 -04:00
james-prysm
d15122fae2
Reopenning fix for keystore field name change to align with EIP2335 ( #12530 )
...
* adding changes
* fixing deepsource
2023-06-14 15:48:30 -05: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
james-prysm
152d21059e
adding additional comments and safe copies to protos ( #12518 )
2023-06-13 10:31:29 -05: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
Potuz
826267310e
benchmark cold hashing of capella beaconstates ( #12516 )
...
* benchmark cold hashing of capella beaconstates
* use since
2023-06-12 16:54:43 +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
james-prysm
8d01cf2ec1
change update duties to handle all validators exited check ( #12505 )
...
* wip have update duties handle all validators updated
* removing function and adding tests
* removing unnessesary test
* fixing unit test
* gaz
* removing number on wait group
* trying lower threshold to reduce timeout
* testing removal of test to resolve timeout on buildkite
* gaz
* removing test that is breaking buildkite on timeouts, will need to return to revaluate difference between buildkite and local mock
* addressing feedback
---------
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 14:27: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
kasey
6fa2d768b5
Checkpoint sync: get block using state.latest_block_header.slot ( #12447 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-06-11 03:00:38 +00:00
Nishant Das
0f228896b0
Add Patch For Libp2p ( #12507 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-06-11 01:59:18 +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
james-prysm
6672d1499a
prysmctl: output proposer settings ( #12181 )
...
* wip proposer settings
* WIP validator client APIs
* adding proposer settings output
* adding unit tests
* fixing linting
* fixing deepsource issues
* fixing e2e
* fixing deep source issue
* updating naming to not stutter
* updating bazel
* fixing linting error
* reverting comment
* adding builder settings
* gaz
* Update validator/client/validator.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* adding comments
* adding some tests
* gaz
* Update cmd/prysmctl/validator/proposer_settings.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update cmd/prysmctl/validator/proposer_settings.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update cmd/prysmctl/validator/proposer_settings.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update cmd/prysmctl/validator/proposer_settings.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/options.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/options.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/errors.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/options.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/options.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/validator/client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update cmd/prysmctl/validator/cmd.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/validator/client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/validator/client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update cmd/prysmctl/validator/proposer_settings.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update api/client/errors.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* fixing feedback
* fixing unit test
* addressign comments
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-06-06 17:03:30 +00:00
Nishant Das
33cf52831c
Update Libp2p to v0.27.5 ( #12486 )
...
* add deps
* update to v0.27.5 and handle panic
2023-06-06 08:41:15 +08:00
terencechain
d543e9be00
Update spec tests to v1.4.0-alpha.1 ( #12489 )
2023-06-03 11:17:13 +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
2dcef85f97
Add spec test for v1.4.0-alpha.0 ( #12460 )
...
* Fix spec test
* Fix sha
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-25 14:05:43 +00:00
Nishant Das
52da7b3de6
Release Lock Before Panicking ( #12464 )
2023-05-25 06:42:21 -07:00
terencechain
be16b64535
Remove SubmitBlindBlock
context timeout ( #12453 )
2023-05-24 14:19:23 +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
james-prysm
666188dfea
Improve validator import logs ( #12429 )
...
* adding small ux improvement
* gaz
* rolling back dir test changes
* Update validator/accounts/accounts_import.go
* adding review suggestion
* missed else part of statement
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-05-23 15:41:41 -05: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