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
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
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
Preston Van Loon
d70f477b1e
Fix docker image version strings in CI ( #13356 )
2023-12-15 19:15:51 +00:00
Potuz
96df81d5c5
Hook to slot stream instead of block stream on the VC ( #13327 )
...
* Hook to slot stream instead of block stream on the VC
* Implement StreamSlots in the BN
* mock update
* fix tests
* don't return from stream
* Terence's review
* deepsource second complain
---------
Co-authored-by: rkapka <rkapka@wp.pl>
2023-12-13 23:13:56 +00:00
Dhruv Bodani
2806326155
integrate validator count endpoint in validator client ( #12912 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-11 15:23:02 +02:00
Preston Van Loon
02ee6897bb
Multiarch docker containers ( #12428 )
...
* Add bazel-zig-cc for a hermetic cc toolchain
* gazelle
* Remove llvm
* remove wl
* Add new URLs for renamed repo
* gazelle
* Update to v2.0.0-rc1
* bump to rc2
* Proof of concept multi-arch containers for beacon-chain
* TODO and gaz
* Refactor to starlark macro. Use a version of bash that actually works
* progress
* gaz
* multirun to use multiple repositories, but doesn't work with tag stamping
* Revert "multirun to use multiple repositories, but doesn't work with tag stamping"
This reverts commit 93afa76f65daeba9426c3d714dabf94410fa3a0c.
* Add targets for all supported docker images and temporarily set the repository to prysm-dev for testing
* use a temporary fix to see if it works on buildkite
* Revert "use a temporary fix to see if it works on buildkite"
This reverts commit ddc79283caa6b39c8aff4c62772728832d0dfe64.
* testing a cURL fix
* try fix with my fix
* Revert "try fix with my fix"
This reverts commit bb7521bf4712abb6779bbf3132e64911b751db65.
* Revert "testing a cURL fix"
This reverts commit 8a4782110f8853cb7278baf507621bd6684572b1.
* try tip of main branch for rules_oci
* update to 1.2.0
* Update rules_oci to v1.3.0
* Update rule_oci to 1.3.4
* Disable experimental_remote_downloader
* Remove extra zig bazelrc
* Move image deps to its own file
* PR feedback
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-28 15:24:16 +00:00
Preston Van Loon
b4f1fea029
CI: fix docker image tagging ( #12407 )
2023-05-16 02:10:23 +00:00
Nick Sullivan
5c00fcb84f
Fix numerous spelling error and typos in the log messages, comments, and documentation. ( #12385 )
...
* Minor typos and spelling fixes (comments, logs, & docs only, no code changes)
* Fix seplling in log message
* Additional spelling tweaks based on review from @prestonvanloon
2023-05-11 20:45:43 +00:00
Preston Van Loon
07db0dc448
CI: Add support for buildbuddy uploads ( #12378 )
...
* Add build metadata
* Add buildbuddy flags
* more metadata
* fix latest tag
* fix branch
* revert branch change
* touch a file to trigger build
* remove unknown command
* fix script
* Update latest_version_tag.sh
2023-05-10 12:30:40 +00: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
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
Preston Van Loon
a0ff5ff792
Only build non-test targets in hack/update-go-pbs.sh ( #12101 )
...
* Only build non-test targets in hack/update-go-pbs.sh
* run ./hack/update-go-pbs.sh
* Add ability to pass config to bazel
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-10 17:49:34 +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
james-prysm
53a135adbd
update-go-pbs.sh: fixing script for mac users & updating bazel dependency ( #11937 )
...
* fixing script for mac users
* updating checksum for bazel tool
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-31 01:17:12 +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
e1408deb40
Add REST implementation for MultipleValidatorStatus
( #11786 )
...
* Add REST implementation for `MultipleValidatorStatus`
* Fix PR comments
* Address PR comments
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-04 23:15:23 +00:00
Ye Ding
e627d3c6a4
Fix command to fetch latest stable version ( #11782 ) ( #11787 )
2022-12-16 16:13:54 +00:00
Patrice Vignola
dbeb3ee886
Onboard validator's Beacon REST API usage to e2e tests ( #11704 )
...
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Onboard validator's Beacon REST API usage to e2e tests
* Remove unused variables
* Remove use_beacon_api tags
* Fix DeepSource errors
* Revert unneeded changes
* Revert evaluator changes
* Revert import reordering
* Address PR comments
* Remove all REST API e2e tests except minimal one
* Fix validator pointing to inexisting beacon node port
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-12-08 14:38:56 +00:00
Manu NALEPA
0a5c65e29c
Add REST implementation for Validator's ValidatorIndex
( #11712 )
...
* Add GetAttestationData
* Add tests
* Add many more tests and refactor
* Fix logic
* Address PR comments
* Address PR comments
* Add jsonRestHandler and decouple http logic from rest of the code
* Add buildURL tests
* Remove handlers_test.go
* Improve tests
* Implement `ValidatorIndex` of `beaconApiValidatorClient` using Beacon API
* Implement getStateValidators
* `validatorIndex`: Use `getStateValidators`
Co-authored-by: Patrice Vignola <vignola.patrice@gmail.com>
2022-12-06 12:27:26 +00:00
Patrice Vignola
943a0556e9
Add REST implementation for Validator's DomainData
( #11711 )
...
* Add REST implementation for Validator's DomainData
* Add missing dependency
* Fix getForkVersion logic
* Remove unused helpers
* Fix deepsource error
* Fix deepsource error
* Address PR comments
* Remove outdated comment
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-12-05 10:27:41 +00:00
Manu NALEPA
0bcddb3009
Update mockgen ( #11615 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-21 17:26:27 +01:00
Patrice Vignola
d33af46c90
Add support for building a Beacon API validator client versus a gRPC one ( #11612 )
2022-11-07 11:29:27 +01:00
Radosław Kapka
8ade8afb73
Remove SSZ tags from beacon state ( #11613 )
...
* Remove SSZ tags from beacon state
* tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-11-04 11:08:57 +00:00
Raul Jordan
1062f5fe4d
Fix Proto Generation Scripts and Regen Protos With V3 Bindings ( #11227 )
...
* proto gen fix
* regen protos and ssz bindings
* regen
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-16 19:52:24 +00:00
james-prysm
2dfe291cf9
Keymanager APIs: fee recipient api ( #10850 )
...
* initial commit wip
* setting protos for fee recipient
* updating proto based on specs
* updating apimiddleware
* generated APIs
* updating proto to fit spec
* fixing naming of fields
* fixing endpoint_factory and associated structs
* fixing imports
* adding in custom http types to grpc gateway
* adding import options
* changing package option
* still testing protos
* adding to bazel
* testing dependency changes
* more tests
* more tests
* more tests
* more tests
* more tests
* more tests
* testing changing repo dep
* testing deps
* testing deps
* testing deps
* testing deps
* testing deps
* testing deps
* reverting
* testing import
* testing bazel
* bazel test
* testing
* testing
* testing import
* updating generated proto code
* wip set fee recipient by pubkey
* adding list fee recipient logic
* fixing thrown error
* fixing bug with API
* fee recipient delete function
* updating generated proto logic
* fixing deposit api and adding postman tests
* fixing proto imports
* fixing unit tests and checksums
* fixing test
* adding unit tests
* fixing bazel
* Update validator/rpc/standard_api.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Update validator/rpc/standard_api.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* resolving review comments
* fixing return
* Update config/validator/service/proposer-settings.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/standard_api.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/standard_api.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* updating proto
* updating message name
* fixing imports
* updating based on review comments
* adding middleware unit tests
* capitalizing errors
* using error instead of errorf
* fixing missed unit test variable rename
* fixing format variable
* fixing unit test
* Update validator/rpc/standard_api.go
* Update validator/rpc/standard_api.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-06-16 15:10:23 +00:00
Radosław Kapka
642de455d5
Update Beacon API's Postman collection to 2.2.0 ( #10559 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-04-21 15:07:58 +00:00
Raul Jordan
dc527a3c80
Remove Visibility Check Script for Bazel ( #10391 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-03-21 17:03:52 +00:00
Radosław Kapka
2a68c69d8f
Beacon Node API Postman collection ( #10213 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-02-09 18:42:23 +00:00
james-prysm
11f50453fc
Keymanager api postman test collection ( #10209 )
...
* initial commit
* adding keymanager api repo url
* updated postman collection
* removing unused folder
* removing validator build
* Update hack/keymanager-api/README.md
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update hack/keymanager-api/README.md
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update hack/keymanager-api/README.md
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-02-09 16:48:08 +00:00
Radosław Kapka
5cc201288d
Native beacon state: v1 ( #10086 )
2022-01-24 11:24:38 +01:00
Preston Van Loon
7df01feb58
Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing ( #10065 )
...
* Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing
* rm beacon-fuzz archive
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-01-20 04:51:02 +00:00
Raul Jordan
28f50862cb
Goimport All Items in Proto Folder In Bash Script ( #9815 )
...
* update goimports to format all, including gw.pb.go files
* update hack
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-10-26 10:07:49 +00:00
Raul Jordan
13cdb83591
Validator Changes for Optimized Slasher ( #9705 )
...
* val changes
* mock
* mocks
* gomock any
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-29 21:25:45 +00:00
Preston Van Loon
728c77cc0c
CI: use nostamp for code coverage and fuzzer uploads ( #9634 )
...
* Follow up to #9633 , nostamp for code coverage
* nostamp for fuzzer uploads too
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-20 18:59:44 +00:00
Preston Van Loon
cb631360e9
CI: nostamp config for better cache hits ( #9633 )
2021-09-20 17:29:41 +00:00
Raul Jordan
61c24c3870
Move Fuzz/ Into Testing/ ( #9617 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-16 17:32:51 +00:00
Raul Jordan
8df96426ef
Move Scripts Into Hack/ Directory ( #9605 )
...
* ensure build
* moved third party to toplevel:
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-16 16:22:39 +00:00