terence tsao
ea38969af2
Register start-up state when interop mode ( #9900 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-15 16:32:54 +00:00
terence tsao
f753ce81cc
Add merge block protobuf ( #9887 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-15 15:42:18 +00:00
Nishant Das
9d678b0c47
Clean Up Methods In Prysm ( #9903 )
...
* clean up
* go simple
2021-11-15 10:13:52 -05:00
Nishant Das
4a4a7e97df
handle canceled contexts ( #9893 )
...
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-11-13 16:03:27 +08:00
Nishant Das
652b1617ed
Use Next Slot Cache In More Places ( #9884 )
...
* add changes
* terence's review
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-11-12 23:46:06 +00:00
Nishant Das
42edc4f8dd
Improve RNG Documentation ( #9892 )
...
* add comments
* comment
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-12 20:30:09 +00:00
terence tsao
70d5bc448f
Add cli override setting for merge ( #9891 )
2021-11-12 12:01:14 -08:00
Preston Van Loon
d1159308c8
Update security.txt ( #9896 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-12 15:55:45 +00:00
Nishant Das
e01298bd08
Remove Superflous Errors From Parameter Registration ( #9894 )
2021-11-12 15:28:21 +00:00
terence tsao
2bcb62db28
Remove unused import ( #9890 )
2021-11-11 22:54:48 +00:00
terence tsao
672fb72a7f
Update spec tests to v1.1.5 ( #9875 )
...
* Update spec tests to v1.1.5
* Ignore `TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH`
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-10 02:41:16 +00:00
terence tsao
7fbd5b06da
time pkg: can upgrade to merge helper ( #9879 )
...
* Helper: can upgrade to merge
* Typo
2021-11-09 18:36:50 +00:00
Raul Jordan
0fb91437fc
Group Slashing Protection History Packages Idiomatically ( #9873 )
...
* rename
* gaz
* gaz
* Gaz
* rename
* edit
* gaz
* gaz
* build
* fix
* build
* fix up
* fix
* gaz
* cli import export
* gaz
* flag
* rev
* comm
* package renames
* radek
2021-11-09 16:49:28 +00:00
Raul Jordan
6e731bdedd
Implement List Keystores for Standard API ( #9863 )
...
* start api
* keystores list
* gaz
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-11-08 19:08:17 +00:00
Dan Loewenherz
40eb718ba2
Fix typos: repones -> response, attestion -> attestation ( #9868 )
...
* Fix typo: repones -> response
* Fix typo: attestion -> attestation
2021-11-07 11:02:01 -06:00
terence tsao
e1840f7523
Share finalized state at start up ( #9843 )
...
* Reuse finalized beacon state at startup
* Better logging for replay
* Update tests
* Fix lint
* Add `WithFinalizedStateAtStartup`
* Update service.go
* Remove unused fields
* Update service_test.go
* Update service_test.go
* Update service_test.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-06 13:45:16 +00:00
terence tsao
b07e1ba7a4
GenesisState when zero hash tests ( #9866 )
2021-11-06 06:57:54 +01:00
Raul Jordan
233171d17c
[Service Config Revamp] - Sync Service With Functional Options ( #9859 )
...
* sync config refactor
* rem
* rem
* testing
* gaz
* next
* fuzz
* build
* fuzz
* rev
* log
* cfg
2021-11-05 19:08:58 +00:00
kasey
2b0e132201
fix #9851 using GenesisState when zero hash in stategen StateByRoot/StateByRootInitialSync ( #9852 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-11-05 18:14:37 +00:00
Raul Jordan
ad9e5331f5
Update Prysm Web to Use v1.0.1 ( #9858 )
...
* update web
* site data update
* fmt
2021-11-04 16:12:32 -04:00
terence tsao
341a2f1ea3
Use math.MaxUint64
( #9857 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-04 18:48:09 +00:00
Raul Jordan
7974fe01cd
[Service Revamp] - Powchain Service With Functional Options ( #9856 )
...
* begin powchain service refactor
* begin refactor
* powchain passes
* options pkg
* gaz
* rev
* rev
* comments
* move to right place
* bazel powchain
* fix test
* log
* contract addr
* happy path and comments
* gaz
* new service
2021-11-04 14:19:44 -04:00
Raul Jordan
ae56f643eb
Rename Web UI Performance Endpoint to Summary ( #9855 )
...
* rename endpoint
* rename endpoint
2021-11-04 15:13:16 +00:00
terence tsao
2ea09b621e
Simplify should update justified ( #9837 )
...
* Simplify should update justified
* Update tests
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-03 22:29:03 +00:00
terence tsao
40fedee137
Use prev epoch source naming correctly ( #9840 )
...
* Use prev epoch source correctly
* Update epoch_precompute_test.go
* Update type.go
* Update tests
* Gazelle
* Move version to read only
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-11-03 21:50:41 +00:00
kasey
7cdddcb015
Weak subjectivity verification refactor ( #9832 )
...
* weak subjectivity verification refactor
This separates weak subjectivity verification into a
distinct type which does not have a dependency on
blockchain.Service
* remove unused variable
* saving enqueued init blocks before ws verify
* remove TODO, handled in previous commit
* accept suggested comment change
start comment w/ name of function NewWeakSubjectivityVerifier
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* update log w/ Raul's suggested language
* explicit zero value for clarity
* add comments clarifying how we adhere to spec
* more clear TODO per Raul's feedback
* gofmt
Co-authored-by: kasey <kasey@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-11-03 15:07:46 +00:00
Raul Jordan
4440ac199f
Empty Genesis Validators Root Check in Slashing Protection Export ( #9849 )
...
* test for empty genesis validators root
* precod
* fix test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-03 14:16:57 +00:00
Radosław Kapka
d78428c49e
Return proper responses from KeyManagement
service ( #9846 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-02 15:46:11 +00:00
Raul Jordan
2e45fada34
Validate Password on RPC CreateWallet Request ( #9848 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-02 15:20:43 +00:00
Raul Jordan
4c18d291f4
Rename Interop-Cold-Start Package to Deterministic-Genesis ( #9841 )
...
* rename interop-cold-start
* rev
* rev
* BUILD
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-02 14:55:36 +00:00
Preston Van Loon
dfe33b0770
stateutil: Remove duplicated MerkleizeTrieLeaves method ( #9847 )
2021-11-02 14:31:16 +00:00
Raul Jordan
63308239d9
Define Validator Key Management Standard API Schema ( #9817 )
...
* begin service for key management
* begin defining schema
* generate bindings
* rev
* add in custom compiler
* use custom plugin with option
* goimports
* fix up proto to take in multiple passwords
* keymanagent proto edit
* rev
* rev
* dev
* builds
* comment
* indent
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-01 17:26:15 +00:00
terence tsao
712cc18ee0
Use BeaconBlockIsNil
helper more ( #9834 )
...
* Replace manual checks with helper
* Rename to `BeaconBlockIsNil`
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-01 14:13:05 +00:00
Nishant Das
3d318cffa2
Fix Individual Votes RPC Endpoint ( #9831 )
...
* fix
* fix tests
* add terence's review
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-11-01 18:36:08 +08:00
terence tsao
026207fc16
Remove de-duplication condition for seen aggregates ( #9830 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-10-29 21:53:49 +00:00
Raul Jordan
6b7b30ce47
Use GET Request for Slashing Protection Export ( #9838 )
2021-10-29 18:23:45 +00:00
Yash Bhutwala
105bb70b5e
remove extra condition ( #9836 )
2021-10-29 09:29:33 -07:00
Potuz
9564ab1f7f
Fix validator performance logs ( #9828 )
...
* Fix validator performance logs
* Add test
* Clean both phase 0 and altair calculations
* Add back total inclusion distance
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-10-28 16:56:27 +00:00
Raul Jordan
0b09e3e955
Refresh Web Backend JWT Secret Upon File Changes With FSNotify ( #9810 )
...
* refresh auth file
* refresh auth token from file changes
* gaz
* test for refresh
* rem token
* secret
* refresh
* remove wallet dir on test end
2021-10-28 10:24:39 -04:00
Radosław Kapka
bb319e02e8
Event support for contribution_and_proof
and voluntary_exit
( #9779 )
...
* Event support for `contribution_and_prrof`
* event test
* fix panic in tests
* fix
* Revert "Auxiliary commit to revert individual files from dc8d01a15f0056c1fb48733219feab6461f71695"
This reverts commit f5f198564079781f80e1a045cefad7c27f89af25.
* remove receiver
* revive test
* move sending events to sync package
* remove receiver
* remove notification test
* build file
* notifier tests
* revert removal of exit event in API
* simplify exit test
* send notification in contribution API method
* test fix
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-10-28 08:56:22 +00:00
terence tsao
53c86429e4
Add altair test for RPC end point ( #9829 )
2021-10-27 21:00:09 -04:00
Raul Jordan
61172d5007
Add Missing Objects to Keymanager Protobuf ( #9827 )
...
* add missing objects
* update keymanager
* fix up missing sign calls
* gaz
* msg block root
* naming
2021-10-27 18:30:53 +00:00
Yash Bhutwala
1507719613
fix altair individual votes endpoint ( #9825 )
2021-10-27 15:15:51 +00:00
Raul Jordan
4c677e7b40
Remove JWT Expiration ( #9813 )
...
* remove expiry from claims
* fix tests
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-10-26 10:24:09 +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
Nishant Das
2dfb0696f7
Fix Validator Exit in our V1 Method ( #9819 )
2021-10-26 10:14:11 +02:00
terence tsao
ae2c883aaf
Generate secret key from big number test only ( #9816 )
...
* Generate secret key from big number test only
* Gazelle
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-10-25 19:14:19 +00:00
Raul Jordan
ad9ef9d803
Simplify Prysm Backend Password Requirements ( #9814 )
...
* simpler reqs
* gaz
* tidy mod
2021-10-25 13:17:47 -05:00
Kirill Fedoseev
b837f90b35
Fix GetDuties ( #9811 )
...
* Fix GetDuties
* Add regression test
2021-10-25 09:09:47 -05:00
Håvard Anda Estensen
7f3ec4221f
Add errcheck and gosimple linters ( #9729 )
...
* Add errcheck linter
* Check unchecked error
* Add gosimple linter
* Remove type assertion to same type
* Omit nil check
len() for nil slices is defined as zero
* Revert "Remove type assertion to same type"
This reverts commit af69ca1ac8a4f0243a5ccaf5042dbebad6d2cf1c.
* Revert "Revert "Remove type assertion to same type""
This reverts commit 5fe8931504fa22347d04d3d06558e5f478f5bf50.
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-10-22 17:40:03 -05:00