Raul Jordan
ae8a619775
Allow Optional Signing Roots in Proposal History ( #7960 )
2020-11-25 22:24:07 +00:00
Raul Jordan
36b1eb66d5
Add Attested and Proposed Public Keys DB Methods ( #7959 )
...
* add attested and proposed pubkeys methods
* Update validator/db/kv/attestation_history_v2.go
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-25 21:37:39 +00:00
Nishant Das
639dcb028c
Fixing Validator Config ( #7940 )
...
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-25 20:40:18 +00:00
Raul Jordan
edb40ddea4
Add ValidatorDB Methods for Highest and Lowest Signed Proposals ( #7957 )
...
* add in highest and lowest signed proposal
* begin adding tests
* add in db tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-25 20:04:43 +00:00
Preston Van Loon
0d2e3d978c
Delete VERSION ( #7958 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-25 19:20:57 +00:00
Preston Van Loon
29c6a0c42c
Fix zero genesis check, make processAttestation routine wait for genesis time to be set ( #7947 )
...
* Fix zero genesis check, make processAttestation routine wait for genesis time to be set
* Update beacon-chain/blockchain/receive_attestation.go
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-25 18:52:59 +00:00
Nishant Das
aefa3e191a
Check Sync Status First ( #7895 )
...
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-25 18:27:27 +00:00
Preston Van Loon
987205afc6
Update security.txt ( #7956 )
2020-11-25 17:38:35 +00:00
dv8silencer
3ae4b793e6
Improve error log for when database network conflicts with runtime network ( #7945 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-25 05:15:30 +00:00
terence tsao
600427bdb0
More bootnodes ( #7948 )
2020-11-25 04:25:47 +00:00
terence tsao
c7dd33431f
Add lighthouse bootnodes ( #7943 )
...
* Add lighthouse bootnodes
* Remove extra line
2020-11-24 18:03:28 +00:00
Shay Zluf
0cf9800b75
Fix locks and fallback to db read if attestation history map is missing a pub key data ( #7937 )
...
* minimal change to handle nil attesterHistoryByPubKey
* Revert "Always Update Attesting History If Not Slashable (#7935 )"
This reverts commit 3cc2ebc5d5
.
* remove unused functions
* move save before propose
* wait before go func
* move wait into the go routine
* handling map mutation
* remove map handling in this case
* log in case it is still not found
* fix log
* fix locks
* Update validator/client/attest_protect.go
* remove code duplication
* remove method extraction
* move metrics to their appropriate place
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-11-24 11:24:23 -06:00
Raul Jordan
3cc2ebc5d5
Always Update Attesting History If Not Slashable ( #7935 )
...
* update attesting history always if not slashable
* initialize empty if no history found
* rem duplicate logic
2020-11-24 02:48:20 +00:00
Raul Jordan
2cb814648a
Improve Slashing Protection for V1, More Tests and Observability ( #7934 )
...
* tests tests and more tests
* tests all passsss
* log for double vote
2020-11-23 19:03:04 -06:00
Raul Jordan
dc897a2007
Optionally Save Wallet Password on Web Onboarding ( #7930 )
...
* persist wallet password to wallet dir if onboarded via web
* add flag
* gaz
* add test
* fmt
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-23 22:11:42 +00:00
terence tsao
a051e684ae
Update log levels ( #7931 )
2020-11-23 13:16:08 -08:00
Radosław Kapka
64be627a6d
Make grpc-headers flag work ( #7932 )
2020-11-23 20:38:32 +00:00
Nishant Das
6f766ed583
Exit Pending Queue Properly ( #7927 )
...
* exit properly
* terence's review
* Update beacon-chain/sync/pending_blocks_queue.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon-chain/sync/pending_blocks_queue.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* fix tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-23 19:34:40 +00:00
Raul Jordan
b0dfc46603
Fix Up READMEs for Mainnet ( #7910 )
...
* fix up readmes
* Update README.md
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-23 18:47:55 +00:00
Nishant Das
8c3faaa4c7
Add Back Error/Debug Logs ( #7922 )
...
* add back logs
* add back string
* Reformat loggings
Co-authored-by: Terence Tsao <terence@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-23 18:29:27 +00:00
Nishant Das
4c0db8bca4
Bake In Mainnet Bootnodes ( #7925 )
...
* add in bootnodes
* fix teku's bootnode
2020-11-23 17:19:35 +00:00
Raul Jordan
0c5c246ee7
Prysm Web V1 Release ( #7921 )
...
* even more cors
* auth fixes for web v1
* ensure web works
* include web ui v1 release
* new site data
* fmt
* test
* tests pass
* gaz
* build fix
* no ssz
* unused type
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-23 06:29:58 +00:00
dv8silencer
f871e1f3ef
Give error message if trying to import into non-imported wallet ( #7913 )
...
Co-authored-by: dv8silencer <15720668+dv8silencer@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-23 04:08:07 +00:00
Preston Van Loon
658dd95313
Add teku's bootnode ( #7919 )
...
* Add teku's bootnode
* Ignore mainnet config for TODO check
2020-11-23 01:20:55 +00:00
Preston Van Loon
57fe012bc2
P2P: Increase outbound message queue size to 256 ( #7916 )
2020-11-22 23:54:58 +00:00
Raul Jordan
d62420b940
More Default CORS Rules ( #7915 )
...
* even more cors
* terence feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-22 23:10:21 +00:00
Preston Van Loon
11bbea2562
Use params network config as default bootstrap nodes and deposit contract ( #7904 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-22 21:22:44 +00:00
terence tsao
2172cd60a6
Update sync loggings ( #7914 )
2020-11-22 14:31:55 -06:00
Raul Jordan
2a546cc50b
Remove Deprecated Tooling ( #7912 )
...
* remove old tools
* tidy and gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-22 19:07:02 +00:00
terence tsao
7d0031ee77
Update boot node to not use pyrmont ( #7906 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-22 18:47:23 +00:00
pinglamb
acf49fb38f
Fix Alpine Docker Image ( #7883 )
...
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-22 18:04:13 +00:00
Raul Jordan
26658a9f1f
Add More Default CORS Domains to the gRPC Gateway ( #7901 )
2020-11-22 17:12:24 +00:00
Nishant Das
60d99c83eb
fix pending queue ( #7899 )
2020-11-22 08:42:27 -08:00
Alon Muroch
98557e8f5e
highest slashing attestation RPC endpoint ( #7647 )
...
* highest slashing attestation RPC endpoint
* slasher mock fix
* Update proto/slashing/slashing.proto
Co-authored-by: Shay Zluf <thezluf@gmail.com>
* comments + small fixes
* PR review ctx comments and fixes
Co-authored-by: Shay Zluf <thezluf@gmail.com>
2020-11-22 08:51:20 +00:00
Preston Van Loon
1ba747b3c9
Change log from ERROR to DEBUG ( #7892 )
2020-11-21 23:14:19 -08:00
Preston Van Loon
71ec919306
RPC: healthz should return an error when the node is syncing ( #7890 )
...
* RPC: healthz should return an error when the node is syncing
* fix test
* fix test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-22 00:29:55 +00:00
Fabrice Cheng
34a26740ff
Change attestation signature error to DEBUG level ( #7891 )
2020-11-22 00:08:51 +00:00
Nishant Das
7e76b02bb7
Make Follow Distance Lookup Simpler ( #7884 )
...
* faster eth1 search
* simplify it much more
* Update beacon-chain/powchain/block_reader.go
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-21 22:03:16 +00:00
pinglamb
519b003fc3
Fix creation time of beacon-node, validator and slasher ( #7886 )
...
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-21 21:37:03 +00:00
Preston Van Loon
9a10462c64
p2p: return error when attempting to connect to a bad peer ( #7885 )
...
* return error when attempting to connect to a bad peer
* temporarily skip test
2020-11-21 20:09:07 +00:00
Nishant Das
ac60ff2bc2
Add Test For Earliest Voting Block ( #7882 )
2020-11-21 12:52:42 +00:00
Ivan Martinez
f8a855d168
Remove outdated code in accounts ( #7881 )
...
* Remove outdated test in accounts
* gaz
2020-11-21 11:15:44 +01:00
Preston Van Loon
74c7733abf
Fix spec diff with comments. Fixes #7856 ( #7872 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2020-11-21 06:12:47 +00:00
terence tsao
f63e89813d
Remove chain not started error ( #7879 )
...
* Remove chain not started error
* Add genesis state not created error
2020-11-21 01:28:55 +00:00
terence tsao
c021e2e8bc
Remove deprecated feature flags ( #7877 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-21 00:15:44 +00:00
Preston Van Loon
c3fc40907d
Fix potential panic with nil *big.Int ( #7874 )
...
* Fix potential panic with nil \*big.Int
* regression test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-20 23:09:02 +00:00
Shay Zluf
3fb78ff575
Verify GenesisValidatorRoot Matches the One in DB on Slashing Protection Import ( #7864 )
...
* Add GenValRoot dbs
* Test genvalroot
* Fix names
* Add overwrite rejection
* validate metadata genesis validator root
* remove env
* fix database functions
* fix tests
* raul feedback
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-20 22:33:51 +00:00
Raul Jordan
7bd97546f0
Dynamic Reloading of Keys on Any FSNotify Event ( #7873 )
...
* dynamic import
* add tests
* spacing
2020-11-20 22:04:59 +00:00
Ivan Martinez
5140ceec68
Hotfix for WaitForChainStart GenesisValidatorsRoot Check ( #7870 )
...
* Hotfix for genesis val root
* Add regression test
* Fix error message
* Remove comments
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-20 20:53:12 +00:00
terence tsao
97ad5cd5fd
Reduce no attestation in pool to warn ( #7863 )
...
* Reduce no attestation in pool to warn
* Use NotFound
* Update validator/client/aggregate.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update validator/client/aggregate.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-20 12:17:26 -08:00