kasey
70e1b11aeb
blob save fsync feature flag ( #13652 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2024-02-23 23:14:35 +00:00
Radosław Kapka
0b261cba5e
Unify log fields ( #13654 )
...
* unify fields
* fix tests
2024-02-22 22:40:36 +00:00
Radosław Kapka
7a9608ea20
Normalize backfill logs/errors ( #13642 )
...
* Normalize backfill logs
* improve flag desc
* review
2024-02-22 12:32:32 +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
Dust
05b2795844
add BlockBatchLimit comment: Maximum 128 ( #13502 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2024-02-15 20:00:18 +00:00
james-prysm
3a2734f249
removing show deposit data flag ( #13618 )
...
* removing show deposit data flag
* removing flag insted of deprecating
* fixing test
* fixing test
2024-02-15 19:49:50 +00:00
terence
50d1961e52
Remove safe slots to import flag ( #13624 )
2024-02-15 18:59:05 +00:00
Radosław Kapka
6c5351c3a2
Remove deprecated items ( #13600 )
...
* Remove deprecated items
* missed test
* add back deprecated fields
* Preston's review
* remove tests
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2024-02-15 15:23:31 +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
Preston Van Loon
224b136737
Revert "set limit to multiple of burst for goerli" ( #13552 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2024-01-30 06:10:12 +00:00
kasey
373c853d17
set limit to multiple of burst for goerli ( #13544 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2024-01-27 22:12:08 +00:00
Nishant Das
59b310a221
make it the same ( #13531 )
2024-01-26 05:35:27 +00:00
Nishant Das
22b6d1751d
Enable Backfill in E2E ( #13524 )
...
* enable backfill for devmode
* enable backfill
* gaz
* move to its own package
* fix panic
* fix bug
* gaz
* kasey's review
2024-01-26 04:37:41 +00:00
kasey
1df173e701
Block backfilling ( #12968 )
...
* backfill service
* fix bug where origin state is never unlocked
* support mvslice states
* use renamed interface
* refactor db code to skip block cache for backfill
* lint
* add test for verifier.verify
* enable service in service init test
* cancellation cleanup
* adding nil checks to configset juggling
* assume blocks are available by default
As long as we're sure the AvailableBlocker is initialized correctly
during node startup, defaulting to assuming we aren't in a checkpoint
sync simplifies things greatly for tests.
* block saving path refactor and bugfix
* fix fillback test
* fix BackfillStatus init tests
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2024-01-23 07:54:30 +00:00
Manu NALEPA
99a8d0bac6
Validator client - Improve readability - NO FUNCTIONAL CHANGE ( #13468 )
...
* Improve `NewServiceRegistry` documentation.
* Improve `README.md`.
* Improve readability of `registerValidatorService`.
* Move `log` in `main.go`.
Since `log` is only used in `main.go`.
* Clean Tos.
* `DefaultDataDir`: Use `switch` instead of `if/elif`.
* `ReadPassword`: Remove unused receiver.
* `validator/main.go`: Clean.
* `WarnIfPlatformNotSupported`: Add Mac OSX ARM64.
* `runner.go`: Use idiomatic `err` handling.
* `waitForChainStart`: Avoid `chainStartResponse`mutation.
* `WaitForChainStart`: Reduce cognitive complexity.
* Logs: `powchain` ==> `execution`.
2024-01-15 14:46:54 +00:00
Manu NALEPA
a883ae2a76
BN: Move --db-backup-output-dir
as a deprecated flag. ( #13450 )
2024-01-11 14:11:36 +00:00
GoodDaisy
c6ebe157a6
Fix typos ( #13435 )
2024-01-09 21:03:36 +00:00
Manu NALEPA
886d76fe7c
Refactor validator client help. ( #13401 )
...
* Define `cli.App` without mutation.
No functional change.
* `usage.go`: Clean `appHelpTemplate`.
No functional change is added.
Modifications consist in adding prefix/suffix `-` to improve readability of
the template without adding new lines in template inference.
We now see some inconsistencies of the template:
- `if .App.Version` is around the `AUTHOR` section.
- `if .App.Copyright` is around both `COPYRIGHT` and `VERSION` sections.
- `if len .App.Authors` is around nothing.
* `usage.go`: Surround version and author correctly.
* `usage.go`: `AUTHOR` ==> `AUTHORS`
* `usage.go`: `GLOBAL` --> `global`.
* `--grpc-max-msg-size`: Remove double default.
* VC: Standardize help message.
- Flags help begin with a capital letter and end with a period.
- If a flag help begins with a verb, it is conjugated.
- Expermitemtal, danger etc... mentions are between parenthesis.
* VC help message: Wrap too long lines.
2024-01-02 18:02:28 +00:00
Manu NALEPA
82b2840d68
--validatorS-registration-batch-size
(add s
) (#13396 )
2024-01-02 09:52:14 +00:00
Nishant Das
233f4d99a2
Update Libp2p To v0.32.1 and Go to v1.21.5 ( #13304 )
...
* update libp2p
* fix tests
* fix tests
* fix build
* update to go v1.21
* workflow
* workflow again
* update ci
* update golangci
* disable quic
2023-12-21 16:09:54 +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
Preston Van Loon
09f3df309d
Remove rules_docker, make multiarch images canonical ( #13324 )
...
* Remove rules_docker
* Update base image
2023-12-13 23:31:58 +00:00
james-prysm
4cbe144a6c
CLI: fixing account import ux bugs ( #13328 )
...
* fixing account import checking wallet twice, and adding sub folder search with a depth of 2
* removing uneeded check
* fixing unit test
* adding reset cache to fix potential flake
* improving test based on feedback
2023-12-13 17:11:32 +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
kasey
737e0e0d3a
Use functional options for --blob-retention-epochs
( #13283 )
...
* blob retention period functional opts
* missed unstaged change
* missed other init after cleardb
* fix ineffassign
* fix dup import
* config failsafe for tests
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-12-06 20:20:34 +00:00
Nishant Das
e1a3852f08
push up the defaults ( #13278 )
2023-12-06 16:46:46 +00:00
Nishant Das
97a522827b
Bump Up Gossip Queue Size ( #13277 )
2023-12-06 09:49:26 +00:00
Brandon Liu
c78d698d89
Add --jwt-id
flag ( #13218 )
...
* add jwt-id flag
* optimize unit test for jwt-id
* Add jwt-id to help text
* gofmt
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2023-12-05 19:02:25 +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
kasey
c010601f3b
Initialize cancellable root context in main.go ( #13252 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-12-01 21:16:06 +00:00
Nishant Das
1c35b66132
Add Gossipsub Queue Flag ( #13237 )
...
* add it
* remove var
* fix tests
* terence's comments
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-30 14:22:59 +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
Nishant Das
0498e0a4d5
Fix Blob Storage Path ( #13222 )
...
* fix the path
* gaz
2023-11-25 01:57:22 +00:00
kasey
1123df7432
Verified roblobs ( #13190 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-21 18:44:38 +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
Radosław Kapka
798d5ec585
Remove default value of circuit breaker flags ( #13186 )
...
* Update default value of `max-builder-epoch-missed-slots`
* remove the default value
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-13 18:55:55 +00:00
Preston Van Loon
3097601530
pgo: Enable pgo behind release flag ( #13158 )
...
* Revert a54e61ecb0
* Configure the use of pgo profiles behind the release config flag (--config=release)
2023-11-08 13:33:26 +00:00
Preston Van Loon
a54e61ecb0
pgo: remove default pprof profile ( #13150 )
2023-10-31 21:43:41 +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
Sammy Rosso
047613069e
Rename Blob retention epoch flag ( #13124 )
...
* Rename flag and add alias
* Update cmd/beacon-chain/flags/base.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* Fix sentence
* Fix TestConfigureBlobRetentionEpoch
* Fix silly mistake
* Reviews
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2023-10-30 17:35:31 +00:00
Preston Van Loon
82640b3d88
Enable profile guided optimization for beacon-chain ( #13035 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 05:52:36 +00:00
Stefan
6f941b8138
fix segmentation fork when Capella for epoch is MaxUint64 ( #13126 )
...
* fix segmentation fork when Capella for epoch is MaxUint64
fix segmentation
fix segmentation
* Update cmd/prysmctl/testnet/generate_genesis.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update cmd/prysmctl/testnet/generate_genesis.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
---------
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2023-10-27 00:46:08 +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
76fec1799e
Replace Empty Slice Literals with Nil Slices ( #13093 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-23 16:36:11 +00:00
terencechain
83932d8e05
Refactor Error String Formatting According to Go Best Practices ( #13092 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-23 07:57:25 +00:00
terencechain
9387a36b66
Refactor Exported Names to Follow Golang Best Practices ( #13075 )
...
* Fix exported names that start with a package name
* A few more renames
* Fix exported names that start with a package name
* A few more renames
* Radek's feedback
* Fix conflict
* fix keymanager test
* Fix comments
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-20 16:45:33 +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
Nishant Das
bc125a95ae
Set Verbosity of Goodbye Logs to Trace ( #13077 )
2023-10-19 03:49:34 +00:00