james-prysm
4d520460e0
REST implementation of /eth/v1/validator/register_validator
( #12758 )
...
* migrating v2 to http native url
* removing old code
* gaz
* updating beacon api validator client code
* fixing tests
2023-08-21 15:42:43 +00:00
Potuz
27d8b1c358
add more descriptive log on FFG-LMD consistency ( #12763 )
...
* add more descriptive log on FFG-LMD consistency
* Update beacon-chain/blockchain/receive_attestation.go
Co-authored-by: terencechain <terence@prysmaticlabs.com>
* Update beacon-chain/blockchain/receive_attestation.go
---------
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-08-21 14:06:59 +00:00
terencechain
17500dcfca
Fix: download genesis log ( #12759 )
2023-08-20 14:46:40 -07:00
Radosław Kapka
0452fd02e8
HTTP Beacon API: /pool/attestations
( #12735 )
...
* attestations
* post
* tests
* Revert "Auxiliary commit to revert individual files from afede4d949a7519902be2f1e0c485306c4ccdea7"
This reverts commit 9de74879e0c41e43183da2fa7e63094cac030abe.
* remove test
* remove redundant return
* Update beacon-chain/rpc/eth/beacon/handlers_pool.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* review
* include index in broadcast log
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-08-18 14:29:40 +00:00
terencechain
09d761e1ab
fix(proposer): verify attestations without mutating state ( #12704 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
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-08-17 16:37:19 +00:00
Potuz
9a741c52d1
Remove quadratic loops when exiting ( #12737 )
...
* Remove quadratic loops when exiting
* unit test
* fix tests
* lint
* duplicated imports
* handle new error
* revert spurious unit test
* radek's review
* fix name
* use errors.Is
* fix error check
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-08-17 15:38:46 +00:00
Sammy Rosso
baed8da9c0
HTTP Beacon API: /eth/v1/validator/sync_committee_contribution
( #12698 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-08-17 12:01:24 +02:00
Matthew Obwaya
33410a0ec1
Remove uses of deprecated go_embed rules_go ( #12719 )
...
* Remove prysm_web_ui http_archive from WORKSPACE
* Remove go_embed_data_dependencies() from WORKSPACE
* Remove go_embed_data target from validator/web/BUILD.bazel
* Remove # gazelle:ignore site_data.go annotation from validator/web/BUILD.bazel
* Run bazel run //:gazelle
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-08-16 15:47:09 +00:00
Nishant Das
cda1797d4e
Remove Alpine Images From Prysm ( #12749 )
2023-08-16 14:01:09 +00:00
Potuz
e7f6048b8c
Use last optimistic status on batches ( #12741 )
...
* Use last optimistic status on batches
* more descriptive errors
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-08-16 01:40:36 +00:00
Potuz
418959565f
set optimistic status in head at init sync ( #12748 )
2023-08-16 00:47:56 +00:00
Raul Jordan
8229f3eb84
Prysm Web UI Release v2.0.4 ( #12746 )
...
Co-authored-by: james-prysm <james-prysm@users.noreply.github.com>
2023-08-15 21:11:44 +00:00
Nishant Das
4098d098aa
Shift Error Logs To Debug ( #12739 )
2023-08-15 14:44:54 +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
Preston Van Loon
a5474200de
Update geth to 1.12.2 ( #12731 )
2023-08-14 17:48:11 +08:00
Preston Van Loon
a85b4445fc
Update bazel to 6.3.2 ( #12725 )
...
* Update bazel version to v6.3.2
* Disable legacy external runfile generation for CI
* Revert "Disable legacy external runfile generation for CI"
This reverts commit 1911f293d62818163add1881840fc5c294ac5b5b.
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-08-11 19:08:33 +00:00
Preston Van Loon
751dd847b8
Update rules go & gazelle ( #12721 )
...
* Update rules_go to v0.40.0
* Update gazelle to v0.26.0
* Update gazelle to v0.27.0
* Update gazelle to v0.28.0
* Update gazelle to v0.29.0
* Update gazelle to v0.30.0
* Update gazelle to v0.31.0
2023-08-11 16:39:35 +00:00
Preston Van Loon
aeb7a45864
Update geth to 1.12.1 ( #12718 )
...
* Update geth to 1.12.1
* Fix //cmd/validator/flags:go_default_test
* fix //beacon-chain/node:go_default_test
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-08-11 10:45:42 +00:00
Radosław Kapka
e952fd802b
HTTP Beacon API: /eth/v1/validator/beacon_committee_subscriptions
( #12700 )
...
* 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
* implementation
* tests
* test fixes
* review
* clear cache in validator tests
* add missing stuff
* compilation fix
* remove `required` from bool
* remove time fetcher from tests
* no need to convert
* add conversion
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-08-10 18:00:19 +00:00
Nishant Das
b511eef848
Update BLST to v0.3.11 ( #12717 )
...
* add changes
* Remove server.c exclusion in headers
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2023-08-10 22:51:19 +08:00
dependabot[bot]
7aa043892b
Bump github.com/libp2p/go-libp2p from 0.27.5 to 0.27.8 ( #12709 )
...
* Bump github.com/libp2p/go-libp2p from 0.27.5 to 0.27.8
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.27.5 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases )
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md )
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.27.5...v0.27.8 )
---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* gazelle and remove libp2p patch. The patch is merged upstream as of this version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2023-08-09 17:24:07 +00:00
Radosław Kapka
36be057a11
HTTP Beacon API: /eth/v1/node/syncing
( #12706 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-08-09 17:23:59 +02: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
Preston Van Loon
4541598850
Update go to 1.20.7 ( #12707 )
2023-08-08 21:39:22 +00:00
Sammy Rosso
8c08854dd0
Fix prysmctl writing empty JSON/YAML files ( #12599 )
...
* Setup
* add in marshalable
* Cleanup
* Raul' review
* Remove yaml Marshaler
* minimal fixes
* same imports
---------
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-08-08 15:20:41 +00:00
m3diumrare
d2ff995eb2
Fix reported effective balance for unknown/pending validators ( #12693 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-08-07 09:19:02 -05:00
anukul
56a0315dde
fix: set CoreService in beaconv1alpha1.Server ( #12702 )
2023-08-06 18:16:54 -07:00
anukul
634133fedc
use struct in beacon-chain/rpc/core
to store dependencies ( #12701 )
2023-08-05 22:54:12 +02:00
terencechain
c1c1b7ecfa
Feat: aggregate parallel default ( #12699 )
2023-08-04 16:03:10 +00:00
Nishant Das
9a4670ec64
add changes ( #12697 )
...
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2023-08-04 22:05:47 +08:00
Radosław Kapka
a664a07303
Multi Value Slice ( #12616 )
...
* multi value slice
* extract helper function
* comments
* setup godoc fix
* value benchmarks
* use guid
* fix bug when deleting items
* remove callback and rename MultiValue
* godoc
* tiny change
* Nishant's review
* typos
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-08-04 12:42:54 +00:00
Potuz
dd14d5cef0
refactor slot tickers with intervals ( #12440 )
...
* refactor slot tickers with intervals
* GoDoc
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-08-03 20:55:16 -03:00
Radosław Kapka
3a09405bb7
HTTP Beacon API: /eth/v1/validator/aggregate_and_proofs
( #12686 )
...
* 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
* review
* test fixes
---------
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-08-03 22:24:23 +00:00
terencechain
cb59081887
Remove: span for convert to indexed attestation ( #12687 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-08-03 16:17:46 +00:00
Nishant Das
a820d4dcc8
Minor Optimization on InnerShuffleList ( #12690 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-08-03 06:56:07 +00:00
terencechain
dbc17cf2ca
Fix: use correct context for UpdateCommitteeCache
( #12691 )
2023-08-03 06:00:58 +00:00
terencechain
d38762772a
test: add execution payload operation tests ( #12685 )
...
* test: add execution payload operation tests
* thanks!
Co-authored-by: Nishant Das <nishdas93@gmail.com>
* Update testing/spectest/shared/bellatrix/operations/execution_payload.go
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-08-02 08:16:46 +00:00
Potuz
e5d1eb885d
Update caches blocking ( #12679 )
...
* update NSC together with epoch boundary caches
* block when updating caches
* reviews
* removal of very useful helper because the reviewers requested it :)
* use IsEpochEnd
2023-08-02 05:59:09 +00:00
terencechain
a9d7701081
test: add missing random and fork transition spec tests ( #12681 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-08-01 14:08:40 +00:00
Bharath Vedartham
33abe6eb90
add metric to check if validator is in next sync commitee ( #12650 )
...
* add metric to check if validator is in next sync commitee
* Update validator/client/validator.go
* Update validator/client/metrics.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
2023-08-01 08:25:10 +00:00
terencechain
c342c9a14e
fix: update nil check for new validator ( #12677 )
2023-08-01 04:13:57 +00:00
Radosław Kapka
a9b003e1fe
HTTP Beacon API: /eth/v1/validator/contribution_and_proofs
( #12660 )
...
* HTTP Beacon API: `/eth/v1/validator/contribution_and_proofs`
* add comment to invalid test case
* fix validation and test
* review
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-07-31 17:32:39 +00:00
Radosław Kapka
955175b7eb
Update server-side events dependency ( #12676 )
...
* Update server-side events dependency
* go sum
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-07-31 15:51:19 +00:00
Potuz
c17682940e
only handle epoch boundary on canonical blocks ( #12666 )
...
* only handle epoch boundary on canonical blocks
* do not fetch headstate
2023-07-31 12:07:09 -03:00
Nishant Das
db450f53a4
Fix Update Of Committee Cache ( #12668 )
...
* fix it
* sammy's comment
* fix tests
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-07-28 13:34:03 +00:00
terencechain
493905ee9e
feat: add state regren duration metric ( #12672 )
2023-07-27 19:33:25 +00:00
james-prysm
e449724034
Bugfix: proposer-settings edge case for activating validators ( #12671 )
2023-07-27 16:45:16 +00:00
terencechain
a44c209be0
feat: add metric for block gossip time ( #12670 )
2023-07-27 15:17:24 +00:00
terencechain
183e72b194
fix: update epoch + 1 ( #12667 )
2023-07-27 18:53:36 +08:00
Potuz
337c254161
update shuffling caches at epoch boundary ( #12661 )
...
* update shuffling caches at epoch boundary
* move span
* do not advance to a past slot
2023-07-26 18:46:18 +00:00