james-prysm
723f73795f
Deneb: blob sidecar events ( #12928 )
...
* adding in deneb blob event triggers
* fixing linting
* kasey's feedback
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-22 21:54:10 +00:00
Potuz
489b34a01f
Use headstate when requesting current epochs ( #12940 )
...
* Use headstate when requesting current epochs
* gazelle
* review requests
2023-09-22 19:48:24 +00:00
Radosław Kapka
e22258caa9
HTTP validator APIs ( #12887 )
...
* GetValidators in progress
* in progress
* completed implementation of GetValidators + some tests
* typo
* completed tests for GetValidators
* GetValidator
* GetValidatorBalances
* register
* more tests and e2e fix
* middleware cleanup
* remove struct
* handle all ignored
* test fixes
* more test fixes
* even more test fixes
* remove unused structs
* docs
* fix validator count test
* build fix
* add length checks
* lint fix
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-09-21 18:16:59 +00:00
Potuz
e2591f7c5b
Do not cache proposer ID on GetProposerDuties ( #12939 )
2023-09-21 15:22:41 +00:00
Radosław Kapka
b40729f6c0
Return correct root from GetBlockHeader
( #12935 )
...
* Return correct root from `GetBlockHeader`
* variable rename
2023-09-21 12:02:14 +00:00
Radosław Kapka
e76aedf1ae
HTTP API: GetLiveness and GetBlockHeader ( #12916 )
...
* GetLiveness
* GetBlockHeader
* simplify request objects
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-20 19:06:11 +00:00
Radosław Kapka
14f040de48
GetFinalityCheckpoints
and GetGenesis
HTTP endpoints (#12902 )
...
* GetFinalityCheckpoints and GetGenesis
* bzl
* remove unused func
* use const as base path
* bring back headers
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-19 17:53:45 +00:00
terencechain
f59307358e
Copy kzg commitments when using builder block ( #12923 )
2023-09-18 23:54:20 +00:00
james-prysm
14ce051668
Deneb builder fix ( #12921 )
...
* fixing conversion for deneb
* updating unit test to catch this in the future
* gaz
2023-09-18 20:34:28 +00:00
terencechain
998a493ee2
Fix builder blind block namings ( #12910 )
...
* Fix builder blind block namings
* Fix
* Fix tests
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-09-18 15:32:10 +00:00
Nishant Das
4098b3a1d2
fix it ( #12915 )
2023-09-18 21:42:54 +08:00
Radosław Kapka
d8e6d2cb2e
Fix proposer duties sorting ( #12909 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-16 14:11:57 +00:00
anukul
4d120b53ae
HTTP Beacon API: /eth/v1/beacon/headers
( #12817 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-09-15 12:05:35 +02:00
Sammy Rosso
8c39c55f05
HTTP Beacon API: /eth/v1/beacon/states/{state_id}/committees
( #12879 )
...
* Initial setup
* Gaz
* Remove original implementation
* Fix protos
* Cleanup + tests
* Cleanup
* Radek' review + fixes
* Fix merge errors
* Fix imports
* Rename error handling
* Fix broken e2e
* Gaz
* Update comment
2023-09-13 17:29:32 +00:00
james-prysm
9ecf4d34f5
Deneb api cleanup ( #12852 )
...
* cleanup wip
* updating tests, and updating logs
* fixing unit tests
* address radek's comments
* fixing bad alias name
2023-09-12 16:22:20 +00:00
Radosław Kapka
79445d2bf6
HTTP Beacon API: /eth/v1/validator/duties
( #12810 )
...
* impl
* protos
* remove apimiddleware from e2e
* register endpoint
* get epoch from vars
* tests
* test fixes
* remove unused function
* GetProposerDuties
* proto
* fix compilation
* register
* tests
* GetSyncCommitteeDuties
* protos
* register
* tests in progress
* complete tests
* check altair epoch
* more testing
* create variable
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-09-12 13:57:04 +00:00
terencechain
35fc1c976f
Improved Logging for Blob Sidecar ( #12883 )
...
* feat: improve blob sidecar logs
* Kasey's feedback
2023-09-11 20:46:06 +00:00
james-prysm
b0423a94af
REST implementation of /eth/v1/beacon/states/{state_id}/fork
( #12835 )
...
* fork state endpoint
* removing generated files
* fixing linting
* fixing tests using old type
* moving the response object to a new file under shared
* fixing test
* gaz
* fixing generated code
* gaz
* fixing linting
* rolling back some changes
* reverting generated changes
* fixing spacing
* linting
* updating protos after develop merged
* addressing radek's comments
* addressing more radek comments
2023-09-11 18:57:17 +00:00
james-prysm
6c16e90fe9
deneb - validator beacon rest apis ( #12871 )
...
* wip
* adding tests for deneb
* adding deneb to get block
* Update validator/client/beacon-api/get_beacon_block.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/beacon-api/propose_beacon_block.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/beacon-api/propose_beacon_block.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/beacon-api/propose_beacon_block.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/beacon-api/propose_beacon_block.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-09-11 16:50:55 +00:00
Sammy Rosso
7781a3186b
HTTP implementation of /eth/v1/config/deposit_contract
( #12872 )
...
* Add endpoint
* Protos
* Forgot to add endpoint
* fix proto double import
* Remove old test
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-09-08 17:05:29 +00:00
terencechain
13c69af717
fix: use correct blob root in blobs sidecar ( #12866 )
...
Co-authored-by: kasey <489222+kasey@users.noreply.github.com>
2023-09-08 14:58:33 +00:00
Sammy Rosso
d55757500f
Integrate EIP-4881 Deposit Tree Into Prysm via a Feature Flag ( #11942 )
...
* Initial spec rewrite
* Finish adding merkle tree implementation
* Last bits
* Move reverse function
* Add comments
* Add deposit tree snapshot
* Add deposit tree
* Add comments + cleanup
* Fixes
* Add missing errors
* Small fixes
* Add unhandled error
* Cleanup
* Fix unsafe file.Close
* Add missing comments
* Small fixes
* Address some of deepSource' compaints
* Add depositCount check
* Add finalizedDeposit check
* Replace pointer magic with copy()
* Add test for slice reversal
* add back bytes method
* Add package level description
* Remove zerohash gen and add additional checks
* Add additional comments
* Small lint fixes
* Forgot an error
* Small fixes
* Move Uint64ToBytesLittleEndian32 + test
* Fix uint subtraction issue
* Move mixInLength below error handling
* Fix
* Fix deposit root
* integrate 4881
* edits
* added in deposit tree fetcher
* add file
* Add remaining fetcher functions
* Add new file for inserter functions
* Fixes and additional funcs
* Cleanup
* Add
* Graph
* pushed up edits
* fix up
* Updates
* Add EIP4881 toggle flag
* Add interfaces
* Fix tests
* More changes
* Fix
* Remove generated graph
* Fix spacing
* Changes
* Fixes
* Changes
* Test Fix
* gaz
* Fix a couple tests
* Fix last tests
* define protos
* proto methods
* pushed
* regen
* Add proto funcs
* builds
* pushin up
* Fix and cleanup
* Fix spectest
* General cleanup
* add 4881 to e2e
* Remove debug statements + remove test skip
* Implement first set of missing methods
* Replace Zerohashes + cleanup
* gazelle
* fmt
* Put back defensive check
* Add error logs
* InsertFinalizedDeposits: return an error
* Remove logging
* Radek' Review
* Lint fixes
* build
* Remove cancel
* Update beacon-chain/deterministic-genesis/service.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Update beacon-chain/cache/depositsnapshot/deposit_inserter.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Cleanup
* Fix panic when DepositSnapshot is nil on init
* Gofmt
* Fix RootEquivalence test
* Gofmt
* Add missing comments
* Nishant' review
* Add Insert benchmarks
* fix up copy method
* Fix deep copy
* Fix conflicts
* Return error
* Fix linter issues
* add in migration logic
* Cleanup + tests
* fix
* Fix incorrect index in test
* Fix linter
* Gofmt
* fix it
* fixes for off by 1
* gaz
* fix cast
* fix it
* remove ErrZeroIndex
* Fix merkle_tree_test
* add fallback
* add fix for insertion bug
* add many fixes
* fix empty snapshot
* clean up
* use feature
* remove check
* fix failing tests
* skip it
* fix test
* fix test again
* fix for the last time
* Apply suggestions from code review
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* fix it
* remove cancel
* fix for voting
* addressing more comments
* fix err
* potuz's review
* one more test
* fix bad test
* make 4881 part of dev mode
* add workaround for new trie
* comment
* preston's review
* james's review
* add comment
* james review
* preston's review
* remove skipped test
* gaz
---------
Co-authored-by: rauljordan <raul@prysmaticlabs.com>
Co-authored-by: nisdas <nishdas93@gmail.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-09-07 03:19:32 +00:00
james-prysm
41dff74e90
fix phase0 block parsing on submitblock ( #12857 )
...
* adding fixes to address new changes in deneb
* removing logs
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-09-07 01:49:18 +00:00
terencechain
2f6dcb34b6
fix(builder): handle no blob bundle ( #12838 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-06 20:59:42 +00:00
Radosław Kapka
34f507f4b2
HTTP implementation of /eth/v1/beacon/pool/sync_committees
( #12782 )
...
* impl
* protos
* tests
* register endpoint
* test fix
* test fix
* remove path
* more test fixes
* cleanup
* bzl
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-09-01 17:58:50 +00:00
james-prysm
9a7393a2e3
Deneb produce blockv3 ( #12708 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-09-01 12:51:27 +02:00
james-prysm
bfecbf97db
REST implementation of /eth/v1/validator/prepare_beacon_proposer
( #12781 )
...
* implementing prepare beacon proposer endpoint in full rest
* fixing type naming on validator client
* fixing linting
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/validator/handlers.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/validator/handlers.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing feedback
* fixing unit tests
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-08-31 17:02:39 +00:00
terencechain
3d74ecb6d4
fix: add back non parallel proposer ( #12811 )
2023-08-31 08:41:57 -05:00
james-prysm
726601221e
fixing route handler and small cleanup items ( #12726 )
2023-08-31 08:41:57 -05:00
terencechain
d210a2368f
feat: implement eip4788 ( #12570 )
2023-08-31 08:41:57 -05:00
james-prysm
70997e2489
renaming data to blobs in execution payload ( #12664 )
2023-08-31 08:41:57 -05:00
james-prysm
f602a44bee
implementing publishblockv2 for deneb ( #12662 )
...
fixing broken test (#12673 )
2023-08-31 08:41:57 -05:00
Preston Van Loon
48f1f69695
Deneb: Implement EIP-7044 ( #12577 )
2023-08-31 08:41:57 -05:00
terencechain
f3ca945bb4
feat: add builder override ( #12601 )
2023-08-31 08:41:57 -05:00
james-prysm
4c1f398a96
adding ssz handling to produce block endpoint for deneb ( #12632 )
2023-08-31 08:41:57 -05:00
james-prysm
5a62aa4c07
adding ssz capabilities for deneb publish block v1 ( #12622 )
2023-08-31 08:41:57 -05:00
james-prysm
a41c01cb5e
migrating get blob from eip4844 and deneb-integration ( #12603 )
2023-08-31 08:41:57 -05:00
james-prysm
6050501eb1
migrating Beacon API code from eip4844 to deneb-integration ( #12568 )
2023-08-31 08:41:57 -05:00
terencechain
590309e3fc
feat(deneb): proposer rpc to handle builder flow ( #12554 )
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
bcdf1c92a7
feat(config): update max blobs per block to 6 ( #12512 )
2023-08-31 08:41:57 -05:00
terencechain
ff6b670d95
feat(blockchain): update payload attribute for deneb ( #12509 )
2023-08-31 08:41:57 -05:00
terencechain
2be87f623b
feat(rpc/validator): stream and use deneb block ( #12510 )
2023-08-31 08:41:57 -05:00
terencechain
5b1634b335
Update ProposeBeaconBlock
Prysm RPC for Deneb (Non builder) ( #12495 )
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
c10e56513d
Proposer RPC: GetBlock for Deneb ( #12481 )
2023-08-31 08:41:57 -05:00
terencechain
7670fe7d6f
Update block's commitment size ( #12470 )
2023-08-31 08:41:57 -05:00
terencechain
5deb1f755b
Deneb: implements engine API end points ( #12384 )
2023-08-31 08:41:57 -05:00
Radosław Kapka
319daa7f6c
Deneb integration: Beacon API getStateV2
( #12424 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Fix Migration Of State (#12423 )
2023-08-31 08:41:57 -05:00
terencechain
43e8ae4dca
Deneb DB methods ( #12379 )
2023-08-31 08:41:57 -05:00