Potuz
4b083c2ca9
Fix IsExecutionEnabled for blinded blocks ( #11076 )
...
* Fix IsExecutionEnabled for blinded blocks
The TransactionsRoot of a blinded block may be non-zero, anyway we do
not insert the header in the state until IsExecutionEnabled is true.
This last check was failing on blinded blocks because it was actively
checking that the root should be zero, when it needn't be.
Superseeds #11068
* fix test
* test case
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-19 20:45:45 +00:00
terencechain
82ae4caca8
Add Goerli as an alias to Prater ( #11065 )
...
* Add Goerli as an alias to Parter
* Revert "Add Goerli as an alias to Parter"
This reverts commit 47311ce8b0a177b3a1330e7f3d20270f7e526d9a.
* Preston's feedback
2022-07-19 20:00:16 +00:00
james-prysm
e770f0fe1f
Web3signer: type cleanup ( #11062 )
...
* switching signing root type to hexutil.byte
* more signing root changes
* more conversions for types
* adding bitfield parsing
* fixing linting
* fixing bitfield parsing
2022-07-19 14:05:49 +00:00
james-prysm
30b8fba2ac
Validator Registration- proposer settings renaming ( #11057 )
...
* fixing ux on propertynaming, introducing placeholder property
* reverting some refactors
* Update debug.go
* Update debug.go
* rolling back change on file
* adding new unit tests and renaming flags
* renaming variable
2022-07-19 08:38:33 -05:00
Radosław Kapka
5d94fd48ca
Revert "Testutil refactor attestations ( #10952 )" ( #11073 )
2022-07-19 14:41:15 +02:00
Potuz
176d763091
Allow pcli to pretty print blinded blocks ( #11067 )
2022-07-18 21:52:58 -03:00
terencechain
97dc9ebbc8
Reset proposer root if the root is getting removed in store ( #11053 )
...
* Reset proposer root if the root is getting removed in store
* Potuz feedback
* Fix root
* unit test
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-07-18 15:09:01 +00:00
terencechain
6a74dcf35b
Misc improvements to interface with builder ( #11059 )
...
* Misc improvements to builder
* James feedback
2022-07-17 23:43:16 -07:00
james-prysm
a775798d89
Web3signer: Support json content type with optional metadata ( #11058 )
...
* initial commit
* wanting to trigger ci
2022-07-15 11:01:54 -05:00
james-prysm
e2442bb0a6
Web3signer: support json response signature ( #11055 )
...
* initial commit
* initial commit
* fixing linting
2022-07-14 15:54:44 -05:00
james-prysm
2669006694
Web3Signer: Validator Registration ( #10964 )
...
* initial commit
* adjusting logic to match web3signer specifications
* making Epoch mandatory
* fixing unit test
* rolling back some changes on slots
* fixing unit tests
* testing enable validator registration
* adding validator registration to configs
* fixing prefix
* fixing shasum
* rolling back e2e validator registration until fully supported
* updating web3signer version
* changing types based on feedback
2022-07-14 15:04:03 -05:00
Preston Van Loon
5722a5793c
Tracing: properly overwrite context so that spans can be correctly attributed ( #11012 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-14 17:00:33 +00:00
james-prysm
96aba590b5
Web3Signer Flag support List in YML config ( #11041 )
...
* initial commit
* fixing linting
* fixing linting
* fixing deepsource
* changing visibility of validator flags
* updating package information
* fixing typo
* fixing another typo
* testing bazel config
* fixing linting
* fixing build
* switching flag to stringslice and adding unit tests
* fixing bazel
* rolling back bazel
* migrating unit test into validator flags
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-14 16:34:59 +00:00
Luca G.F
2162ffb05f
Fix data race in monitoring test ( #11032 )
...
Signed-off-by: Luca Georges Francois <luca.georges-francois@epitech.eu>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-07-14 16:04:12 +00:00
Nishant Das
d41805a39c
Fuzz Remaining Engine Objects ( #11049 )
...
* add new fuzz tests
* add fixes
* remove test
* add more checks
* remove comment
2022-07-14 11:33:32 -04:00
terencechain
819632dfc5
Remove builder status check for block proposal ( #11052 )
2022-07-13 19:10:08 +00:00
Raul Jordan
10fffa6e7c
[Feature] - Store Only Blinded Beacon Blocks Post-Merge ( #11010 )
...
* add in flags
* add sync and db items
* bring over all other changes
* enable on
* use feature flag
* powchain
* builds
* fix up tests
* pass iface
* gaz
* enable bellatrix blind in unmarshal only behind flag
* poolside
* pass rpc tests
* rebuilds
* naming
* cleaner func
* check needs resync
* idiomatic
* gaz
* rem
* build
* nicer
* build
* cleaner
* surface error
* wrapping
* unmarshal logs
* fix up
* cleaner
* log
* builds
* Update beacon-chain/blockchain/execution_engine.go
Co-authored-by: terencechain <terence@prysmaticlabs.com>
* terence feedback
* test added for resync
* nil check
* fmt
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-07-13 17:18:30 +00:00
james-prysm
5cda86bb93
Web3Signer: log for ignored wallet password flag ( #11018 )
...
* intial commit
* changing log message
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-13 16:42:08 +00:00
Potuz
f2dcc9a570
more pruning unit tests ( #11034 )
...
* unit tests
* Sort the slice before compare
* Gazelle
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-13 16:23:29 +00:00
terencechain
63354b5bb7
Don't log unless there's payload attribute ( #11050 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-13 15:56:06 +00:00
terencechain
e48f0aef41
Remove IsMergeTransitionBlockUsingPreStatePayloadHeader ( #11036 )
...
* Remove IsMergeTransitionBlockUsingPreStatePayloadHeader
* Conflicts
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-07-13 15:29:41 +00:00
terencechain
ab1defc5de
Improve error verbosity when payload_id is nil ( #11042 )
...
* Improve error verbosity with payload ID is nil
* Conflict
* Fix test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-13 12:49:40 +00:00
Nishant Das
b0e15f3c8f
Fix FuzzForkChoiceResponse Crash ( #11043 )
2022-07-13 09:47:14 +00:00
Raul Jordan
e01a898264
Execution Payload / Header Interface Wrappers ( #11025 )
...
* exec payload iface
* begin using iface
* use iface more
* build beacon
* builds
* txs field
* fix
* merge test
* pass
* test
* refactor
* fix up builder case
* gaz
* comments
* el test
* build
* no mask
* patch up
* exec wrap
* Terence feedback
* builds
* potuz suggestion
* exec data error
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-13 01:49:38 +00:00
terencechain
7c30533870
Log error string instead of data ( #11038 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-12 22:40:10 +00:00
Preston Van Loon
7654ffdcfc
e2e: fix scenario test suite ( #11039 )
2022-07-12 22:31:37 +00:00
Preston Van Loon
d6031ac386
Add test_suites for better CI runs ( #11037 )
2022-07-12 16:42:44 -05:00
int88
f7d3b5c510
fix some comments ( #11017 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-07-12 19:06:38 +00:00
james-prysm
c0f3946f58
Full Deprecation of Fee Recipient File Flags ( #11033 )
2022-07-12 18:10:44 +00:00
Luca G.F
c33acde64e
Fix counters data races in async tests ( #11030 )
...
* Fix counters data races in async/debounce tests
Signed-off-by: Luca Georges Francois <luca.georges-francois@epitech.eu>
* Fix counters data races in async/every tests
Signed-off-by: Luca Georges Francois <luca.georges-francois@epitech.eu>
2022-07-12 14:39:18 +00:00
james-prysm
8310d22a05
Validator Registration: use cached signatures if certain properties don't change. ( #11014 )
...
* initial commit
* fixing variable rename
* fixing unit test
* adding based on review comments
* renaming cache
* simplifying logic on signed validator registrationRequest
* adding unit tests
* fixing linting
* using wrong dependency
2022-07-12 04:19:49 +00:00
AH
3060096233
Trivial fix to the warning message about fee recipient config ( #11027 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-07-12 03:11:26 +00:00
terencechain
5d06c14cec
Check validator has registration before getting header ( #11023 )
...
* Check validator has registration before calling header
* Check validator has registration before calling header
* Update proposer_bellatrix_test.go
2022-07-11 20:57:58 -05:00
Preston Van Loon
57abf02e34
Enforce a 1s timeout for block builder reply ( #11021 )
...
* Enforce a 1s timeout for block builder reply
* Specify BUILDER_PROPOSAL_DELAY_TOLERANCE
* clarify error message
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-11 22:18:42 +00:00
Potuz
44218a9c5b
add nilcheck for payload ID ( #11024 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-11 21:36:52 +00:00
Preston Van Loon
d53f2c7661
builder client: Revert key batching PR #11002 ( #11022 )
...
* builder client: Revert key batching PR #11002
* forgot
* gaz
2022-07-11 20:55:08 +00:00
terencechain
5e53d6976e
Fix proposer duty RPC to allow next epoch query ( #11015 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-07-11 18:46:42 +00:00
terencechain
7fd2c08be3
Propagate FCU invalid error ( #10997 )
...
* Wrap fcu error
* Wrap fcu error
* Wrap error better
* More test
* Add else
* Potuz feedback
* Propagate the correct root for fcu
* Always return true for invalid
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-09 20:51:03 +00:00
james-prysm
6695e7c756
Push Proposer Settings: improve warn logs + bug fix ( #11013 )
...
* initial commit
* adding unit test to fix bug and test for log inclusion
2022-07-08 16:15:49 -04:00
james-prysm
aeede2165d
WEB v.2 ( #11007 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-08 19:08:11 +00:00
terencechain
67a15183ca
Wrap NewPayload error ( #10994 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-08 18:24:48 +00:00
terencechain
208dc80702
Add Capella config ( #11003 )
...
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>
2022-07-08 17:40:01 +00:00
terencechain
e80806d455
Check nil before logging "Failed to close response body..." ( #11011 )
2022-07-08 16:55:12 +00:00
Raul Jordan
80d0a82f9b
Engine Client Method to Reconstruct Full Bellatrix Beacon Block ( #10998 )
...
* engine reconstructor
* gaz
* powchain pass
* metrics
* deadcode
* prevent nil block
* build
* add test based on recs
2022-07-08 14:10:33 +00:00
Preston Van Loon
f9b3cde005
Batch build API requests for RegisterValidator ( #11002 )
...
* Add UnmarshalJSON for SignedValidatorRequest
* add failing test for batch limits
* Add functionality
* gofmt
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-07 23:50:48 +00:00
Raul Jordan
d8f9750387
Only Unmarshal Full Tx Bodies in ExecutionBlock JSON Unmarshaler ( #11006 )
...
* full tx unmarshaling fixed
* prefix check
2022-07-07 23:08:44 +00:00
james-prysm
5e8b9dde5b
Simplify Push Proposer settings ( #11005 )
...
* initial commit
* fixing unit tests
* fixing more unit tests
2022-07-07 22:24:06 +00:00
terencechain
c2caff4230
Minor UX improvement to validator registration ( #11004 )
2022-07-07 19:32:02 +00:00
Raul Jordan
b67c885995
Major Simplification of JSON Handling for Execution Blocks ( #10993 )
...
* no more execution block custom type
* simpler json rpc data unmarshaling
* simplicify
* included hash and txs fix
* all tests
* pass
* build
* mock fix
* attempt build
* builds
* build
* builds
* pass
* pass
* build
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-06 22:06:00 +00:00
james-prysm
60ed488428
changing gaslimit to validator registration ( #10992 )
...
* changing gaslimit to validator registration
* adding new flag to enable validator registration for suggested fee recipient
* making sure default gaslimit is set
* Update cmd/validator/flags/flags.go
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-07-06 18:42:21 +00:00