Radosław Kapka
ac4483417d
Redesign voluntary exits pool ( #11898 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-03-01 17:44:00 +01:00
Manu NALEPA
93298dfc56
Fix #11948 and reduces call to GetFeeRecipientByPubKey
only in ListFeeRecipientByPubkey
in nothing is defined in VC ( #11970 )
...
* Fix #11948 and reduces call to `GetFeeRecipientByPubKey` only in `ListFeeRecipientByPubkey` in nothing is defined in VC
* Fix typo
2023-02-14 04:53:54 +00:00
Potuz
c1f00923c1
Implement bls_to_execution_changes beacon endpoint ( #11845 )
...
* Initial implementation
* fix withrawal unit tests
* add custom hooks api middleware test
* unit tests for endpoint
* update screwed proto file
* double import
* Raul review
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-06 05:17:33 +00:00
Patrice Vignola
83f48350b2
Fix a bunch of deepsource warnings ( #11814 )
2022-12-22 09:20:10 +00:00
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
Potuz
babfc66c5b
Check BLS changes when requesting from pool ( #11718 )
...
* Check BLS changes when requesting from pool
* Terence's suggestions
* Radek's suggestion
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-12-09 14:41:45 +00:00
Potuz
0aaee51973
Process bls changes ( #11684 )
...
* Implement ProcessBLSToExecutionChanges
* Batch process signatures
* gaz
* Change runtime behavior
* Terence's review
2022-11-24 19:36:12 +00:00
Preston Van Loon
4b033f4cc7
Update go to 1.19.3 ( #11630 )
...
* Update go to 1.19.3
* Update other items to 1.19
* Update golangci-lint to latest release
* Run gofmt -s with go1.19
* Huge gofmt changes
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-11-18 19:12:19 +00:00
Nishant Das
5ad36486b0
Remove Skip BLS Verification Feature ( #11233 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 02:59:13 +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
kasey
044a4ad5a3
Ignore genesis state url and checkpoint sync flags after first run of prysm ( #10881 )
...
* ignore remote genesis url flag if present in db
* ignore checkpoint sync flags if initialized
* lint
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-06-14 23:23:25 +00:00
Håvard Anda Estensen
b55ddb5a34
Use go:build lines and remove obsolete +build lines ( #10704 )
...
* Use go:build lines and remove obsolete +build lines
* Run gazelle
* Update crypto/bls/blst/stub.go
* Update crypto/bls/blst/stub.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-06-14 11:47:27 +00:00
Nishant Das
2cc62cdf40
Fix Fuzzing ( #10798 )
2022-06-01 13:15:50 +00:00
terencechain
092e9e1d19
Clean up various warnings ( #10710 )
...
* Clean up various warnings
* Update beacon-chain/rpc/prysm/v1alpha1/debug/state_test.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Fix redundant casting genState
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-05-19 04:38:04 +00:00
Preston Van Loon
d2dbc13427
fuzz: Fix tests with fuzz tags ( #10619 )
...
* some fixes to fuzz building
* use len
* remove comments
* fix test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-05-04 06:15:09 +00:00
Nishant Das
e5e4dee629
Update Batch Verification Routine ( #10127 )
...
* add changes so far
* a lot of tests
* add flags and comments
* raul's comment
* raul's review
* fix build
* fix
* fix
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-05-04 04:47:53 +00:00
Preston Van Loon
f763b35494
fuzz: build with -tags=fuzz,blst_disabled ( #10618 )
2022-05-03 22:19:05 +00:00
Nishant Das
ef8bc97d3e
more efficient ( #10440 )
2022-03-28 20:27:14 +08:00
kasey
0b1a777d62
ran gofmt @ v1.17, these are the resulting changes ( #10362 )
...
* ran gofmt @ v1.17, these are the resulting changes
* fix some flaky tests that are tripping up this PR
* gofmt
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2022-03-14 15:58:13 -05:00
Leo Lara
b4b976c28b
Experimental prototype of Apple M1 processor support ( #10192 )
...
* Experimental prototype of Apple M1 processor support
* Enable Apple M1 compilation of herumi MCL by adding a precompiled library
* Renable nogo
* Fix by gazelle
* Update go.mod to reflect go 1.17.6 changes in WORKSPACE
* go mod tidy
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
2022-02-19 18:17:08 +00:00
Nishant Das
b4fa626aff
Use Batch Decompression For Signatures ( #10105 )
...
* use batch decompress method
* terence's review
* gosimple
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
2022-01-21 22:57:29 +00:00
Preston Van Loon
7df01feb58
Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing ( #10065 )
...
* Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing
* rm beacon-fuzz archive
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-01-20 04:51:02 +00:00
terence tsao
c69bce5d84
Use fieldparams for BLS public key ( #10042 )
...
* Use fieldparams for pubkey length
* Fix validator tests
* fix more tests
* fix mock validator
* Fix typo
* bunch of typos
* Update bytes.go
* Update BUILD.bazel
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-01-06 17:33:08 +00:00
terence tsao
b38b0186b8
Use signature length from fieldparams
( #10019 )
...
* Use bls sig length from fieldparams
* fmt
* fix tests
* fix tests
* fix tests
* Update tags_test.go
* fix tests
* Update BUILD.bazel
2021-12-15 15:14:30 -05:00
Raul Jordan
b381ad49b5
Add Justifications for Gosec Ignored ( #10005 )
...
* pin gosec
* edit
* go back to master
* justifications
* Update crypto/bls/blst/signature.go
* proper format
* gosec
2021-12-09 19:40:48 +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
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
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
Nishant Das
b128d446f2
Bring Eth2FastAggregateVerify Inline With the Spec ( #9742 )
...
* fix
* tie it closer to the spec
2021-10-06 10:48:56 +08:00
terence tsao
ea9ceeff03
Various clean up before v2 ( #9672 )
...
* Update package names
* Various clean up
* Gazelle
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-24 17:42:16 +00:00
Raul Jordan
a9a4bb9163
Move Shared/Testutil into Testing ( #9659 )
...
* move testutil
* util pkg
* build
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-23 18:53:46 +00: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
Nishant Das
150640305a
Support Go Builds For Darwin Arm64 ( #9600 )
...
* add changes
* tidy
* stranded dep
* fixed commit
* use real commit
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-18 17:56:05 +00:00
Nishant Das
18e1d43360
Update blst to v0.3.5 and add BLS spec tests ( #9611 )
...
* add new dep
* add changes so far
* fix all tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-17 01:32:23 +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