james-prysm
2de21eb22f
adding headers to post endpoint ( #13753 )
2024-03-15 18:19:42 +00:00
james-prysm
d6ae838bbf
replace receive slot with event stream ( #13563 )
...
* WIP
* event stream wip
* returning nil
* temp removing some tests
* wip health checks
* fixing conficts
* updating fields based on linting
* fixing more errors
* fixing mocks
* fixing more mocks
* fixing more linting
* removing white space for lint
* fixing log format
* gaz
* reverting changes on grpc
* fixing unit tests
* adding in tests for health tracker and event stream
* adding more tests for streaming slot
* gaz
* Update api/client/event/event_stream.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* review comments
* Update validator/client/runner.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/beacon-api/beacon_api_validator_client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing radek comments
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing review feedback
* moving things to below next slot ticker
* fixing tests
* update naming
* adding TODO comment
* Update api/client/beacon/health.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing comments
* fixing broken linting
* fixing more import issues
* fixing more import issues
* linting
* updating based on radek's comments
* addressing more comments
* fixing nogo error
* fixing duplicate import
* gaz
* adding radek's review suggestion
* Update proto/prysm/v1alpha1/node.proto
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* preston review comments
* Update api/client/event/event_stream.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* Update validator/client/validator.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* addressing some more preston review items
* fixing tests for linting
* fixing missed linting
* updating based on feedback to simplify
* adding interface check at the top
* reverting some comments
* cleaning up intatiations
* reworking the health tracker
* fixing linting
* fixing more linting to adhear to interface
* adding interface check at the the top of the file
* fixing unit tests
* attempting to fix dependency cycle
* addressing radek's comment
* Update validator/client/beacon-api/beacon_api_validator_client.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* adding more tests and feedback items
* fixing TODO comment
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-03-13 13:01:05 +00:00
Manu NALEPA
b2e3c29ab3
Improve logging. ( #13708 )
...
* Improve logging.
* Make deepsource happy.
* Fix comment.
2024-03-08 12:23:34 +00:00
Radosław Kapka
0b261cba5e
Unify log fields ( #13654 )
...
* unify fields
* fix tests
2024-02-22 22:40:36 +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
Radosław Kapka
e3ce1bde45
Move API structs to api
module ( #13577 )
2024-02-03 11:57:01 +00:00
Radosław Kapka
c996109b3a
Return payload value in Wei from /eth/v3/validator/blocks
( #13497 )
...
* Add value in Wei to execution payload
* simplify how payload is returned
* test fix
* fix issues
* review
* fix block handlers
2024-01-24 20:58:35 +00:00
terence
351ed1c511
Check kzg commitment count from builder ( #13394 )
2024-01-02 06:50:23 +00:00
terence
1c9ded4684
Remove blind field from block type ( #13389 )
...
* Init
* Init
* Fix tests
2023-12-29 21:28:19 +00:00
Nishant Das
b45a6664be
Enable Deneb For E2E Scenario Tests ( #13317 )
...
* fix all cases
* update web3signer
* current progress
* fix it finally
* push it back to capella
* remove hard-coded forks
* fix failing tests
* gaz
* fix dumb bug
* fix bad test setup
* change back
2023-12-16 11:37:44 +00:00
Justin Traglia
c56abfb840
Enable usestdlibvars linter and fix findings ( #13339 )
...
Co-authored-by: terence <terence@prysmaticlabs.com>
2023-12-15 19:21:54 +00:00
james-prysm
45a2746d0e
Builder API: Fix max field check on toProto function ( #13334 )
...
* fixing field param used in ToProto function
* fxing test to pass
* making blobs empty in test
2023-12-14 03:03:00 +00:00
Justin Traglia
52b9b65adb
Add sanity checks for bundle from builder ( #13319 )
...
* Add sanity checks for bundle from builder
* Add more checks to BlobsBundle.ToProto()
* Fix minor typo
* Fix tests & add new ones
* Add tests for ToProto
* Add "not" to error message
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-12-13 15:54:00 +00:00
Radosław Kapka
4c47756aed
HTTP endpoints cleanup ( #13251 )
...
* remove validation package
* structs cleanup
* merge with apimiddleware removal
* more validation and Bls capitalization
* builder test fix
* use strconv for uint->str conversions
* use DecodeHexWithLength
* use exact param names
* rename http package to httputil
* change conversions to fmt.Sprintf
* handle query paramsd and route variables
* spans and receiver name
* split structs, move bytes helper
* missing ok check
* fix reference to indexed failure
* errors fixup
* add godoc to helper
* fix BLS casing and chainhead ref
* review
* fix import in tests
* gzl
2023-12-08 20:37: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
james-prysm
bc107a61e3
builder API: remove blinded blob sidecar ( #13202 )
2023-11-29 06:28:37 -08:00
Manu NALEPA
da2212f6cc
Allow validators registration batching on Builder API /eth/v1/builder/validators
( #13178 )
...
* builder `NewClient`: Simplify + fix some typos.
* Validator client: Implement `validator-registration-batch-size` option
* Address Potuz comments
* Address Potuz's comments
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-28 00:23:48 +00:00
Radosław Kapka
cd8d499198
Move weak subjectivity endpoint to HTTP ( #13220 )
...
* Move weak subjectivity endpoint to HTTP
* remove server test file
* remove deprecation
2023-11-27 14:44:26 +00:00
Radosław Kapka
28aa11c976
Config HTTP endpoints ( #13168 )
...
* Config HTTP endpoints
* error on unsupported type
* type assertion
2023-11-13 23:38:23 +00:00
james-prysm
27b4e32e1c
HTTP Validator API: /eth/v1/keystores
( #13113 )
...
* WIP
* fixing tests
* fixing bazel
* fixing api client
* fixing tests
* fixing more tests and bazel
* fixing trace and more bazel issues
* fixing router path function definitions
* fixing more tests and deep source issues
* adding delete test
* if a route is provided, reregister before the catch all on the middleware.
* fixing linting
* fixing deepsource complaint
* gaz
* more deepsource issues
* fixing missed err check
* changing how routes are registered
* radek reviews
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* fixing unit test after sammy's review
* adding radek's comments
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
2023-10-31 16:33:54 +00:00
james-prysm
2a067d5d03
HTTP Validator API: /eth/v1/validator/{pubkey}/feerecipient
( #13085 )
...
* migrating fee recipient endpoints to pure http implementation
* fixing linting
* fixing type name
* fixing after merging develop
* fixing linting and tests
* Update validator/rpc/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-24 16:55:45 +00:00
terencechain
823f8ee3a2
Fix redundant type converstion ( #13076 )
...
* Fix redundant type converstion
* Revert generated changes
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-20 15:07:10 +00:00
james-prysm
7143fe80bc
HTTP VALIDATOR API: remote keymanager api /eth/v1/remotekeys
( #13059 )
...
* WIP migrating keymanager api changes
* gaz
* fixing more tests
* fixing unit tests
* fixing deepsource
* fixing visibility of package
* fixing more package visability issues
* gaz
* fixing test
* moving routes to proper location
* removing whitespae for linting
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* radek's comments
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-19 16:17:42 +00:00
james-prysm
55e4c6e1db
HTTP API: /eth/v1/beacon/pool/bls_to_execution_changes
( #12963 )
...
* wip
* wip changes for beacon handlers
* wip
* updating protos
* fixing conflict
* fixing protos
* fixing more tests
* migrating tests and removing one that is irrelevant
* fixing e2e
* fixing unit tests
* missed adding routes
* gaz
* fixing more tests
* Update beacon-chain/rpc/eth/beacon/handlers_pool.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* radek's comments
* fixing protos after conflict
* accidently removed a proto type
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-11 14:08:06 +00:00
james-prysm
c8b39e08ef
cleanup on api types ( #12961 )
...
* removing code duplication using shared types
* gaz
* fixing test
* fixing tests
2023-09-27 09:26:32 -05:00
james-prysm
14ce051668
Deneb builder fix ( #12921 )
...
* fixing conversion for deneb
* updating unit test to catch this in the future
* gaz
2023-09-18 20:34:28 +00:00
terencechain
998a493ee2
Fix builder blind block namings ( #12910 )
...
* Fix builder blind block namings
* Fix
* Fix tests
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-09-18 15:32:10 +00:00
terencechain
2f6dcb34b6
fix(builder): handle no blob bundle ( #12838 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-06 20:59:42 +00:00
james-prysm
9a7393a2e3
Deneb produce blockv3 ( #12708 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-09-01 12:51:27 +02:00
james-prysm
70997e2489
renaming data to blobs in execution payload ( #12664 )
2023-08-31 08:41:57 -05:00
james-prysm
8a67f616f0
introducing deneb changes and blobs to builder ( #12477 )
2023-08-31 08:41:57 -05:00
terencechain
17500dcfca
Fix: download genesis log ( #12759 )
2023-08-20 14:46:40 -07:00
Anukul Sangwan
3bc808352f
run ineffassign
for all code ( #12578 )
...
* run `ineffassign` for all code
* fix reported ineffassign errors
* remove redundant changes
* fix remaining ineffassign errors
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-06-29 15:38:26 +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
152d21059e
adding additional comments and safe copies to protos ( #12518 )
2023-06-13 10:31:29 -05: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
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
terencechain
be16b64535
Remove SubmitBlindBlock
context timeout ( #12453 )
2023-05-24 14:19:23 +00:00
Nishant Das
aef22bf54e
Add In Support For Builder in E2E ( #12343 )
...
* fix it up
* add gaz
* add changes in
* finally runs
* fix it
* add progress
* add capella support
* save progress
* remove debug logs
* cleanup
* remove log
* fix flag
* remove unused lock
* gaz
* change
* fix
* lint
* james review
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-05-11 11:10:29 -05:00
Radosław Kapka
328e6fb074
Move some errors to separate consensus-types
package ( #12329 )
...
* move `ErrNilObjectWrapped` to separate package
* build fix
* move not supported
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-04-25 15:07:24 +00:00
terencechain
08d6eccfb3
Change native execution value to Gwei Uint64 ( #12291 )
...
* Default value to uint64
* Fix spectest
* Fix tests
* Fix tests
* Fix tests
* Fix test
* Fix test
* Fix build
* Potuz feedback
* Add test
* Fix test
* Fix test
2023-04-22 00:44:28 +00:00
james-prysm
b0bf402469
version check to blinded block ( #12305 )
2023-04-19 10:55:36 -05:00
Justin Traglia
4c916403e9
Enable dupword linter & fix findings ( #12271 )
...
* Enable dupword linter & fix findings
* Correct an incorrect fix
* Add nolint comment
* Add another nolint comment
* Revert unintended change to bazel version
---------
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-04-18 22:01:27 +00:00
Justin Traglia
8428a79971
Enable whitespace linter & fix findings ( #12273 )
...
* Enable whitespace linter & fix findings
* Fix new finding
* fix new violation
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2023-04-18 18:58:27 +00:00
Nishant Das
75338dd83d
Fix User Agent In Builder Client ( #12264 )
2023-04-13 03:12:51 +00:00
terencechain
99eebe9bac
Fix capella unblind block with bls field ( #12263 )
2023-04-12 18:47:34 -07: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
james-prysm
0c025ab719
prysmctl: fix withdrawals fork checking logic ( #12130 )
...
* coded based on suggestions from slack
* fixing linting
* removing unused flags and space
* small improvement to log
2023-03-15 12:32:11 +08:00
terencechain
00b9e484e5
Cleanups from eip4844 branch ( #12109 )
...
* Minor cleanups from eip4844 branch
* Add back handler
* Fix gazelle
* More fixes
* More fixes
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-10 16:46:27 +00:00
Bret
c3346fefa7
Fix log messages ( #12086 )
...
These two log messages were appending a `d` to the hash. When compared to the other hash, they matched up until the `d`
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-03-07 07:16:39 +00:00