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
15ae71c0da
Builder ssz ( #14976 )
...
* wip
* refactoring functions for easier readability
* allow ssz for register validator
* changelog
* adding in blinded block submission tests
* adding in tests for header ssz
* fixing linting and tests
* adding in custom errors and fixing ssz validator registration
* Update api/client/builder/client.go
Co-authored-by: Manu NALEPA <enalepa@offchainlabs.com >
* Update api/client/builder/client.go
Co-authored-by: Manu NALEPA <enalepa@offchainlabs.com >
* manu's feedback
* linting
* adding in info log to notify that this setting was turned on
* fixing linting
* manu's feedback
* fixing import
---------
Co-authored-by: Manu NALEPA <enalepa@offchainlabs.com >
2025-03-14 17:23:00 +00:00
Preston Van Loon
9bceaa59d2
tracing: Add otel tracer transport to all http clients ( #14972 )
...
* Fixed otelhttp client setups.
Note: This may not be the best solution as the http client is defined in many places. There should be a canoncial http client with the proper setup.
* Changelog fragment
* go mod tidy and gazelle
2025-02-21 19:39:53 +00:00
james-prysm
0f86a16915
builder: api calls should have appropriate headers ( #14961 )
...
* adding correct headers when posting for validator registration on builder api
* changelog
2025-02-20 14:27:14 +00:00
james-prysm
2c78e501b3
Builder: Electra ( #14344 )
...
* removing skip from test
* builder wip
* removing todo, it's probably ok
* adding more TODOs
* adding fromProtoElectra
* using lightclient
s branch and updating values
* minor fixes
* rolling back dependency changes
* go mod tidy
* adding space back in
* updating builder changes based on execution request changes
* update ssz
* changelog
* updating based on execution request changes
* fixing validation
* adding builder test for electra
* gaz
* attempting to fix test
* fixing ssz
* fixing build and handling develop changes
* gaz
* fixing unfinished function
* fixing test
* fixing important missed regression
* removing unneeded validations
* missed linting
* gofmt
* fixing fulu test
* fixing changelog
* Update bid.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update bid.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update types.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update types.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update james-prysm_builder-electra.md
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update testing/middleware/builder/builder.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* addressing review feedback and updating e2e
* fixing parsing bid version
* reversing incorrect check
* improving tests and updating more code based on review feedback
* gofmt
* fixing unit tests
* more feedback from terence
* gofmt
* Update api/client/builder/types.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update api/client/builder/types.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* addressing nitpicks
* gofmt
* radek feedback
* improves error
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-01-23 17:48:19 +00:00
Radosław Kapka
8cff9356f1
Remove duplicate imports ( #14772 )
2025-01-03 11:42:14 +00:00
Manu NALEPA
96b31a9f64
Logging improvement. ( #14735 )
...
* Add a log before filesystem cache warm-up.
* Log `Successfully registered validator(s) on builder` ==> Debug.
2024-12-20 11:14:14 +00:00
terence
bc69ab8a44
Support for different blob target and max values ( #14678 )
...
* Add support for different blob target and max
* Fix change log to right section
2024-12-19 14:58:24 +00:00
kasey
1707cf3ec7
http response handling improvements ( #14673 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
2024-11-27 22:13:45 +00:00
Sammy Rosso
170a864239
Otel migration ( #14424 )
...
* remove opencensus
* gaz
* update dependencies
* add missing dependencies
* fix test?
* Fix note relevance
* add otel http transport middleware
* gaz
* tidy up
* gaz
* changelog
* feedback
* gaz
* fix merge issues
2024-09-12 23:00:20 +00:00
james-prysm
4c14bd8be2
looking at ways to reduce validator registration calls ( #14371 )
...
* looking at ways to reduce validator registration calls
* small mistake, should be epoch start
* adding more optimizations for reducing registration calls while covering more edgecases
* linting
* adding change log and force full push override
* fixing bug and adding tests
* changing if statement just to be safe
* potuz feedback for easier readability
* more review feedback for simplicity
* more review suggestions from potuz
* fix unit test
* reduce redundancy
* Update CHANGELOG.md
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* small nitpick
* fixing typo
* updating logs
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2024-09-09 16:30:41 +00:00
Nishant Das
2f42f7e313
Add a Tracing Wrapper Package ( #14207 )
...
* Adds a wrapper package
* Gazelle
* Add in Empty Span
* Revert It Back
* Add back reference
* Set It As Empty
* fix missing import
* remove redundant alias
* remove unused
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com >
Co-authored-by: Saolyn <sammy@rosso.red >
2024-08-27 20:00:53 +00:00
Khanh Hoa
7a394062e1
refactor: enable errorlint and refactor code ( #14110 )
...
* refactor: enable errorlint and refactor code
* revert
* revert
* add bazel
* gofmt
* gofmt
* gofmt
* gofmt
* gci
* lint
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2024-07-04 22:40:13 +00:00
kasey
2265af58ae
Unwrap payload bid ( #14035 )
...
* engine GetPayload returns entire response
* deprecate PayloadValueTo(Gwei|Wei)
* return entire bid from builder getter
* get bid value from api bid (not ExecutionData)
* plumb bid and bundle through BuildBlockParallel
* rm ValueInGwei
* removing wei/gwei fields from the payload wrappers
* commentary around the little-endian situation
* finish the job in BuildBlockParallel
* light self-review cleanup
* fix spectest mock
* restore engine timeout
* lint fixes
* de-duplicate imports
* remove errant comment
* James feedback
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
2024-05-22 22:16:32 +00:00
kasey
9befb6bd06
g/wei math->primitives, some new helpers ( #14026 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
2024-05-20 15:40:46 +00:00
kasey
c312a88aa3
Removes fork-specific concrete type getters ( #13941 )
...
* removing typed pb accessors
* refactor ssz api resp handlers to avoid typed pbs
* json get block handler refactor
* SubmitBlindedBlock to use generic json handling
* update SubmitBlindedBlock
* clear out more usages of PbForkname methods
* remove fork-specific getters from block interface
* remove usages of payload pb methods
* remove pb helpers from execution payload interface
* Update beacon-chain/rpc/eth/beacon/handlers.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update beacon-chain/rpc/eth/beacon/handlers.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update api/client/builder/client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update api/client/builder/client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update api/client/builder/client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update api/client/builder/client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update api/client/builder/client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Radek review
* fix error message
* deal with wonky builder responses
* ✂️
* gaz
* lint
* tweaks for deep source
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2024-05-02 20:52:27 +00:00
james-prysm
2de21eb22f
adding headers to post endpoint ( #13753 )
2024-03-15 18:19:42 +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
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
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
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
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
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
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
Radosław Kapka
29f645f0cc
Add Eth-Consensus-Version header to SubmitBlindedBlock ( #12029 )
...
* Add `Eth-Consensus-Version` header to `SubmitBlindedBlock`
* bring back function
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-02-22 17:42:05 +00:00