Radosław Kapka
f98d1ce64b
Run multiple go-ethereum nodes in e2e ( #10277 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-03-07 13:23:15 +01:00
Mohamed Zahoor
a103dd91c0
cherry picked PR for #10274 ( #10300 )
...
* ignore topic messages (except block topic) during optimistic sync
* address review comments
* nit pick fix
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-03-06 08:09:12 +00:00
terence tsao
74fe2cc8d0
Spawn attestation routine at a better place ( #10303 )
...
* Spawn attestation routine at a better place
* Revert
* Update service.go
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-03-04 22:25:04 +00:00
Nishant Das
a4bbaac262
Add Better Error Logs for Context Deadlines ( #10310 )
...
* better log here too
* remove period
* Update beacon-chain/p2p/pubsub.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-03-04 16:21:19 +00:00
Nishant Das
1af11885ee
Remove Support for 2d-list Hashers ( #10290 )
...
* add changes
* fix logic bug
* fix
* potuz's review
* Update beacon-chain/state/stateutil/eth1_root.go
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-03-04 15:19:07 +00:00
Nishant Das
1437cb8982
Update GoHashTree Library ( #10308 )
2022-03-04 14:18:52 +00:00
Nishant Das
0b559afe30
Better Error Log In Context Deadlines ( #10309 )
...
* add better error log
* radek's review
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-03-04 09:54:06 +00:00
Radosław Kapka
54915850a2
Refactor E2E port registration ( #10306 )
...
* Refactor e2e port registration
* uncomment tests
* explain calculation
* fix things
* change param to pointer
* fix errors
* unit test and constant
2022-03-04 09:26:28 +00:00
terence tsao
69618d157a
Bellatrix validator terminal block helpers ( #10305 )
...
* Add get transition block
* Update proposer_execution_payload.go
2022-03-03 15:00:11 -05:00
Nishant Das
fa750650ed
Disable Vectorized HTR from Our Dev Flag ( #10304 )
2022-03-03 03:49:26 +00:00
terence tsao
7303985232
Validator RPC: add optimistic status check ( #10291 )
...
* Add optimistic status check
* Simplify a bit more
* Update status_test.go
* Add non opt tests
* Update aggregator_test.go
* More tests
* Preston's feedback
2022-03-03 00:16:34 +00:00
Raul Jordan
958dd9d783
Check Engine API Transition Configuration in Background ( #10250 )
...
* transition proto
* gen pb
* builds
* impl transition config
* begin tests
* transition config messed up
* amend proto
* use str
* passing
* gaz
* config
* client test
* pb
* set to 0
* rem log
* gaz
* check transition config
* check config differences
* check transition config in background
* gaz
* pass
* redundant
* fix up error handling and healthz
* simplify status
* gazelle
* build
* err config check
* test
* gaz
* Fix run time
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-03-01 21:38:51 +00:00
Preston Van Loon
a3f8ccd924
validator: Fix flaky test TestServer_RefreshJWTSecretOnFileChange ( #10296 )
2022-03-01 20:34:05 +00:00
terence tsao
d64f6cb7a8
Add engine methods to block processing ( #10285 )
...
* Add notify newPayload and forkchoiceUpdate
* Tests
* Raul's feedback
* Update optimistic_sync.go
* Simplify
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-03-01 16:43:06 +00:00
terence tsao
a9a75e0004
Release lock before return validatedTips
( #10289 )
...
* Release lock before return
* add test
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-03-01 15:36:47 +00:00
Nishant Das
339540274b
Integration of Vectorized Sha256 In Prysm ( #10166 )
...
* add changes
* fix for vectorize
* fix bug
* add new bench
* use new algorithms
* add latest updates
* save progress
* hack even more
* add more changes
* change library
* go mod
* fix deps
* fix dumb bug
* add flag and remove redundant code
* clean up better
* remove those ones
* clean up benches
* clean up benches
* cleanup
* gaz
* revert change
* potuz's review
* potuz's review
* potuz's review
* gaz
* potuz's review
* remove cyclical import
* revert ide changes
* potuz's review
* return
2022-02-28 21:56:12 +08:00
Raul Jordan
12ba8f3645
Renaming Random in ExecutionPayloads to PrevRandao ( #10283 )
...
* rename proto
* p header
* regen
* regen ssz
* fix randao
* random name changes
* bazel builds
* bt
* incorrect prev randao
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-26 03:47:16 +00:00
Raul Jordan
f3a7f399c0
Engine API Client Authentication for the Merge via HTTP ( #10236 )
...
* round tripper with claims
* auth
* edit auth
* test out jwt
* passing
* jwt flag
* comment
* passing
* commentary
* fix up jwt parsing
* gaz
* update jwt libs
* tidy
* gaz
* lint
* tidy up
* comment too long
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-02-25 19:08:43 +00:00
james-prysm
6163e091a7
web3signer: fixes for e2e ( #10281 )
...
* fixing logs and caught bug in mappers
* Fix schema
* improving logging
* Update validator/keymanager/remote-web3signer/internal/client.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* adding logurus dependency
Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
2022-02-25 02:42:26 +00:00
terence tsao
2fb4ddcbe7
Engine API: add payload status handling and tests ( #10282 )
...
* Add status handling and tests
* Update client.go
* Fmt
* Update mock_engine_test.go
* Update client_test.go
2022-02-24 19:35:01 +00:00
Radosław Kapka
1c2e463a30
--api-timeout
flag (#10260 )
...
* `--api-timeout` flag
* simplify code
* review feedback
* better error handling
* better docs
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-24 18:01:37 +00:00
james-prysm
01e9125761
web3signer: url parsing bug ( #10278 )
...
* adding in fixes for url
* fixing gazelle
* fixing wrong keymanager kind
* adding required scheme to urls
* fixing another unit test
* removing unused file
* adding new commit to retrigger deepsource ci
2022-02-24 10:24:11 -06:00
terence tsao
02a088d93c
Add validate_merge_block
( #10273 )
...
* Add
* Update pow_block.go
* Update BUILD.bazel
* Update beacon-chain/blockchain/pow_block.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* feedbacks
* Feedbacks
* Fmt
* Update BUILD.bazel
* Update BUILD.bazel
* Update pow_block_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-23 22:41:11 +00:00
terence tsao
8cadb2ac6f
Update IsOptimistic
to always false ( #10276 )
...
* Update to always false
* Use epoch
* Update chain_info_test.go
* Update chain_info_test.go
2022-02-23 20:16:45 +00:00
Potuz
be722604f7
Fix logarithm of 2 ( #10275 )
...
* Fix logarithm of 2
* add regression test
* Update encoding/ssz/merkleize.go
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-02-23 12:44:04 +00:00
Raul Jordan
3bb2acfc7d
Update Web UI to v1.0.3 ( #10264 )
...
* update web UI version
* fixing format
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: James He <james@prysmaticlabs.com>
2022-02-22 18:26:15 +00:00
terence tsao
7719356b69
Add opt sync bool to IsOptimistic
( #10270 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-22 16:46:42 +00:00
Raul Jordan
75b9bdba7c
Small Comment Fix in Exchanging Transition Config ( #10271 )
2022-02-22 16:16:02 +00:00
Nishant Das
525c818672
Remove SSZ Cache ( #10256 )
...
* remove ssz cache
* gaz
* lint
* analyze more
* fix
2022-02-22 17:27:51 +08:00
terence tsao
a55fdf8949
Use type string for total_difficulty
( #10265 )
...
* Use string for difficulty
* fix go
* fix test
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-02-21 14:03:12 +00:00
Preston Van Loon
7f41b69281
Wrapper: Update block interface and reorganize fork logic ( #10267 )
...
* Add ssz.HashRoot interface composition to BeaconBlock interface, move fork specific logic into it's own files
* Remove needless underscore
2022-02-20 20:53:05 +00:00
Preston Van Loon
c5189a6862
Deduplicate TestProposer_ProposeBlock_OK ( #10266 )
...
* Deduplicate tests for TestProposer_ProposeBlock
* remove erroneous save of block
* ensure block root is returned
2022-02-19 22:52:03 +00:00
Leo Lara
b4b976c28b
Experimental prototype of Apple M1 processor support ( #10192 )
...
* Experimental prototype of Apple M1 processor support
* Enable Apple M1 compilation of herumi MCL by adding a precompiled library
* Renable nogo
* Fix by gazelle
* Update go.mod to reflect go 1.17.6 changes in WORKSPACE
* go mod tidy
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
2022-02-19 18:17:08 +00:00
Nishant Das
ced24892a5
Cleanup Powchain Service ( #10259 )
...
* add cleanup
* gaz
* Fix test build
2022-02-18 14:13:31 +00:00
terence tsao
49f989e342
Fix base fee endianness ( #10253 )
2022-02-16 17:48:55 +00:00
Leo Lara
3003f08770
Remove unnecessary target of third_party/herumi/bls.BUILD ( #10252 )
...
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-02-16 16:35:19 +00:00
terence tsao
0232b5f8f5
Regen pbs ( #10227 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-02-16 10:06:41 -06:00
terence tsao
90a15b2fbe
Handle PayloadStatus
UnmarshalJSON
nil cases ( #10249 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-16 01:24:50 +00:00
Raul Jordan
0f58c9a925
Exchange Transition Configuration for Engine API ( #10248 )
...
* transition proto
* gen pb
* builds
* impl transition config
* begin tests
* transition config messed up
* amend proto
* use str
* passing
* gaz
* config
* client test
* pb
* set to 0
* rem log
* gaz
2022-02-16 00:56:23 +00:00
terence tsao
6311cfd8ab
Fix payloadStatusJSON
fields ( #10246 )
...
* Use pointers
* Use pointers
* Use pointers
* Update json_marshal_unmarshal.go
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-15 23:26:58 +00:00
Radosław Kapka
6dcf47675b
E2E BellatrixE2EForkEpoch
constant ( #10240 )
...
* Add `BellatrixE2EForkEpoch` constant
* change epoch
* Config param
* revert e2e update
* disable linter
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-15 21:06:14 +00:00
terence tsao
72aa782849
PayloadStatus
reserve 0 enum (#10247 )
...
* Leave 0 as UNKNOWN
* Leave 0 as UNKNOWN
2022-02-15 20:32:39 +00:00
terence tsao
cc637bad4a
Fix ForkchoiceUpdatedResponse
json tag ( #10243 )
2022-02-15 15:49:36 +00:00
Potuz
f5719f8c8e
Fix updateCanonicalNodes ( #10241 )
...
* Fix updateCanonicalNodes
* fix logic
* terence's review
2022-02-14 21:30:26 +00:00
Rootul Patel
f550a964f5
Add path to Keystore ( #10152 )
...
* Add failing test
* Add path to keystore
* Assert encoded contains "path"
* Fix lint
Ran `bazel run //:gazelle -- fix`
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-02-14 09:57:15 -06:00
Radosław Kapka
c5c039fd6b
Unify GenesisValidator(s)Root
throughout the codebase ( #10230 )
...
* Unify `GenesisValidator(s)Root` throughout the codebase
* comments and literals
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2022-02-14 13:34:38 +00:00
Radosław Kapka
4d9947543f
Native state feature flag ( #10232 )
...
* add flag
* working version
* rename flag
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-14 12:33:02 +00:00
Michael Neuder
7370c42bae
Adding nil error check to connection status for ETH1 nodes ( #10186 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2022-02-14 10:21:45 +00:00
Radosław Kapka
3c76cc3af5
Return state interface from native state constructors ( #10208 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-02-14 17:51:22 +08:00
terence tsao
28af5bc601
Fix eth_getBlockByHash
call ( #10239 )
...
* Update client.go
* Update client_test.go
2022-02-13 16:33:11 +00:00