Preston Van Loon
f2768c1414
Client-stats: Fail gracefully when metrics are missing ( #8976 )
...
* Client-stauts: Fail gracefully when metrics are missing
* gazelle
2021-06-07 20:37:14 +00:00
Raul Jordan
a81c4ed6a0
Protobuf Changes for Eth2 APIs EventSource Support ( #8999 )
...
* protobuf changes for event source support
* deps update
* tidy
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-06-07 19:29:36 +00:00
Preston Van Loon
26c4e7b527
Update prysm.sh to support Mac M1 chip ( #9000 )
...
Updated for Apple M1 users.
Co-authored-by: mrabino1 <mrabino1@gmail.com>
2021-06-07 18:51:05 +00:00
terence tsao
aa4c21d6df
Run go imports ( #8995 )
2021-06-06 07:39:16 +02:00
Preston Van Loon
833ac0092c
Fix repo name in mirror script ( #8992 )
2021-06-04 22:50:41 +00:00
Raul Jordan
2ee5bd12cf
Improve Mirror Bash Script for EthereumAPIs ( #8991 )
...
* amend mirror script
* bash lint
2021-06-04 16:15:19 +00:00
Preston Van Loon
d4aa4bc258
Remove unused ClosestPowerOf2 method ( #8990 )
2021-06-04 15:03:18 +00:00
Radosław Kapka
1ea042dd6e
Do not use proto casing in v1alpha1
API JSON fields ( #8988 )
2021-06-04 16:03:40 +08:00
Raul Jordan
dd10a3ab5d
Fix EthereumAPIs Mirror Script ( #8986 )
2021-06-03 21:30:24 +00:00
Raul Jordan
8d428606a2
Mirror EthereumAPIs Bash Script ( #8980 )
...
* mirror script
* revert
* add in final script
* comments
2021-06-03 21:05:33 +00:00
terence tsao
8433a313f0
Enhance att sig set checks ( #8978 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-06-03 15:30:46 +08:00
Preston Van Loon
693fdf87bb
Add clientstats spec as a README.md ( #8977 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-06-03 00:13:31 +00:00
Raul Jordan
5aac06f04e
Move EthereumAPIs Into Prysm ( #8968 )
...
* begin move
* use same import path
* imports
* regen protos
* regen
* no rename
* generate ssz
* gaz
* fmt
* edit build file
* imports
* modify
* remove generated files
* remove protos
* edit imports in prysm
* beacon chain all builds
* edit script
* add generated pbs
* add replace rules
* license for ethereumapis protos
* change visibility
* fmt
* update build files to gaz ignore
* use proper form
* edit imports
* wrap block
* revert scripts
* revert go mod
2021-06-02 18:49:52 -05:00
Raul Jordan
1d2fc60ba7
Checkin Generated Protobufs and Proto Files for EthereumAPIs ( #8973 )
...
* generated
* add ignore
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-06-02 20:20:11 +00:00
kasey
2b6c7e7b37
use urfave defaulting method for correct help text ( #8972 )
...
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2021-06-02 19:47:47 +00:00
Preston Van Loon
fc898d541f
Update prysm scripts to support client-stats, deprecate slasher ( #8971 )
2021-06-02 14:06:59 -05:00
Nishant Das
91bd477f4f
Add Metadata V2 Object and Interface ( #8962 )
...
* checkpoint changes
* gaz
* add error check
* gaz
* fix tests
* fix tests
* terence's review
* terence's review
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-06-02 13:44:34 +08:00
Preston Van Loon
ef20f2da7e
Altair: new protos/state object ( #8907 )
...
* Altair: new protos/state
* Undo changes in proto/migration/migration.go
* Change proto/beacon/p2p/v1/generated.ssz.go to 0644
* Update proto/beacon/p2p/v1/types.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* PR Feedback: rename SyncCommitteeSigningData to SyncAggregatorSelectionData
* 644
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-06-02 03:07:13 +00:00
Nishant Das
8a6e2a33a2
Fix Interop Mode ( #8961 )
2021-06-02 02:45:10 +00:00
aliask
eb1d122aec
Feature/debian packages ( #8872 )
...
* Basic build targets for debian packages
* Add comments to config files
* Harden beacon-chain systemd service
* Add install scripts to set users and folders up
* Rename bazel target, fix service files
* Extra service hardening, cleanup install scripts
* Fix linting issues
* //shared:version_file run local only
* gazelle
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2021-06-01 15:44:24 +00:00
terence tsao
638e76cbd7
Sort imports ( #8959 )
2021-05-31 20:47:30 +02:00
Ivan Martinez
bb8625ede5
Remove stack trace from eth1 connection errors ( #8957 )
2021-05-28 21:25:54 +00:00
Ivan Martinez
40b4079924
Update deprecated function usages ( #8953 )
...
* Clear deprecated usages within Prysm
* Remove deprecatd usages where possible
* Update
2021-05-28 08:57:47 +02:00
Nishant Das
6bb3cc45ef
Add Nested Nil Checks To Wrapper ( #8951 )
...
* add checks
* fix
2021-05-27 16:07:51 +00:00
Ivan Martinez
e97f6cfdbf
ETH2 APIs: Handle invalid validator status as error ( #8946 )
...
* Handle invalid validator status as error
* Change text
* Fix review comments
* Remove nil status check
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-05-27 06:44:36 +00:00
terence tsao
d5f4385525
Copy to return interface ( #8950 )
2021-05-26 17:54:06 -07:00
kasey
8094c1c4c5
regenerate ssz types w/ variable-len bounds checks ( #8936 )
...
* regenerate ssz types w/ variable-len bounds checks
using the code in this PR:
https://github.com/ferranbt/fastssz/pull/45
* updating with improved bounds checking
* updating pinned fastssz dependency to newest
* removing redundant higher bounds checks
* regenerate again w/ new fastssz
2021-05-26 16:47:06 -05:00
terence tsao
276d03553c
Block interface clean up ( #8947 )
2021-05-26 11:33:46 -07:00
Nishant Das
caf9bdbc6f
Use Block Interface Across Prysm ( #8918 )
...
* commit initial work
* checkpoint current work
* gaz
* checkpoint
* req/resp changes
* initial-sync
* finally works
* fix error
* fix bugs
* fix issue
* fix issues
* fix refs
* tests
* more text fixes
* more text fixes
* more text fixes
* fix tests
* fix tests
* tests
* finally fix builds
* finally
* comments
* fix fuzz
* share common library
* fix
* fix
* add in more defensive nil checks
* add in more defensive nil checks
* imports
* Apply suggestions from code review
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Apply suggestions from code review
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Update shared/interfaces/block_interface.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Update shared/interfaces/block_wrapper.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* Update shared/interfaces/block_interface.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
* imports
* fix bad changes
* fix
* terence's review
* terence's review
* fmt
* Update beacon-chain/rpc/beacon/blocks.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* fix tests
* fix
* fix all tests
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-05-26 16:19:54 +00:00
Preston Van Loon
7b55213e6d
Refactor attestationDelta to reuse the sqrt value of active current epoch ( #8945 )
...
* Refactor attestationDelta to reuse the sqrt value of active current epoch
* use baseRewardsPerEpoch
2021-05-26 09:37:35 -05:00
Ivan Martinez
d5ad15ed80
ETH2 APIs: Implement Validator Status support ( #8940 )
...
* Update protos for new changes
* Begin implementing validator status
* Add support for validator status to state/validators
* Fix nil pointer
2021-05-26 00:24:29 -04:00
terence tsao
2e322bdf6d
Add missing finality spec tests ( #8939 )
...
* Remove unused functions
* Add finality spec tests
* Gazelle
* Add minimal tag to BUILD.bazel
2021-05-26 08:18:51 +08:00
terence tsao
5fe98ab260
Invert attest-timely
flag ( #8827 )
2021-05-25 07:22:12 -07:00
Zahoor Mohamed
a958dd246b
Improve performance during CheckAttesterDoubleVotes ( #8927 )
...
* de-normalize attestationDataRootsBucket to improve performace in CheckAttesterDoubleVotes
* parallize processing of every attestation
* fix double vote test case to take care of jumbled double votes due to parallel processing
* remove attestationRecordsBucket totally and take care of pruning
* missed out build file
* fix review comments
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-05-25 13:02:18 +05:30
Ivan Martinez
aa0fb058c6
ETH2 APIs: Update protos for new ethapis changes ( #8920 )
...
* Update protos for new changes
* Fix
* Fix deps
* Fix build
* Include newer changes to ethapis
* Fix
* Fix import
* Do not return unconnected peers
2021-05-24 20:02:01 -05:00
Preston Van Loon
0cbdce6bd6
Remove unused sszgen dependency ( #8934 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-05-24 17:26:57 +00:00
Radosław Kapka
5ae6e83c7f
Update deps.bzl after updating grpc-gateway dependency ( #8933 )
2021-05-24 16:18:26 +00:00
Radosław Kapka
180b8447f7
Update grpc-gateway dependency ( #8929 )
2021-05-24 09:27:50 -05:00
Nishant Das
503ec126e1
Fix Panic When Accessing State Frequently ( #8928 )
...
* fix issue
* dont allocate for existence checks
* radek's review
2021-05-24 06:52:33 +00:00
Nishant Das
76cdbaca22
Interface Analyzer ( #8923 )
2021-05-23 21:55:42 -07:00
terence tsao
09d7efe964
Remove unused functions ( #8924 )
2021-05-23 09:36:46 +02:00
Preston Van Loon
7dc3d7fc60
Write generated ssz files as non-executable 644 ( #8909 )
...
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-05-21 16:27:33 +00:00
Preston Van Loon
59897b78ff
IntegerSquareRoot improvements ( #8910 )
...
* Add slower, but more precise sqrt method
* nofuzz
2021-05-21 11:02:16 -05:00
Ivan Martinez
f4d6e91e72
ETH2 APIs: Add spans and remove unused Server fields ( #8916 )
...
* Add spans and remove unused Server fields
* Remove more
2021-05-20 14:56:53 -05:00
Ivan Martinez
213369f5d0
Fix testing for attestation pools endpoint ( #8914 )
...
* Fix testing for attestation pools endpoint
* Remove
2021-05-20 18:59:25 +00:00
Ivan Martinez
8aa909de2d
ETH2 API: Implement v1/state/validator endpoints ( #8896 )
...
* Implement validator endpoints
* Import
* Fix errors
* Add comments and fix naming :wq
* Fix functions to access state once
* Optimization for slots
* Test more
* Fix
* test listing committees for specific epoch
* Fix error retrurn
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: rkapka <rkapka@wp.pl>
2021-05-20 07:41:39 +00:00
Preston Van Loon
36e9edd654
Minor changes from hf1 branch ( #8906 )
...
* Copy new slot helpers from hf1 branch
* Make HandleEth1DataSlice public for altair
2021-05-19 16:11:48 +00:00
Ivan Martinez
9db4eba72b
ETH2 API: Implement ListPoolAttestations endpoint ( #8902 )
...
* Implement ListPoolAttestations
* Spacing
* add lil doc
* Fix testing and rework logic
2021-05-19 09:55:24 -05:00
Radosław Kapka
fe440bc0eb
Copy slice when exiting all keys with --exit-all
( #8897 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-05-18 17:17:42 +00:00
terence tsao
f68e0846ba
Ran go imports ( #8898 )
2021-05-18 16:11:02 +00:00