Mart1i1n
d541010bf1
Fix Typo ( #11670 )
...
* Update ffg_update_test.go
Fix some alignment typos.
* Update justification_finalization.go
Fix typo.
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-11-30 22:25:55 +00:00
terencechain
8cb07e0c2b
Spec test: capella and update to v1.3.0-alpha.1
( #11683 )
2022-11-30 12:08:04 -08:00
Preston Van Loon
aa2bf0c9c4
Spectests: ensure test directories are not empty ( #11709 )
...
* Add an assertion that test folders are not empty
* more assertions
* only run sync tests on bellatrix or later
2022-11-30 17:32:10 +00:00
Ye Ding
e49d8f2162
Fix a race condition during initialization ( #11444 ) ( #11698 )
...
* Fix a race condition during initialization (#11444 )
* Fix tests
* Add more test cases
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-11-29 18:24:50 +00:00
shana
c6ed4e2089
Do not omit json fields if empty in builder client ( #11673 )
...
* Do not omit json fields if empty in builder client
* fix tests
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-11-29 12:12:13 +00:00
int88
0ad902e47d
fix help message of metric doublylinkedtree_node_count
( #11705 )
2022-11-29 11:29:48 +00:00
Preston Van Loon
4f4775f9f9
bazel: Update rules_go and remove extra repos in WORKSPACE ( #11703 )
...
* Update rule_go to latest release, remove fuzzit stuff
* Delete another thing
2022-11-28 23:00:11 +00:00
terencechain
679e6bc54a
Cont FCU if get payload attribute fails ( #11693 )
...
* Cont FCU if get payload attribute fails
* Fix err position
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
2022-11-28 19:42:32 +00:00
Radosław Kapka
c7a3cf8563
GetForkChoice
API endpoint (#11680 )
...
* proto
* middleware
* change structure
* fix all issues
* test
* validity field
2022-11-28 19:17:53 +00:00
Radosław Kapka
6c3b75f908
Upgrade getBlindedBlock
API endpoint to Capella ( #11687 )
...
* proto
(cherry picked from commit 7101910e0fab5a5572795115679fd6f8d8c8379b)
* GetBlindedBlock
(cherry picked from commit e5c269ddf7b0c9e04f72ed28982a82de56fcac55)
* middleware
(cherry picked from commit 1719ce5967b0f74786c596cc921f7256e6b224f3)
* refactor
* Update beacon-chain/rpc/apimiddleware/structs.go
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
* update error message
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-11-28 18:17:05 +00:00
Patrice Vignola
f276c5d006
Make the validator REST API's WaitForChainStart blocking ( #11695 )
2022-11-28 11:58:04 +01:00
Potuz
29953cb734
Refactor Sync Committee Rewards ( #11696 )
2022-11-27 11:06:32 -08:00
Nishant Das
a23a5052bc
Add Gossip Handler For BLS To Execution Changes ( #11690 )
2022-11-26 11:07:05 -08:00
Potuz
f9e0d4b13a
Batch capella signatures with the rest of the block ( #11689 )
2022-11-25 09:45:36 +08:00
Potuz
0aaee51973
Process bls changes ( #11684 )
...
* Implement ProcessBLSToExecutionChanges
* Batch process signatures
* gaz
* Change runtime behavior
* Terence's review
2022-11-24 19:36:12 +00:00
terencechain
a0c0706224
Add Capella state changes ( #11688 )
...
* Add Capella state changes
* Use params.configs
2022-11-24 14:54:55 -03:00
Potuz
a525fad0ea
Add upgrade to Capella to statereplay ( #11686 )
2022-11-24 14:58:05 +00:00
Patrice Vignola
7ab5851c54
Add a gRPC fallback mode to the validator Beacon REST API ( #11679 )
...
* Add a gRPC fallback mode to the validator Beacon REST API
* Remove --beacon_api_grpc_fallback flag
* Add missing bazel dependency
* Reorder dependency per gazelle check
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-24 11:09:07 +00:00
Patrice Vignola
e231cfd59d
Onboard validator's beacon REST API tests to CI ( #11682 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-24 11:50:13 +01:00
kasey
0a41b957dc
env var to control log path with unique paths ( #11681 )
...
due to flaky test re-run behavior, logs from a failed test run are
overwritten by subsequent retries. This makes it difficult to retrieve
logs after the first failed run. It also takes some squinting through
output to find the location of the log file in the first place. This
flag enables logs to be placed in an arbitrary path. Note that bazel
sandboxing generally will force this path to be in the /tmp tree.
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2022-11-23 22:56:40 +00:00
Radosław Kapka
f2399e21e1
GetLiveness
API endpoint (#11617 )
...
* proto
* initial version
* middleware + tests
* change request structure
* fix all issues
* review feedback
* simplify out-of-range check
2022-11-23 18:23:22 +00:00
kasey
395e49972e
prysmctl support generating non-phase0 genesis.ssz ( #11677 )
...
* support generating non-phase0 genesis.ssz
* make default (Value) work for EnumValue + lint
* remove messy punctuation
* Ran gazelle for @kasey
* Fix deps viz
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
2022-11-23 14:22:24 +00:00
Radosław Kapka
ee099d3f03
Operations pool for BLS-to-execution-changes ( #11631 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-11-22 18:34:14 +01:00
terencechain
e2ffaf983a
Add minimal withdrawal size ( #11658 )
...
* Add selector with minimal withdrawal size
* @potuz's feedback, Add PayloadAttribruteV2
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-11-22 16:05:37 +00:00
Patrice Vignola
0d4b98cd0a
Add REST implementation for Validator's WaitForChainStart ( #11654 )
...
* Add REST implementation for Validator's WaitForChainStart
* Add missing error mapping
* Add missing bazel dependency
* Add missing tests
* Address PR comments
* Replace EventErrorJson with DefaultErrorJson
* Add tests for WaitForChainStart
* Refactor tests
* Address PR comments
* Add gazelle:build_tag use_beacon_api comment in BUILD.bazel
* Address PR comments
* Address PR comments
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-22 12:12:55 +00:00
Andrew Davis
fe1281dc1a
fix(beacon-chain/rpc): correct block root for block events ( #11666 )
2022-11-22 10:26:56 +00:00
james-prysm
9761bd0753
correctly assign arm64 arch for Apple M1 ( #11675 )
...
* fixing typo
* removing if statement, not needed anymore
2022-11-21 23:11:02 +00:00
Manu NALEPA
0bcddb3009
Update mockgen ( #11615 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-21 17:26:27 +01:00
terencechain
ee9da3aded
Fill missing payload ID should exit early if block has seen ( #11669 )
...
* Fill missing payload ID should exit early if block has seen
* Move metric inc to top
* Fix test
2022-11-21 10:34:40 -05:00
kasey
d58d3f2c57
E2E deposit testing overhaul ( #11667 )
...
* rewrite/refactor deposit testing code
keep track of sent deposits so that they can be compared in detail with
the validator set retreived from the API.
* fix bugs in evaluator and retry
* lint + deepsource appeasement
* typo s/Sprintf/Printf/
* gosec, more like nosec
* fix gosec number - 204->304
* type switch to get signed block from container
* improve comments
* centralizing constants and adding comments
* lock around Depositor to avoid future races
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2022-11-19 03:40:32 +00:00
Preston Van Loon
4b033f4cc7
Update go to 1.19.3 ( #11630 )
...
* Update go to 1.19.3
* Update other items to 1.19
* Update golangci-lint to latest release
* Run gofmt -s with go1.19
* Huge gofmt changes
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-11-18 19:12:19 +00:00
terencechain
07d0a00f88
Add capella slashing parameters ( #11660 )
...
* Add capella slashing parameters
* Add capella to epoch precompute
* Revert "Add capella to epoch precompute"
This reverts commit 61a5f3d2bda8c2d73b113a4252c70027a727af73.
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-11-17 17:03:53 +00:00
Nishant Das
08d63a0cd0
Remove Geth Bindings From Prysm ( #11586 )
...
* check in changes
* gaz
* preston's review
* comment
* fix up
* remove test
* gaz
* preston's review
* fix it
2022-11-17 17:16:19 +08:00
kasey
f02ad8a68b
disable geth nat traversal ( #11664 )
...
Co-authored-by: kasey <kasey@users.noreply.github.com>
2022-11-16 00:14:42 +08:00
Potuz
466fd359a2
Fix expected_withdrawals ( #11662 )
2022-11-14 21:33:40 -05:00
terencechain
b5f8e69b6b
Add capella to epoch precompute ( #11661 )
2022-11-14 10:05:58 -05:00
terencechain
cf466702df
Capella: validator log withdrawals ( #11657 )
...
* Capella: validator log withdrawals
* Capella: validator log withdrawals
2022-11-13 02:26:49 +00:00
Potuz
de73baa4a7
Update 3068 ( #11656 )
...
* rename last_withdrawal_validator_index
* Update Capella methods to Specs #3068
* Add missing renames
* rename minimal state
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-11-12 18:38:21 +00:00
Potuz
d4a3b74bc6
capella payload changes ( #11647 )
...
* capella payload transition changes
* fix leak
* add back setters_payload from capella
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-11-12 18:19:51 +00:00
Potuz
216cdd9361
Use finalized hash if payloadID cache misses ( #11653 )
2022-11-12 17:58:14 +00:00
Potuz
68c3e939b8
Fix withdrawalRoot hasher ( #11655 )
2022-11-12 09:00:53 -08:00
terencechain
bf7e17db8f
Fix get RANDAO endpoint for underflow ( #11650 )
...
* Fix get randao end point for underflow
* Fix test
2022-11-11 17:58:25 +00:00
Patrice Vignola
ead9a83d8d
Add customizable endpoints for the validator's REST API ( #11633 )
...
* WIP
* Refactor to use iface.ValidatorClient instead of ethpb.BeaconNodeValidatorClient
* Add mocks for iface.ValidatorClient
* Fix mocks
* Update update-mockgen.sh
* Fix warnings
* Fix config_setting syntax
* Use custom build settings
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Fix endpoint address and reduce timeout
* Revert most e2e changes
* Use e2e.TestParams.Ports.PrysmBeaconNodeGatewayPort
* Fix BeaconRESTApiProviderFlag port
* Revert e2e changes
2022-11-11 17:33:48 +00:00
Nishant Das
2fef03414d
Fix ENR Serialization ( #11648 )
...
* fix it
* fix test
2022-11-10 12:03:55 +00:00
Potuz
7b63d5c08c
Operations in Capella are as in Bellatrix ( #11646 )
...
* Operations in Capella are as in Bellatrix
* add unit test
2022-11-10 02:04:03 +00:00
Potuz
af6d5e9149
don't change again unecessarily ( #11645 )
...
* don't change again unecessarily
* remove blinded blocks from gossip
2022-11-09 23:59:10 +00:00
terencechain
d0d7021c1d
Add Capella p2p changes ( #11644 )
2022-11-09 15:11:46 -08:00
Potuz
4db1a02763
Implement upgrade to capella ( #11642 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-09 16:48:23 +01:00
Mart1i1n
69d7f7f6ca
Update ffg_update_test.go ( #11639 )
...
Fix some alignment typos.
2022-11-09 12:27:17 +00:00
Inphi
4e342b8802
Fix prysmctl generate-genesis yaml output file ( #11635 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-08 14:36:58 +00:00