james-prysm
6050501eb1
migrating Beacon API code from eip4844 to deneb-integration ( #12568 )
2023-08-31 08:41:57 -05:00
james-prysm
8a67f616f0
introducing deneb changes and blobs to builder ( #12477 )
2023-08-31 08:41:57 -05:00
terencechain
2dadf36fa9
Add data gas used field to execution payload ( #12488 )
2023-08-31 08:41:57 -05:00
terencechain
7670fe7d6f
Update block's commitment size ( #12470 )
2023-08-31 08:41:57 -05:00
james-prysm
e2750646fa
validator signing deneb ( #12449 )
...
* validator signing feature migrated from eip4844 branch, added unit tests
* Update proto/prysm/v1alpha1/beacon_block.proto
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-08-31 08:41:57 -05:00
terencechain
8e91df9155
Add deneb block to consensus types ( #12368 )
2023-08-31 08:41:57 -05:00
terencechain
bd86c7c8f3
Add deneb protobufs ( #12363 )
2023-08-31 08:41:57 -05:00
terencechain
cb59081887
Remove: span for convert to indexed attestation ( #12687 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-08-03 16:17:46 +00:00
Radosław Kapka
e545b57f26
Deflake cloners_test.go
( #12566 )
2023-06-26 15:43:00 +00:00
james-prysm
d907cae595
persistent validator settings in validator client ( #12354 )
...
* WIP
* improving proposer settings store
* WIP persistent validator settings
* WIP persistent validator settings
* changing visibility level
* fixing some deepsource issues
* fixing more deepsource issues
* fixing json marshalling
* fix linting
* fixing tests
* fixing more tests
* fixing more tests
* fixing more tests
* fixing linting
* WIP fixing unit tests
* fixing remaining db tests
* converting json to protobuf
* fixing e2e
* k8s yaml library is used directly
* fixing linting
* fixing broken unit test
* reverting changes on e2e
* fixing linting
* fixing deepsource issue
* resolving some internal comments
* resolving some comments and adding more tests
* adding more unit tests
* gaz
* fixing flaking test
* fixing unit test contamination
* fixing deepsource issue
* resolving review item
* gaz
2023-05-16 14:08:49 -05:00
Potuz
be23773924
Don't use max cover on unaggregated atts nor check subgroup of validated signatures ( #12350 )
...
* Don't use max cover on unnaggregated atts
* Do not validate signature on the attestation package
* separate nil error checks
* fix unit tests
2023-05-16 17:06:26 +00:00
Nick Sullivan
5c00fcb84f
Fix numerous spelling error and typos in the log messages, comments, and documentation. ( #12385 )
...
* Minor typos and spelling fixes (comments, logs, & docs only, no code changes)
* Fix seplling in log message
* Additional spelling tweaks based on review from @prestonvanloon
2023-05-11 20:45:43 +00:00
terencechain
dbb8279fe6
Ran update-go-pbs.sh
( #12359 )
...
* Ran update-go-pbs.sh
* Fix import
2023-05-05 17:44:51 +00:00
Radosław Kapka
34b6c8f333
Use mock v1alpha1 server in Beacon API's validator functions ( #12319 )
2023-04-26 18:59:29 +02:00
james-prysm
f5bfb8e9eb
revert protobuf depreciation - ValidatorPerformanceResponse ( #12192 )
...
* accidently deprecated protobuf message
* accidently checked in blob changes
2023-03-27 13:39:21 -05:00
terencechain
5bb1491d8f
Remove blob protos ( #12173 )
...
* Remove old protobufs
* Rm generated files
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-21 18:08:05 +00:00
Nishant Das
88f03967dd
Apply Goimports to Generated Files ( #12170 )
...
* gofmt
* build
2023-03-21 11:12:23 +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
terencechain
5c234c8c68
Mark GetChainHead deprecated ( #12128 )
...
* Mark GetChainHead deprecated
* Add deprecation notice to protobuf definition
* Update proto/prysm/v1alpha1/beacon_chain.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon_chain.pb.go
---------
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-14 21:06:34 +00:00
Preston Van Loon
a0ff5ff792
Only build non-test targets in hack/update-go-pbs.sh ( #12101 )
...
* Only build non-test targets in hack/update-go-pbs.sh
* run ./hack/update-go-pbs.sh
* Add ability to pass config to bazel
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-10 17:49:34 +00:00
terencechain
00b9e484e5
Cleanups from eip4844 branch ( #12109 )
...
* Minor cleanups from eip4844 branch
* Add back handler
* Fix gazelle
* More fixes
* More fixes
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-10 16:46:27 +00:00
james-prysm
7c3027801b
Prysm v4 - mark old endpoints for deprecation ( #11997 )
...
* updating some protos
* updating proto endpoints
* updating generated code
* fixing linting
* updating protos
* updating based on feedback. also removing unused storage protos
* adding in deprecation notice on the server functions
* Update proto/prysm/v1alpha1/beacon_chain.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update proto/prysm/v1alpha1/beacon_chain.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update proto/prysm/v1alpha1/health.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update proto/prysm/v1alpha1/validator.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update proto/prysm/v1alpha1/debug.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update proto/eth/v1/beacon_chain.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update proto/prysm/v1alpha1/health.proto
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update proto/eth/service/beacon_chain_service.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update proto/eth/service/beacon_chain_service.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update proto/eth/service/beacon_chain_service.proto
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* addressing feedback
* rewording comment
* updating comments
---------
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-02-23 16:32:03 +00:00
james-prysm
c379c9ea47
Prysm V4 - Deprecate web UI endpoints ( #12025 )
...
* wip adding deprecation to web api endpoints
* wip adding more deprecation notices
* adding in a few more deprecation markers
* updating order of comments
2023-02-23 15:24:06 +00:00
Sammy Rosso
9136d30121
Return error when using unsupported mnemonic language ( #11805 )
...
* Return error when using unsupported mnemonic language
* Fix failing tests
* More test fixes
* Add MnemonicLanguage to CreateWalletRequest
* Add MnemonicLanguage to remaining tests
* Add language to error
* Add missing (.)
* Set default language + fix renumbered fields
* Replace hardcoded language with default var
* default set
* gaz
* fix proto field setting
* fix up
* Remove WithMnemonicLanguage from tests
* Remove WithMnemonicLanguage from tests
* Fix conflicting information failure
* Gazelle + remove hardcoded english values
* fix
* Fix tests
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-26 23:44:38 +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
Radosław Kapka
a296a0c783
Update builder code to Capella ( #11904 )
2023-01-26 14:07:44 +01:00
Potuz
fbafbdd62c
Stream blocks capella ( #11883 )
...
* capella blocks stream
* add unit tests
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-17 12:17:18 +00:00
terencechain
7fa3ebfaa8
Add historical summaries to state and processing ( #11842 )
...
* Add historical summaries to state and processing
* Process historical roots test
* Passing spec tests
* Fix shas and tests
* Fix mainnet spectest sha
* Fix tests
* Update beacon-chain/core/epoch/epoch_processing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/core/epoch/epoch_processing_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update proto/prysm/v1alpha1/beacon_state.proto
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/state/state-native/hasher.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Radek's feedback
* Getters error
* Dont return
* Fix else
* Fix tests
* Fix test
* Rm white space
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-11 22:20:15 +00:00
Radosław Kapka
cb02a6897d
Update block Beacon APIs to Capella ( #11706 )
...
* proto+ssz
* refactor GetBlindedBlockSSZ
(cherry picked from commit 97483c339f99b0d96bd81846a979383ffd2b0cda)
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
(cherry picked from commit 9e4e82d2c55e09be7568b28eaa33cdd1141445f4)
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
* add Capella version
(cherry picked from commit 5d6fd0bbe663e5dd16df5b2e773f68982bbcd24e)
(cherry picked from commit 82f6ddb693ac9e8b4336b30fae724e478b9e8ec0)
* support SSZ lol
(cherry picked from commit 52bc2c8d617ac3e1254c493fa053cdce4a1ebd63)
(cherry picked from commit d7d70bc25b3ee8acbea10aaf77d26cd1f8c5f26f)
* update withdrawals proto
* refactor and test GetBlockV2
(cherry picked from commit c1d4eaa79d4df04bd284ec65cf261b6f5f260a97)
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
* refactor and test GetSSZBlockV2
(cherry picked from commit fbc4e73d31c2f68d55d1e2bb8e7f2d8c7458c0a0)
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
* test other functions
(cherry picked from commit 31d4a4cd1165b882d823696e5983ac6635262ec2)
* move stuff to blinded_blocks.go
(cherry picked from commit 0a9e1658ddb28f45ae5c1cb9fc2703cbb8c6708d)
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
* fix migration code
* add Capella to SubmitBlock
* custom hooks
* missing structs
* fix tests
* fix tests
* review
* fix build issues
* replace ioutil with io
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-12-15 23:42:07 +00:00
Radosław Kapka
6c3b75f908
Upgrade getBlindedBlock
API endpoint to Capella ( #11687 )
...
* proto
(cherry picked from commit 7101910e0fab5a5572795115679fd6f8d8c8379b)
* GetBlindedBlock
(cherry picked from commit e5c269ddf7b0c9e04f72ed28982a82de56fcac55)
* middleware
(cherry picked from commit 1719ce5967b0f74786c596cc921f7256e6b224f3)
* refactor
* Update beacon-chain/rpc/apimiddleware/structs.go
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
* update error message
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-11-28 18:17:05 +00:00
Potuz
de73baa4a7
Update 3068 ( #11656 )
...
* rename last_withdrawal_validator_index
* Update Capella methods to Specs #3068
* Add missing renames
* rename minimal state
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-11-12 18:38:21 +00:00
Potuz
bb09295072
Remove withdrawal Queue ( #11610 )
2022-11-03 16:55:44 +00:00
terencechain
0fd5253915
Remove unused protobuf imports ( #11602 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-11-02 13:46:23 +00:00
terencechain
d1f0e5dd55
Run ./hack/update-go-pbs.sh
( #11598 )
2022-11-01 23:08:52 +00:00
terencechain
2142b13a41
Add 4844 containers to protobuf ( #11596 )
2022-10-31 12:11:40 -07:00
Radosław Kapka
ffac232d89
Capella beacon block ( #11566 )
...
* in progress
* done, no tests yet
* fix ToBlinded()
* Revert "Auxiliary commit to revert individual files from 2e356b6f5b15d409ac15e825c744528591c13739"
This reverts commit 081ab74e88fb7d0e3f6a81e00fe5e89483b41f90.
* tests
* fix tests
* one more fix
* and one more
* review
* fix proto_test
* another fix
* do not return error when nil object is wrapped
* allow nil payload in body.Proto()
* correctly assert error
* nil checks in body.Execution()
* simplify PR
* Revert "Auxiliary commit to revert individual files from 5736c1f22f2d2f309b9303c13d0fb6b1679c6ecb"
This reverts commit 1ff3a4c864923f5c180aa015aa087a2814498b42.
* fix slice sizes in cloner tests
* better payload tests
* review
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-10-31 17:58:30 +00:00
terencechain
c24016f006
Add validator index with Withdrawal pb ( #11563 )
...
* Add validator index with Withdrawal pb
* Update BUILD.bazel
* Fix test
* Better tests
2022-10-22 20:54:50 +00:00
Radosław Kapka
5f4c26875b
Remove ValidatorCapella
protobuf ( #11562 )
2022-10-19 17:56:50 +00:00
Radosław Kapka
b7a878d011
Resolve remaining native state tasks ( #11561 )
...
* remove ToProto and ToProtoUnsafe wrappers
* TestAppendBeyondIndicesLimit
* change type of genesisValidatorsRoot
* fuzz tests
* check type assertion
2022-10-19 10:37:45 -04:00
terencechain
e8400a0773
Fix complains and bad test ( #11555 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-10-17 16:20:26 +00:00
Radosław Kapka
cafe0bd1f8
Capella beacon state ( #11141 )
...
* fork
* types
* cloners
* getters
* remove CapellaBlind from fork
* hasher
* setters
* spec params, config tests
* generate ssz
* executionPayloadHeaderCapella
* proto state
* BeaconStateCapella SSZ
* saving state
* configfork
* BUILD files
* fix RealPosition
* fix hasher
* SetLatestExecutionPayloadHeaderCapella
* fix error message
* reduce complexity of saveStatesEfficientInternal
* add latestExecutionPayloadHeaderCapella to minimal state
* halway done interface
* remove withdrawal methods
* merge setters
* change signatures for v1 and v2
* fixing errors pt. 1
* paylod_test fixes
* fix everything
* remove unused func
* fix tests
* state_trie_test improvements
* in progress...
* hasher test
* fix configs
* simplify hashing
* Revert "fix configs"
This reverts commit bcae2825fcc8ba45a2b43d68ad0ab57f8eac8952.
* remove capella from config test
* unify locking
* review
* hashing
* fixes
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-10-12 11:39:19 -05:00
terencechain
211c5c2c5c
Beacon api: produce block should skip mev-boost ( #11488 )
...
* Beacon api: produce block should skip mev-boost
* Update comments
* Additional test and comments
* Update beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Fix suggestion
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-09-23 18:45:26 +00:00
james-prysm
20e99fd1f9
Improvement to Fee Recipient UX ( #11307 )
...
* updating mock
* adding new internal api
* adding generated code
* converting validator index to pubkey
* adding new API endpoint
* fixing mock related new API
* fixing unit tests
* preventing failure on startup, replacing with warnings
* improving log message
* changing warn log to error log
* fixing error formatting
* improve log on beacon node side on startup
* fixing deepsource issue
* improving logs
* fixing unit tests
* fixing more tests
* adding error check
* adding in new case for fee recipient to avoid conflicts on changing beacon node suggested fee recipient
* adding default fee recipient check for gas limit as well
* adding improved unit tests
* accidently checked in tmp folder
* adding more unit tests
* fixing gas limit unit test
* Update validator/rpc/standard_api_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/standard_api_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/standard_api_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/node/config.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/node/config.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update proto/prysm/v1alpha1/validator.proto
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/standard_api.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/runner.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing comments
* updating proto generated files
* fixing linting and addressign review comments
* fixing unit test
* improve error handling
* accidently added tmp folder
* improving function error returns
* realizing i am wrapping error incorrectly
* fixing unit test
* addressing review comment
* fixing linting
* fixing unit test
* improving ux around enable builder
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-09-22 11:35:35 -05:00
terencechain
d860daff75
clean up: godoc comments, redundant castings and more ( #11428 )
...
* clean up: Godoc comments, redundant castings and more
* Fix assertion check
* Update beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon-chain/forkchoice/protoarray/store.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-09-12 14:03:20 +00:00
Radosław Kapka
30cd158ae5
Move forkchoice dump to eth
namespace ( #11325 )
...
* protos
* server code
* rename v2 to v1 in endpoint
* middleware
* test fix
* test fix
* oops
* remove duplicated import
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-26 14:54:32 +00:00
Potuz
e1f56d403c
Restore forkchoice dump endpoint. ( #11312 )
...
* Restore forkchoice dump endpoint.
Only working on doubly-linked-tree.
* unit test
* revert proto changes
* protoarray
* Deepsource
* shut up!
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-25 23:37:23 +00:00
Raul Jordan
b60e508c89
Remove Slasher Deprecated Protos ( #11257 )
...
* rem deprecated
* fix slasher
2022-08-18 15:56:05 +00:00
terencechain
515e7c959f
Remove deprecated RPC ListBlocks
( #11243 )
...
* Remove deprecated RPC ListBlocks
* Fix test
* Rm mock
* Go imports
* Rm unused
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 18:07:28 +00:00
terencechain
95430ddb57
Remove deprecated SubmitValidatorRegistration
( #11242 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 16:35:41 +00:00
Raul Jordan
1062f5fe4d
Fix Proto Generation Scripts and Regen Protos With V3 Bindings ( #11227 )
...
* proto gen fix
* regen protos and ssz bindings
* regen
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-16 19:52:24 +00:00