Preston Van Loon
7898e65d4e
Electra v1.5.0-alpha.3 changes: Move consolidations from beacon block body to the execution payload header. ( #14152 )
2024-06-27 19:28:30 +00:00
kasey
8cd249c1c8
update codegen dep and cleanup organization ( #14127 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
2024-06-20 23:33:54 +00:00
james-prysm
3413d05b34
Electra: field renames ( #14091 )
...
* renaming functions and fields based on consensus changes
* execution api rename
* fixing test
* reverting spectests changes, it should be changed with new version
* reverting temporarily
* revert exclusions
2024-06-12 15:16:31 +00:00
kasey
46168607e8
Electra payload body engine methods ( #14000 )
...
* Combined v1/v2 payload body handling
* prevent overflows when dealing with electra fixture
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
2024-05-17 20:31:07 +00:00
kasey
de177f74fb
electra engine api support ( #13978 )
...
* electra engine api support
* add marshaling support for ExecutionPayloadElectra
* add receipts to json tests
* deep source
* simplify slice handling
* deep source lint about type/method order
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
2024-05-12 20:19:08 +00:00
Radosław Kapka
2c5a2e8ec7
Electra attestation interfaces ( #13937 )
...
* config values
* block protos
* get_committee_indices
* proto and ssz
* attestation interface
* Revert "Auxiliary commit to revert individual files from deadb2183723511721b3288c7168808a4fa97c64"
This reverts commit 32ad5009537bc5ec0e6caf9f52143d380d00be85.
* todos
* get_attesting_indices
* Revert "Auxiliary commit to revert individual files from dd2789723f90b15eb1f874b561d88d11dcc9c0bf"
This reverts commit f39644ed3cb6f3964fc6c86fdf4bd5de2a9668c8.
* beacon spec changes
* Fix pending attestation. Build ok
* Electra: add electra version
* Electra: consensus types
* gocognit exclusion
* @potuz's suggestion
* build fix
* interfaces for indexed att and slashing
* indexed att usage
* BuildSignedBeaconBlockFromExecutionPayload
* slashing usage
* grpc stubs
* remove unused methods
* Electra attestation interfaces
* cleanup
* tests
* make linter happy
* simple casting
* test fixes
* Fix spectest failures
* Regen pb and ssz files
* Handle "not ok" type assertion cases
* Setters that check version should always return an error. SetAttesterSlashings and SetAttestations
* gofmt
* Fix TestMinSpanChunksSlice_CheckSlashable
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com >
Co-authored-by: Preston Van Loon <preston@pvl.dev >
2024-04-30 21:29:38 +00:00
terence
a9862f32f3
Protobufs for Electra devnet-0 ( #13905 )
...
* block protos
* proto and ssz
* stubs
* Enable Electra spec test
* Pull in EIP-7251 protobuf changes
From: https://github.com/prysmaticlabs/prysm/pull/13903
* All EIP7549 containers are passing
* All EIP7251 containers passing
* including changes from eip7002
* Everything passing except for beacon state hash tree root
* fixing eletra state to use electra payload
* Fix minimal test. Skip beacon state test
* Perston's feedback
---------
Co-authored-by: rkapka <radoslaw.kapka@gmail.com >
Co-authored-by: james-prysm <james@prysmaticlabs.com >
2024-04-24 21:38:03 +00:00
Preston Van Loon
9c5d16e161
Clean up some unused beacon state proto types and related code ( #13735 )
2024-03-13 03:20:36 +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
Justin Traglia
01116f7f82
Fix a few minor nits in protobuf definitions ( #13512 )
2024-02-06 21:17:32 +00:00
james-prysm
bc107a61e3
builder API: remove blinded blob sidecar ( #13202 )
2023-11-29 06:28:37 -08:00
Terence
57eda1de63
Add RO blob sidecar ( #13144 )
2023-11-01 10:03:49 -07:00
james-prysm
10a89fef13
DEPRECTATION: Remove exchange transition configuration call ( #13127 )
...
* wip removing call to execution client for transition configuration
* updating bazel and execution engine proto
* removing more spots where the call was added
* removing unused metric
2023-10-27 15:43:00 +00:00
Nishant Das
bcc23d2ded
Fix Withdrawals Marshalling ( #13066 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-18 17:34:12 +00:00
Preston Van Loon
8eb82dd378
Update rules_go and gazelle to 0.42 & 0.33 (latest releases) ( #13021 )
...
* Provide @go_googleapis, update gazelle
* fix pb build failures
Fix build issues with grpc-gateway
2023-10-10 12:50:29 +08:00
terencechain
4d6b3252ae
Fix deneb builder bid HTR ( #12906 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-15 00:14:03 +00:00
terencechain
d1562bab53
Update blind blobs bundle max commitment size ( #12901 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-14 14:21:56 +00:00
Nishant Das
d506f9b2da
Fix Execution Block Unmarshalling in Deneb ( #12860 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
2023-09-07 16:52:02 +00:00
terencechain
3c98c27a32
chore(engine): remove debug log ( #12836 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-01 13:22:05 +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
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
terencechain
f3ca945bb4
feat: add builder override ( #12601 )
2023-08-31 08:41:57 -05:00
terencechain
b8fb602fc4
fix: use hexutil bytes for blobs bundle ( #12623 )
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
8a67f616f0
introducing deneb changes and blobs to builder ( #12477 )
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
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
terencechain
bd86c7c8f3
Add deneb protobufs ( #12363 )
2023-08-31 08:41:57 -05:00
Nishant Das
d4fd3c34de
Use GetPayloadBodies in our Engine Client ( #12630 )
...
* add it to our engine client
* lint
* add better debugging info
* temp debugging
* fix
* fix it
* pretty
* dumb bug
* Revert "pretty"
This reverts commit 6a6df3cc5f .
* Revert "fix it"
This reverts commit 73dc617bb0 .
* Revert "fix"
This reverts commit 3aecdaac6d .
* Revert "temp debugging"
This reverts commit ffcd2c61a0 .
* Revert "add better debugging info"
This reverts commit 96184e8567 .
* raul's comment
* regression test
---------
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com >
2023-07-18 15:46:23 +00:00
Nishant Das
0efb038984
Fix Fuzz Target For ExecutionPayload ( #12541 )
2023-06-16 12:41:28 +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
Sammy Rosso
6944d22ce3
Add support for engine_exchangeCapabilities ( #12224 )
...
* Add call to engine_exchangeCapabilities
* Fix unused import
* Cleanup + tests
* Warning only when needed
* Add Radek' feedback
2023-04-17 12:55:22 +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
Sammy Rosso
49f0c44dfe
Add getpayloadbodies ( #11973 )
...
* el payload bodies code
* Add getPayloadBodies
* Add error 38004
* Add unmarshal
* Add ExecutionPayloadBodyV1 to proto
* Add EnableCapellaEngineMethods flag
* Small fixes
* Add proto files
* gazelle
* passing tests
* compile
* Add remaining tests
* fix tests
* Cleanup
* Fix gazelle
* Remove comments
* Rename the flag + add missing description
---------
Co-authored-by: rauljordan <raul@prysmaticlabs.com >
Co-authored-by: terencechain <terence@prysmaticlabs.com >
2023-03-14 15:52:16 +00:00
terencechain
e136e10ebb
Proposer use highest value payload vs header ( #11967 )
2023-02-10 11:36:19 -08:00
Radosław Kapka
77d3ccb9ad
Clean up state types ( #11916 )
...
* Clean up state types
* rename package
2023-01-26 14:40:12 +00:00
terencechain
79d6ce45ad
Add capella's marshal and unmarshal ( #11879 )
...
* Add capella's marshal and unmarshal
* skip test
* Fix TestJsonMarshalUnmarshal/execution_payload_Capella
* Fixing test
* Skip http test
Co-authored-by: Potuz <potuz@prysmaticlabs.com >
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-17 23:44:59 +00:00
terencechain
5480d607ac
Change withdrawal amount unmarshal to uint64 (gwei) ( #11866 )
...
* Change withdrawal amount unmarshal to uint64 (gwei)
* Init server
Co-authored-by: Nishant Das <nishdas93@gmail.com >
Co-authored-by: Potuz <potuz@prysmaticlabs.com >
2023-01-16 21:25:16 +00:00
Patrice Vignola
83f48350b2
Fix a bunch of deepsource warnings ( #11814 )
2022-12-22 09:20:10 +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 9e4e82d2c5 )
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
* add Capella version
(cherry picked from commit 5d6fd0bbe663e5dd16df5b2e773f68982bbcd24e)
(cherry picked from commit 82f6ddb693 )
* support SSZ lol
(cherry picked from commit 52bc2c8d617ac3e1254c493fa053cdce4a1ebd63)
(cherry picked from commit d7d70bc25b )
* update withdrawals proto
* refactor and test GetBlockV2
(cherry picked from commit c1d4eaa79d )
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
* refactor and test GetSSZBlockV2
(cherry picked from commit fbc4e73d31 )
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
* test other functions
(cherry picked from commit 31d4a4cd11 )
* move stuff to blinded_blocks.go
(cherry picked from commit 0a9e1658dd )
# 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
1fbb3f3e51
Reconstruct full Capella block ( #11732 )
...
* Merge branch 'reconstruct-capella-block' into capella
(cherry picked from commit b0601580ef )
# Conflicts:
# beacon-chain/rpc/eth/beacon/blocks.go
# proto/engine/v1/json_marshal_unmarshal.go
* remove unneeded test
* rename methods
* add doc to interface
* deepsource
(cherry picked from commit 903cab75ee )
# Conflicts:
# beacon-chain/execution/testing/mock_engine_client.go
* bzl
* fix failing tests
* single ExecutionBlockByHash function
* fix engine mock
* deepsource
* reorder checks
* single execution block type
* update tests
* update doc
* bytes test
* remove toWithdrawalJSON
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-12-14 13:42:48 +00:00
Patrice Vignola
fa01ee5eba
Add REST implementation for Validator's ProposeBeaconBlock ( #11731 )
...
* WIP
* WIP
* WIP
* Add tests
* WIP
* Add more tests
* Address DeepSource errors
* Remove unused param
* Add more tests
* Address PR comments
* Address PR comments
* Fix formatting
* Remove unused parameter
* Fix TestLittleEndianBytesToBigInt
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2022-12-12 10:39:51 +00:00
terencechain
e2ffaf983a
Add minimal withdrawal size ( #11658 )
...
* Add selector with minimal withdrawal size
* @potuz's feedback, Add PayloadAttribruteV2
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-11-22 16:05:37 +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
terencechain
09e117370a
Flatten blob to an array ( #11614 )
...
* Flatten blob to an array
* Rename data back to blob
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com >
2022-11-04 15:03:25 +00:00
Potuz
bb09295072
Remove withdrawal Queue ( #11610 )
2022-11-03 16:55:44 +00:00