Ye Ding
e43152102e
Identify invalid signature within batch verification ( #11582 ) ( #11741 )
...
* Identify invalid signature within batch verification (#11582 )
* Fix issues found by linter
* Make deepsource happy
* Add signature description enums
* Make descriptions a mandatory field
* More readable error message of invalid signatures
* Add 'enable-verbose-sig-verification' option
* Fix format
* Move descriptions to package signing
* Add more validation and test cases
* Fix build failure
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-12-20 18:41:47 +08:00
Preston Van Loon
6bea17cb54
Update libp2p to support go 1.19 ( #11309 )
...
* Update libp2p to support go 1.19
* gaz
* go mod tidy
* Only update the minimum deps
* go mod tidy
* revert .bazelrc
* Update go-libp2p to v0.22.0 and update import paths (#11440 )
* Fix import paths
* Fix go-libp2p-peerstore import
* Bazel updates
* fix
* revert some comments changes
* revert some comment stuff
* fix dependency issues
* vendor problematic library
* use your brain
* remove
* tests
Co-authored-by: Marco Munizaga <marco@marcopolo.io>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-10-07 15:24:51 +08:00
terencechain
c94095b609
Accept everything when node is optimistic ( #11320 )
2022-08-26 21:41:59 +00:00
Raul Jordan
d077483577
Add V3 Suffix to All Prysm Packages ( #11083 )
...
* v3 import renamings
* tidy
* fmt
* rev
* Update beacon-chain/core/epoch/precompute/reward_penalty_test.go
* Update beacon-chain/core/helpers/validators_test.go
* Update beacon-chain/db/alias.go
* Update beacon-chain/db/alias.go
* Update beacon-chain/db/alias.go
* Update beacon-chain/db/iface/BUILD.bazel
* Update beacon-chain/db/kv/kv.go
* Update beacon-chain/db/kv/state.go
* Update beacon-chain/rpc/prysm/v1alpha1/validator/attester_test.go
* Update beacon-chain/rpc/prysm/v1alpha1/validator/attester_test.go
* Update beacon-chain/sync/initial-sync/service.go
* fix deps
* fix bad replacements
* fix bad replacements
* change back
* gohashtree version
* fix deps
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-08-16 12:20:13 +00:00
Preston Van Loon
5722a5793c
Tracing: properly overwrite context so that spans can be correctly attributed ( #11012 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-14 17:00:33 +00:00
Raul Jordan
84916672c6
Remove Eth2-Types Dependency in Prysm ( #10578 )
...
* replace eth2 types
* replace protos
* regen proto
* replace
* gaz
* deps
* amend
* regen proto
* mod
* gaz
* gaz
* ensure build
* ssz
* add dep
* no more eth2 types
* no more eth2
* remg
* all builds
* buidl
* tidy
* clean
* fmt
* val serv
* gaz
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-04-29 10:32:11 -04:00
Nishant Das
7c3d89b25f
Graduate Batch Gossip Verification Feature ( #10553 )
...
* grad feat
* fix stuck tests
2022-04-26 08:28:35 -04:00
Mohamed Zahoor
a103dd91c0
cherry picked PR for #10274 ( #10300 )
...
* ignore topic messages (except block topic) during optimistic sync
* address review comments
* nit pick fix
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-03-06 08:09:12 +00:00
Nishant Das
6f20d17d15
Rename To Signature Batch ( #9926 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-11-23 17:57:06 +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
Nishant Das
508b18f1bd
Return Error For Batch Verifier ( #9766 )
...
* fix it
* make err check happy
* radek's review
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-10-13 23:52:22 +00:00
Preston Van Loon
ee0a453b7b
core: refactor signing and domain methods from helper to core/signing pkg ( #9520 )
...
* Move domain function and all signing root functions from beacon-chain/core/helpers to beacon-chain/core
* @terencechain suggestion to put these methods under core/signing
2021-09-27 16:19:20 +00:00
Nishant Das
6e4c2b4b20
Wrap Gossip Validators With Error ( #9660 )
2021-09-25 18:06:48 -07:00
Raul Jordan
29513c804c
Create Encoding Bytesutil ( #9658 )
...
* bytesutil
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-23 15:23:37 +00:00
Raul Jordan
f3d6dbcc1e
Move Shared/Params Into Config/Params ( #9642 )
...
* config params into pkg
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-21 19:59:25 +00:00
terence tsao
161a13ac09
Correctly filter sync committee message at period boundary ( #9626 )
...
* Add head sync committee indices with slot consideration
* Apply rpc
* Apply sync
* Update tests
* Update mock.go
* Update sync_committee_test.go
* Update validator_test.go
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-20 18:06:43 +00:00
terence tsao
ee5d75732d
Add pkg crypto ( #9603 )
...
* Add pkg crypto
* Update go.yml
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-15 22:55:11 +00:00
Nishant Das
34391fa780
Implement Batch Verifier For Pubsub Objects ( #9344 )
...
* add initial commit
* add aggregates in
* fmt
* add new changes
* gaz
* fix copy
* terence's review
* fix broken build
2021-09-15 05:49:50 +00:00
Raul Jordan
9935ca3733
Move Shared/ Subpackages Into Monitoring/ Folder ( #9591 )
...
* add tracing
* monitoring pkg
* move prom
* Add client stats
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-14 20:59:51 +00:00
Nishant Das
ee28dc3d4f
Add in Fork Digest For Subscribers ( #9538 )
...
* add in digest
* radek's review
* raul's review
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-09-07 16:58:24 +00:00
Raul Jordan
2cd2bc87d0
Sync Committee Message P2P Validations ( #9481 )
...
* add in handlers
* add topic switch
* begin refactor
* build
* revert change to sub file
* reordered
* add in handlers
* add topic switch
* fmt
* begin refactor
* build
* revert change to sub file
* reordered
* rationale for cache size
* simplify
* deep source
* kasey feedback
* ignore if not in committee
* add more unit tests
* more cov
* code review commentary
* pass tests
* commentary
* terence comments
* terence feedback on key for cache
Co-authored-by: nisdas <nishdas93@gmail.com>
2021-09-02 02:26:38 +00:00