Preston Van Loon
0c7292b85b
prysmctl: Add support for writing signed validator exits to disk ( #12262 )
...
* prysmctl: Add support for writing signed validator exits to disk
* Add dir suffix
* Add test to ensure no broadcast call was made
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-04-17 18:01:13 +00:00
james-prysm
10b438e2c8
Keymanager fixes for bad file writes ( #12284 )
...
* WIP changes for keymanager
* WIP fix
* WIP needs unit tests
* fixing order
* adding unit test
* fixing linter
* updating unit tests and creating more reusable functions
* making accountStore copy method part of struct
* Update validator/keymanager/local/delete_test.go
* Update validator/keymanager/local/delete.go
* Update validator/keymanager/local/delete.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update validator/keymanager/local/import.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update validator/keymanager/local/delete.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update validator/keymanager/local/delete.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update validator/keymanager/local/import.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update validator/keymanager/local/import.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update validator/keymanager/local/delete.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* addressing suggestion of not reinitializing from reading the file but instead update the information based on memory on hand
* Update validator/accounts/wallet_create.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* adding changes based on suggestions
* making logs more consistent
* fixing linting
---------
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2023-04-17 12:08:27 -05:00
Radosław Kapka
898cb0b512
Deflake TestWaitForActivation_AccountsChanged
( #12282 )
...
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2023-04-17 15:04:42 +00:00
Justin Traglia
9f7711e74a
Enable misspell linter & fix findings ( #12272 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-04-14 10:03:11 +00:00
Patrice Vignola
80e26143eb
Add REST API endpoint for beacon chain client's GetChainHead
( #12245 )
...
* Add REST API endpoint for beacon chain client's GetChainHead
* Remove unused parameters
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-04-13 11:42:59 +00:00
terencechain
99eebe9bac
Fix capella unblind block with bls field ( #12263 )
2023-04-12 18:47:34 -07:00
Patrice Vignola
9214364c5e
Add REST API endpoint for beacon chain client's ListValidators
( #12228 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-04-05 13:00:49 +02:00
Radosław Kapka
5ea0417df2
Improve voluntary exit confirmation prompt ( #12205 )
2023-03-29 14:17:21 +00:00
Patrice Vignola
61fed336e1
Add REST API endpoint for node client's GetSyncStatus
( #12189 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-03-29 13:38:31 +00:00
Radosław Kapka
98949d8075
Block rewards API endpoint ( #12020 )
...
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-28 18:44:41 +02:00
Patrice Vignola
83ccb15e66
Add REST API endpoint for node client's GetGenesis
( #12168 )
...
* Add REST API endpoint for node client's GetGenesis
* Remove unused parameter
* Fix test name
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-03-28 11:36:41 +00:00
Patrice Vignola
c0ee781638
Remove unused validator endpoints from validator REST API ( #12167 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-03-21 16:52:42 +00:00
Patrice Vignola
7c49277e83
Add REST API stubs for beacon chain, node and slasher clients ( #12094 )
...
* WIP
* WIP
* Remove duplicate mock
* WIP
* Revert "WIP"
This reverts commit a8010057fef4209dfddde34ea868b88f1e196c44.
* Fix build break
* Remove unused variable
* Fix build break
* Rename validator_mock to validatormock
* Fix failing test
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-03-20 16:32:32 +00:00
terencechain
d17996f8b0
Update to V4
🚀 ( #12134 )
...
* Update V3 from V4
* Fix build v3 -> v4
* Update ssz
* Update beacon_chain.pb.go
* Fix formatter import
* Update update-mockgen.sh comment to v4
* Fix conflicts. Pass build and tests
* Fix test
2023-03-17 18:52:56 +00:00
Nishant Das
e58b66f76d
Fully Deprecate Vectorized HTR Flag ( #12148 )
...
* cleanup
* gaz
* fix tests
* remove unused hasher
* gaz
* fix last one
* fix tests
* fmt
2023-03-17 11:41:02 +00:00
james-prysm
7d5d30ac94
validator startup deadline bug ( #12049 )
...
* trying fix for validator startup deadline
* updating deadline duration to be set by params
* adding a runner test
* trying nishant's suggestion
* editing based on review feedback
* reverting a change
* fixing epoch deadline
* reverting aliasing
2023-03-14 12:52:56 +08:00
james-prysm
753e285fb6
Prysm V4: Remove Prysm Remote Signer ( #11895 )
...
* removing all prysm remote signer code
* fixing unit tests
* resolving more build issues
* resolving deepsource complaint
* fixing lint
* trying to fix bazel library
* trying testonly true
* removing assert and require from non test settings
* fixing bazel and tests
* removing more unused files related to remote signer
* fixing linting
* reverting some changes
* reverting a change that broke some code
* removing typo
* fixing unit test
* fixing mnemonic information
2023-03-08 21:21:12 -06:00
Preston Van Loon
4356cbc352
Update cross compile toolchains ( #12069 )
...
* Regenerate cross-toolchain configs
* Remove some extra whitespaces
* Run gazelle and add that note to the README
* Format numbered lists better in markdown
* gcloud docker command is deprecated, just use docker
* Add comment about docker credentials for gcr.io
* Update dockerfile, some remote executor config work
* gazelle
* Remove commented lines
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-07 20:09:46 +00:00
Radosław Kapka
4ca3c5b058
Add slot to proposal error logs ( #12071 )
...
* Add slot to proposal error logs
* remove one field
2023-03-02 16:33:39 +00:00
Patrice Vignola
765345ac3a
Remove the gRPC fallback client from the validator REST API ( #12051 )
2023-02-27 12:46:34 +00:00
Manu NALEPA
08ebc99bc3
Add (lack of) REST implementation for GetFeeRecipientByPubKey
( #11991 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-02-24 21:43:52 +00:00
Patrice Vignola
0e4185b40c
Remove the StreamDuties endpoint ( #12044 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-02-24 15:56:31 +00:00
james-prysm
40589905bc
Prysm V4: Web3signer changes for capella ( #12001 )
...
* adding in changes for capella
* fixing metrics
* updating the web3signer version
2023-02-24 06:21:39 +00:00
Raul Jordan
8f6d5ff075
Web-ui-version-v2.0.3-commit ( #12038 )
...
Co-authored-by: james-prysm <james-prysm@users.noreply.github.com>
2023-02-23 10:11:42 -06:00
james-prysm
c379c9ea47
Prysm V4 - Deprecate web UI endpoints ( #12025 )
...
* wip adding deprecation to web api endpoints
* wip adding more deprecation notices
* adding in a few more deprecation markers
* updating order of comments
2023-02-23 15:24:06 +00:00
Dhruv Bodani
bc643f8872
Add REST implementation for SubmitAggregateSelectionProof ( #11980 )
...
* add implementation of submit aggregate selection proof
* add tests
* handle head optimistic case
* fix imports
* address deepsource errors
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-02-14 11:25:21 +00:00
Manu NALEPA
93298dfc56
Fix #11948 and reduces call to GetFeeRecipientByPubKey
only in ListFeeRecipientByPubkey
in nothing is defined in VC ( #11970 )
...
* Fix #11948 and reduces call to `GetFeeRecipientByPubKey` only in `ListFeeRecipientByPubkey` in nothing is defined in VC
* Fix typo
2023-02-14 04:53:54 +00:00
Patrice Vignola
791110f795
Add REST implementation for Validator's StreamBlocksAltair
( #11974 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-02-13 14:22:11 +01:00
Dhruv Bodani
5092738be6
add REST implementation for GetSyncSubcommitteeIndex ( #11971 )
...
* add implementation for GetSyncSubcommitteeIndex
* fix goimports
* update error parsing for validator sync committee index
Co-authored-by: Radosław Kapka <radek@prysmaticlabs.com>
* fix imports
---------
Co-authored-by: Radosław Kapka <radek@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-02-09 10:03:32 +00:00
terencechain
d4f3257f60
Rename block interfaces ( #11975 )
2023-02-09 10:23:32 +01:00
Manu NALEPA
847835534d
Validator client: Add missing endpoint.DeleteRequest
- Fixes #11943 ( #11944 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-31 18:01:51 +00:00
Manu NALEPA
efc1e06c6b
Validator client beacon api non functional fixes ( #11915 )
...
* Validator Client Beacon API: Use Go idiomatic error handling
* Validator Client Beacon API: Use `buildURL`
`buildURL` sort params by keys.
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-27 10:44:23 +00:00
Sammy Rosso
9136d30121
Return error when using unsupported mnemonic language ( #11805 )
...
* Return error when using unsupported mnemonic language
* Fix failing tests
* More test fixes
* Add MnemonicLanguage to CreateWalletRequest
* Add MnemonicLanguage to remaining tests
* Add language to error
* Add missing (.)
* Set default language + fix renumbered fields
* Replace hardcoded language with default var
* default set
* gaz
* fix proto field setting
* fix up
* Remove WithMnemonicLanguage from tests
* Remove WithMnemonicLanguage from tests
* Fix conflicting information failure
* Gazelle + remove hardcoded english values
* fix
* Fix tests
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-26 23:44:38 +00:00
Radosław Kapka
77d3ccb9ad
Clean up state types ( #11916 )
...
* Clean up state types
* rename package
2023-01-26 14:40:12 +00:00
terencechain
0a4b0a68d3
Clean up unused code ( #11900 )
...
* Clean up unused code
* More unused
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-25 10:09:14 +00:00
Patrice Vignola
d919f800e3
Add REST implementation for Validator's GetDuties
( #11893 )
...
* Add REST implementation for `MultipleValidatorStatus`
* Fix PR comments
* WIP
* Add REST implementation for Validator's SubscribeCommitteeSubnets
* Remove redundant test
* Initialize dutiesProvider
* Address PR comments
* Remove duplicate import
* Fix build break
* WIP
* WIP
* WIP
* Add valid test case for getDutiesForEpoch
* Add failure tests for getDuties
* Revert test change
* Address PR comments
* Address PR comments
Co-authored-by: Emmanuel NALEPA <emmanuel.nalepa@kiln.fi>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-24 14:33:29 +00:00
Patrice Vignola
55f311eb73
Add REST implementation for Validator's SubscribeCommitteeSubnets
( #11804 )
...
* WIP
* Add REST implementation for Validator's SubscribeCommitteeSubnets
* Remove redundant test
* Initialize dutiesProvider
* Remove duplicate import
* Fix build break
* Address PR comments
* Remove file committed by mistake
* Fix broken test
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-18 21:21:07 +00:00
Manu NALEPA
0f90bacac9
Add REST implementation for CheckDoppelGanger
( #11835 )
...
* Add REST implementation for `MultipleValidatorStatus`
* Fix PR comments
* Address PR comments
* Add REST implementation for `CheckDoppelGanger`
* Use context
* Fix comments
* Fix PR comments
* Fix PR comments
* remove blank lines
* Fix comments
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-18 16:13:45 +00:00
Dhruv Bodani
7c9bff489e
Add REST implementation for GetSyncCommitteeContribution ( #11875 )
...
* add REST implementation for GetSyncCommitteeContribution
* fix imports
* Update validator/client/beacon-api/sync_committee.go
Co-authored-by: Radosław Kapka <radek@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-17 16:43:22 +00:00
Potuz
fbafbdd62c
Stream blocks capella ( #11883 )
...
* capella blocks stream
* add unit tests
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-17 12:17:18 +00:00
Patrice Vignola
81b9eceb50
Add Capella support for Validator's REST API ProposeBeaconBlock
and GetBeaconBlock
endpoints ( #11848 )
...
* Add Capella support for Validator's REST API ProposeBeaconBlock and GetBeaconBlock endpoints
* Fix
* Fix
* Add context to capella tests
* Update validator/client/beacon-api/beacon_block_proto_helpers.go
* Update validator/client/beacon-api/beacon_block_proto_helpers.go
* Update validator/client/beacon-api/beacon_block_proto_helpers_test.go
* Update validator/client/beacon-api/beacon_block_proto_helpers_test.go
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <radek@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-11 16:55:09 +00:00
Nishant Das
2b5125c7bc
Check If Validator Is In Sync Committee ( #11860 )
2023-01-11 10:19:31 +00:00
Dhruv Bodani
116f3ac265
Add REST implementation for validator's ProposeAttestation ( #11800 )
...
* Add REST implementation for validator's ProposeAttestation
* handle nil attestation
* update propose attestation with context
* fix lint
* add remaining nil testcases
* Update validator/client/beacon-api/propose_attestation_test.go
Co-authored-by: Radosław Kapka <radek@prysmaticlabs.com>
* fix BUILD.bazel
Co-authored-by: Radosław Kapka <radek@prysmaticlabs.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-10 16:21:29 +00:00
Jacob Shufro
bbe003720c
add custom headers to DomainData requests ( #11767 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-01-10 00:20:45 +00:00
Patrice Vignola
e957edcb12
Add REST implementation for Validator's SubmitSignedContributionAndProof
( #11812 )
...
* Add REST implementation for Validator's SubscribeCommitteeSubnets
* Add context
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-09 22:54:52 +00:00
Dhruv Bodani
684022fa69
Add REST implementation for validator's SubmitSignedAggregateSelectionProof ( #11826 )
...
* add REST endpoint for SubmitSignedAggregateSelectionProof
* fix linter action
* update with context
* fix context import
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-09 21:18:42 +00:00
Dhruv Bodani
a7a64632b1
fix TestEndToEnd_MinimalConfig_ValidatorRESTApi
test ( #11856 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-09 21:45:37 +01:00
Dhruv Bodani
c89ab764e3
Add REST implementation for validator's GetSyncMessageBlockRoot ( #11824 )
...
* add REST implementation for GetSyncMessageBlockRoot
* improve sync_message_block_root_test.go to handle errors
* include context
* fix unit tests
2023-01-09 19:35:33 +00:00
Manu NALEPA
375a76d6c9
Add REST implementation for SubmitSyncMessage
( #11827 )
...
* Add REST implementation for `SubmitSyncMessage`
* Use context
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-09 17:05:18 +00:00
Manu NALEPA
4c9a0bf772
Add REST implementation for SubmitValidatorRegistrations
( #11816 )
...
* Add REST implementation for `SubmitValidatorRegistrations`
* Remove unused context
* Use context
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-06 19:46:09 +00:00