Bastin
92bd211e4d
upgrade v6 to v7 ( #15989 )
...
* upgrade v6 to v7
* changelog
* update-go-ssz
2025-11-06 16:16:23 +00:00
Radosław Kapka
8ad547c969
Remove Beacon API endpoints that were deprecated in Electra ( #15962 )
...
* Remove Beacon API endpoints that were deprecated in Electra
* changelog <3
* build fix
* remove more stuff
* fix post-submit e2e and remove structs
* list endpoints in the changelog
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
2025-11-05 18:20:34 +00:00
Preston Van Loon
62fec4d1f3
Replace context.Background with testing.TB.Context where possible ( #15416 )
...
* Replace context.Background with testing.TB.Context where possible
* Fix failing tests
2025-06-16 22:09:18 +00:00
terence
774b9a7159
Migrate Prysm repo to Offchain Labs organization ahead of Pectra V6 ( #15140 )
...
* Migrate Prysm repo to Offchain Labs organization ahead of Pectra upgrade v6
* Replace prysmaticlabs with OffchainLabs on general markdowns
* Update mock
* Gazelle and add mock.go to excluded generated mock file
2025-04-10 15:40:39 +00:00
james-prysm
9382ae736d
validator REST: attestation v2 ( #14633 )
...
* wip
* fixing tests
* adding unit tests
* fixing tests
* adding back v1 usage
* changelog
* rolling back test and adding placeholder
* adding electra tests
* adding attestation nil check based on review
* reduce code duplication
* linting
* fixing tests
* based on sammy review
* radek feedback
* adding fall back for pre electra and updated tests
* fixing api calls and associated tests
* gaz
* Update validator/client/beacon-api/propose_attestation.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* review feedback
* add missing fallback
* fixing tests
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2024-11-20 17:13:57 +00:00
Sammy Rosso
ff8240a04f
Add /eth/v2/validator/aggregate_attestation ( #14481 )
...
* add endpoint
* changelog
* fix tests
* fix endpoint
* remove useless broken code
* review + fix endpoint
* gaz
* fix aggregate selection proof test
* fixes
* new way of aggregating
* nit
* fix part of the tests
* fix tests
* cleanup
* fix AggSelectionProof test
* tests
* v1 tests
* v2 tests
* commiittee bits
---------
Co-authored-by: rkapka <radoslaw.kapka@gmail.com >
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2024-11-07 13:34:18 +00:00
Radosław Kapka
df3a9f218d
More tracing in the validator client ( #14125 )
...
* More tracing in the validator client
* change context expectation in tests
2024-06-20 16:13:53 +00:00
Radosław Kapka
3ab759e163
One more validator client cleanup ( #14048 )
...
* interface names
* interface method names
* inspection
* regenerate pb and mock
* Revert beacon node changes
* build fix
* review
* more functions
* combine parameters
2024-05-31 15:53:58 +00:00
Radosław Kapka
b692722ddf
Optimize SubmitAggregateSelectionProof VC action ( #13711 )
...
* Optimize `SubscribeCommitteeSubnets` VC action
* test fixes
* remove newline
* Optimize `SubmitAggregateSelectionProof`
* mock
* bzl gzl
* test fixes
2024-03-19 14:09:07 +00:00
Sammy Rosso
4ff91bebf8
Switch gomock library ( #13639 )
...
* Update gomock
* Update mockgen
* Gaz
* Go mod
* Cleanup
* Regenerate gomock
* Manually fix import
2024-02-21 18:37:17 +00:00
terence
5a66807989
Update to V5 ( #13622 )
...
* First take at updating everything to v5
* Patch gRPC gateway to use prysm v5
Fix patch
* Update go ssz
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com >
2024-02-15 05:46:47 +00:00
Dhruv Bodani
55a29a4670
Implement beacon committee selections ( #13503 )
...
* implement beacon committee selections
* fix build
* fix lint
* fix lint
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update validator/client/beacon-api/beacon_committee_selections.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update validator/client/beacon-api/beacon_committee_selections.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update validator/client/beacon-api/beacon_committee_selections.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* move beacon committee selection structs to validator module
* fix bazel build files
* add support for POST and GET endpoints for get state validators query
* add a handler to return error from beacon node
* move beacon committee selection to validator top-level module
* fix bazel
* re-arrange fields to fix lint
* fix TestServer_InitializeRoutes
* fix build and lint
* fix build and lint
* fix TestSubmitAggregateAndProof_Distributed
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2024-02-05 15:43:51 +00:00
Radosław Kapka
e3ce1bde45
Move API structs to api module ( #13577 )
2024-02-03 11:57:01 +00:00
Radosław Kapka
d0bf03e863
Simplify error handling for JsonRestHandler ( #13369 )
...
* Simplify error handling for `JsonRestHandler`
* POST
* reduce complexity
* review feedback
* uncomment route
* fix rest of tests
2023-12-22 22:39:20 +00:00
Radosław Kapka
a0ca4a67b0
Remove API Middleware ( #13243 )
...
* remove api/gateway/apimiddleware
* fix errors in api/gateway
* remove beacon-chain/rpc/apimiddleware
* fix errors in api/client/beacon
* fix errors in validator/client/beacon-api
* fix errors in beacon-chain/node
* fix errors in validator/node
* fix errors in cmd/prysmctl/validator
* fix errors in testing/endtoend
* fix all other code
* remove comment
* fix tests
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-12-04 11:55:21 +00:00
Radosław Kapka
5ecb4d62a9
REST VC: Use POST to fetch validators ( #13239 )
2023-11-29 18:53:26 +01:00
Radosław Kapka
a7edec9b98
Better error handling in REST VC ( #13203 )
2023-11-21 17:42:55 +01:00
Radosław Kapka
a536612c39
HTTP Beacon APIs for node ( #13010 )
2023-10-11 22:18:49 +02:00
Radosław Kapka
e22258caa9
HTTP validator APIs ( #12887 )
...
* GetValidators in progress
* in progress
* completed implementation of GetValidators + some tests
* typo
* completed tests for GetValidators
* GetValidator
* GetValidatorBalances
* register
* more tests and e2e fix
* middleware cleanup
* remove struct
* handle all ignored
* test fixes
* more test fixes
* even more test fixes
* remove unused structs
* docs
* fix validator count test
* build fix
* add length checks
* lint fix
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
2023-09-21 18:16:59 +00:00
Radosław Kapka
79445d2bf6
HTTP Beacon API: /eth/v1/validator/duties ( #12810 )
...
* impl
* protos
* remove apimiddleware from e2e
* register endpoint
* get epoch from vars
* tests
* test fixes
* remove unused function
* GetProposerDuties
* proto
* fix compilation
* register
* tests
* GetSyncCommitteeDuties
* protos
* register
* tests in progress
* complete tests
* check altair epoch
* more testing
* create variable
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
2023-09-12 13:57:04 +00:00
anukul
46c72798c7
HTTP Beacon API: /eth/v1/validator/attestation_data ( #12634 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2023-08-14 17:56:36 +03:00
Radosław Kapka
049e608c75
HTTP Beacon API: /eth/v1/validator/sync_committee_subscriptions ( #12689 )
...
* HTTP Beacon API: `/eth/v1/validator/contribution_and_proofs`
* add comment to invalid test case
* fix validation and test
* review
* in progress
* implementation
* remove test file
* remove duplicate
* tests
* HTTP Beacon API: `/eth/v1/validator/sync_committee_subscriptions`
* pointers, pointers everywhere
* fix
* fix after merge
* review
* James' review
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
2023-08-08 22:54:04 +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
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