Dhruv Bodani
e100fb0c08
Add support for sync committee selections ( #13633 )
...
* add support for sync committee selections
* go mod tidy
* remove unused fields
* fix build
* fix build
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2024-02-23 13:53:42 +00:00
terence
5a66807989
Update to V5 ( #13622 )
...
* First take at updating everything to v5
* Patch gRPC gateway to use prysm v5
Fix patch
* Update go ssz
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-02-15 05:46:47 +00:00
james-prysm
856907d760
Small encoding fixes on logs and http error code change ( #13345 )
...
* fixing some bad encodings
* changing http error to align with other clients
* fixing unit test
2023-12-20 18:18:55 +00:00
terencechain
d17996f8b0
Update to V4
🚀 ( #12134 )
...
* Update V3 from V4
* Fix build v3 -> v4
* Update ssz
* Update beacon_chain.pb.go
* Fix formatter import
* Update update-mockgen.sh comment to v4
* Fix conflicts. Pass build and tests
* Fix test
2023-03-17 18:52:56 +00:00
Radosław Kapka
77d3ccb9ad
Clean up state types ( #11916 )
...
* Clean up state types
* rename package
2023-01-26 14:40:12 +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
9d375969d1
Enforce log.WithError(err) static analysis and fix all violations ( #11163 )
...
* Use log.WithError static analysis from #11143 and fix all violations
* Fix another log violation after pulling from develop
* Update beacon-chain/sync/pending_blocks_queue.go
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
* @potuz feedback
* Copy paste fail
* fix tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-08-05 10:52:02 +00:00
Raul Jordan
acfafd3f0d
Add More Visibility Into Sync Committee Message Participation ( #10943 )
...
* build
* granular time message
* timing
* log
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-06-27 23:01:24 +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
james-prysm
8da8855ad5
Web3Signer: Sign Method Implementation ( #10084 )
...
* breaking up changes from cli pr
* reverting some changes, adding in changes from remote-web3signer
* adding raul's change
* adding fork info to signing calls
* fixing imports
* gaz
* fixing gofmt
* removing unneeded comment
* Update validator/client/aggregate.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update validator/client/sync_committee.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* addressing comments
* revert proto changes
* proto changes
* reserve
* reserve
* switching to passing slot from passing fork, using slot to find the fork
* removing unneeded check
* fixing missed unit test
* optional
* optional
* gaz
* improving some definitions with constants
* improving some definitions with constants
* rem opt
* rem
* gaz
* moving mocks to its own folder
* adding in bazel field to fix
* fixing type check error
* fixing build
* fixing strict imports
* fixing dependencies
* changing bazel build
* changing bazel build
* changing bazel build
* removing testing only dependency
* removing dependency on testing util package
* update bazel build
* Update checktags_test.go
* Update active_balance.go
* Update sync_committee_minimal.go
* Update sync_committee_mainnet.go
* Update active_balance_disabled.go
* Update committee.go
* Update committee_disabled.go
* Update sync_committee.pb.gw.go
* Update powchain.pb.gw.go
* Update proposer_indices.go
* Update proposer_indices_disabled.go
* Update sync_committee.go
* Update mainnet.go
* Update p2p_messages.pb.gw.go
* Update finalized_block_root_container.pb.gw.go
* Update beacon_block.pb.gw.go
* Update attestation.pb.gw.go
* Update secret_key_test.go
* Update beacon_state.pb.gw.go
* Update version.pb.gw.go
* Update sync_committee.pb.gw.go
* Update sync_committee_disabled.go
* Update mainnet_test.go
* Update minimal.go
* Update signature_test.go
* Update gocast.go
* Update cgo_symbolizer.go
* Update validator.pb.gw.go
* Update beacon_state.pb.gw.go
* Update signature.go
* Update public_key_test.go
* Update minimal_test.go
* Update checktags_test.go
* Update bls_benchmark_test.go
* Update public_key.go
* Update secret_key.go
* Update aliases.go
* Update init.go
* Update stub.go
* Update journald_linux.go
* Update attestation.pb.gw.go
* Update config_utils_develop.go
* Update stub.go
* Update stub.go
* Update beacon_block.pb.gw.go
* Update validator.pb.gw.go
* Update node.pb.gw.go
* Update config_utils_prod.go
* Update journald.go
* Update beacon_block.pb.gw.go
* Update beacon_chain.pb.gw.go
* Update beacon_state.pb.gw.go
* Update events.pb.gw.go
* Update validator/keymanager/remote-web3signer/keymanager.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* addressing comments from review
* updating length of comment
* Update validator/keymanager/remote-web3signer/keymanager.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Update stub.go
revert changes
* Update validator/client/aggregate_test.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* addressing final comments
* fixing gofmt
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-01-18 14:31:58 -06: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
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
terence tsao
c21e43e4c5
Refactor: move functions beacon-chain/core/time
-> time/slots
( #9719 )
...
* Move necessary functions beacon-chain/core/time -> time/slots
* Fix fuzz
* Fix build
* Update slot_epoch.go
2021-10-01 15:17:57 -05:00
terence tsao
8219af46e4
Move slot epoch from core to time pkg ( #9714 )
...
* Move slot epoch from core to time pkg
* Fix fuzz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-30 19:00:14 +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
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
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
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
Preston Van Loon
4beb352e6f
Move Slot and Epoch functions from helpers to core pkg ( #9519 )
...
* Move Slot and Epoch functions from helpers to core
* limited viz
* goimports
* fix fuzz build
* fix fuzz build
* fix
* fix
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-03 20:10:31 +00:00
terence tsao
45b6a80a30
Validator: perform sync committee duties ( #9411 )
...
* Validator sync committee methods
* Gazelle
* Update visibility
* Add setupWithKey
* Refactor selection proofs
* Fix build
* Refactor compute and sign
* Fix sign request
* Fix test
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-08-24 17:33:42 +00:00