Nishant Das
a49bdcaa1f
fix it ( #13493 )
2024-01-20 16:15:38 +00:00
Ying Quan Tan
bfb648067b
Re-enable Slasher E2E Test ( #13420 )
...
* re-enable e2e slashing test #12415
* refactored slashing evaluator
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2024-01-19 04:44:27 +00:00
Nishant Das
5d3663ef8d
update lighthouse and tests ( #13470 )
2024-01-19 03:46:36 +00:00
Nishant Das
929e9ddf4c
enable it ( #13421 )
2024-01-05 05:23:22 +00:00
Nishant Das
d984210baa
fix it ( #13404 )
2024-01-03 13:54:18 +00:00
Nishant Das
88685bb3bd
Fix Up Builder Evaluator ( #13395 )
...
* fix it up
* fix evaluator
* fix evaluator again
* fix it
* gaz
2024-01-02 10:40:26 +00:00
Nishant Das
2319b7d4bd
increase params ( #13398 )
2024-01-02 10:19:59 +00:00
Nishant Das
eb713d1177
Refactor Network Config Into Main Config ( #13364 )
...
* change parameters to main config
* add more changes
* change to accepted format
* fix changes in config
* gaz
* fix test
* fix test again
2023-12-19 14:59:30 +00:00
Nishant Das
b45a6664be
Enable Deneb For E2E Scenario Tests ( #13317 )
...
* fix all cases
* update web3signer
* current progress
* fix it finally
* push it back to capella
* remove hard-coded forks
* fix failing tests
* gaz
* fix dumb bug
* fix bad test setup
* change back
2023-12-16 11:37:44 +00:00
Justin Traglia
c56abfb840
Enable usestdlibvars linter and fix findings ( #13339 )
...
Co-authored-by: terence <terence@prysmaticlabs.com>
2023-12-15 19:21:54 +00:00
Justin Traglia
4a374435c0
Enable errname linter and fix findings ( #13341 )
2023-12-15 03:26:48 +00:00
Radosław Kapka
175c484c44
Uncomment e2e flakiness ( #13326 )
2023-12-13 12:50:13 +00:00
Radosław Kapka
bdfa06ed65
Simplify post-evaluation in Beacon API evaluator ( #13309 )
...
* Simplify post-evaluation in Beacon API evaluator
* revert slottime
* remove unused error
2023-12-09 07:54:31 +00:00
Radosław Kapka
4c47756aed
HTTP endpoints cleanup ( #13251 )
...
* remove validation package
* structs cleanup
* merge with apimiddleware removal
* more validation and Bls capitalization
* builder test fix
* use strconv for uint->str conversions
* use DecodeHexWithLength
* use exact param names
* rename http package to httputil
* change conversions to fmt.Sprintf
* handle query paramsd and route variables
* spans and receiver name
* split structs, move bytes helper
* missing ok check
* fix reference to indexed failure
* errors fixup
* add godoc to helper
* fix BLS casing and chainhead ref
* review
* fix import in tests
* gzl
2023-12-08 20:37:20 +00:00
Nishant Das
440841d565
only run it in the middle of an epoch ( #13303 )
2023-12-08 15:14:01 +00:00
Preston Van Loon
ff99616833
Fix staticcheck violations ( #13301 )
...
* Fix violations of sa2002
* Fix violations of sa4005
* Fix violations of sa4010
* Fix violations for sa4023
* Comment on commented static checks
2023-12-08 13:07:52 +00:00
Nishant Das
590317553c
Support New Subnet Backbone ( #13179 )
...
* add in changes
* fix it up
* fix test
* gaz
* lint
* add back
* fix tests
* fix it
* fix tests
* add lib
* fix it
2023-12-08 04:07:48 +00:00
Radosław Kapka
f41e603e5a
Simplify Beacon API evaluator ( #13265 )
...
* Simplify Beacon API evaluator
* remove comment
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-12-06 14:54:33 +00:00
Nishant Das
cb465086e8
Fix Optimistic Sync Evaluator ( #13262 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-12-06 13:41:47 +00:00
james-prysm
394bd1786a
HTTP validator API: beacon and account endpoints ( #13191 )
...
* fixing squashing changes, migrates beacon , account, and auth endpoints on validator client
* adding accounts endpoints
* fixing tests and query endpoints
* adding auth endpoint and fixing unit tests
* removing unused files and updating node file to skip gRPC
* ineffectual assignment fix
* rolling back a change to fix e2e
* fixing issues with ui
* updating with webui version 2.0.5
* updating package name flag in readme
* removing restore assets functions
* adding nomemcopy flag to see if vulenerability scan passes
* making data non compressed to avoid copy vulnerability
* Update beacon-chain/rpc/eth/shared/structs_validator.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* updating site_data, and skipping static analysis on file
* adding back deprecation comment notice
* updating workflows to ignore generated
* addressing radek comments
* missed a conversion
---------
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-12-01 20:40:09 +00:00
Radosław Kapka
e4a5711c8f
Redesign of Beacon API evaluator ( #13229 )
...
* redesign
* ssz
* small fixes
* capitalize json and ssz
* rename and split files
* clearer names and comments
* bazel fix
* one more simplification
2023-11-30 16:53:51 +00:00
Nishant Das
d8b38cf230
Drop Transaction Count for Transaction Generator ( #13228 )
...
* reduce
* comment
2023-11-30 10:55:18 +00:00
Radosław Kapka
6a638bd148
HTTP handler for Beacon API events ( #13207 )
...
* in progress
* implementation done
* bzl
* fixes
* tests in progress
* tests
* go mod tidy
* Update beacon-chain/rpc/eth/events/events.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* fix config test
* fix unreachable code issue
* remove proto service dir
* test fix
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-11-28 23:20:02 +00:00
Radosław Kapka
098d6a3c0b
Handle non-JSON responses from Beacon API ( #13213 )
...
* Run Beacon API evaluator at slot 3
* Revert "Auxiliary commit to revert individual files from f80b444688ed1acb267ee8bf00ba602d1f890cc7"
This reverts commit 0d3d7a4113533ac0516efe12d09cc3b9d78793f1.
2023-11-24 23:30:21 +00:00
Radosław Kapka
28aa11c976
Config HTTP endpoints ( #13168 )
...
* Config HTTP endpoints
* error on unsupported type
* type assertion
2023-11-13 23:38:23 +00:00
Radosław Kapka
0946b5853f
Pool slashings HTTP endpoints ( #13148 )
...
* Pool slashings HTTP endpoints
* e2e fix
* commit
* remove pb files
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-13 17:22:39 +00:00
Nishant Das
1530d17977
Fix Withdrawals ( #13181 )
...
* fix withdrawals
* disable it
2023-11-09 13:50:57 +00:00
Nishant Das
4a515c36e6
Deneb E2E ( #13040 )
...
* save changes
* add dep
* add changes
* add latest changes
* push changes
* hack it for mainnet
* fix deps
* update it
* add changes
* fix e2e
* revert it
* gaz
* remove log
* preston's review
* clear up
* add more logs
* fix nonce gaps
* make it better
* fix blobs
* set value
* add support for deneb scenario paths
* update to fix scenario
* go mod
* clean up
* fix up
* reduce cog complexity
* lint
* remove
* go sec
* Update testing/endtoend/evaluators/fork.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update proto/ssz_proto_library.bzl
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* fix
* radek's review
* make it atomic
* gaz
* add deneb case
* remove deneb activation
* change e2e yaml
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-11-08 12:24:23 +00:00
Radosław Kapka
d1dd8471a3
Debug HTTP endpoints ( #13164 )
...
* Debug HTTP endpoints
* register endpoints
* tests
* small fixes
* config test fix
2023-11-03 15:33:46 +00:00
Radosław Kapka
2ef0b3526d
Fix block proposals in the REST validator client ( #13116 )
...
* Fix block proposals in the REST validator client
* fix graffiti test
* return empty graffiti
* fallback to old endpoints
* logs
* handle 404
* everything passes
* review from James
* log undecoded value
* test fixes and additions
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 18:15:45 +00:00
Radosław Kapka
b441f20e6a
Remove /node/peers/{peer_id}
from Beacon API evaluator ( #13138 )
2023-10-30 14:21:07 +00:00
Radosław Kapka
022ee17af9
Better Beacon API evaluator part 1 ( #13084 )
...
* Better Beacon API evaluator part 1
* rename package
* more endpoints
* rename package back
* more endpoints
* small improvements
* remove the need for `params`
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2023-10-27 11:57:49 +00:00
Radosław Kapka
5a01eecc50
HTTP state endpoints ( #13099 )
...
* slowly plowing through
* implementation ready
* wrong epoch particip
* fix epoch participation
* tests
* fix e2e
* error handling in tests
* review from James
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-10-25 18:12:58 +00:00
terencechain
76fec1799e
Replace Empty Slice Literals with Nil Slices ( #13093 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-23 16:36:11 +00:00
Nishant Das
beebb56c8e
Fix Builder Testing For Multiclient Runs ( #13091 )
2023-10-23 06:33:46 +00:00
terencechain
9387a36b66
Refactor Exported Names to Follow Golang Best Practices ( #13075 )
...
* Fix exported names that start with a package name
* A few more renames
* Fix exported names that start with a package name
* A few more renames
* Radek's feedback
* Fix conflict
* fix keymanager test
* Fix comments
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-20 16:45:33 +00:00
Radosław Kapka
6e0715e92a
HTTP Beacon APIs for blocks ( #13048 )
...
* handlers
* blinded block handlers and protos
* revert SSZ and register endpoints
* remove vars
* e2e
* handler for v1 endpoint
* tests
* register GetBlock
* disable security linter
* remove unused structs
* more review comments
2023-10-18 15:09:38 +00:00
james-prysm
493a7179d7
Deneb - web3signer ( #12767 )
...
* wip
* adding deneb block
* adding in support for blobs and fixing unit tests for deneb
* fixing linting
* gaz
* adding support for new web3signer version
* fixing tag name
* addressing feedback
* fixing tests
* adding unit test for review
* updating test name
* updating unit tests and length logic
* adding in lengthfor root
* adjusting max blob length
* fixing mock
* fixing another mock
* gaz
* adding network configs
* removing duplicate
* changing based on nishant's feedback
* Update validator/keymanager/remote-web3signer/v1/requests.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/keymanager/remote-web3signer/metrics.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* sammy's suggestions
* removing temp file
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-16 18:06:36 +00:00
Radosław Kapka
b57effd096
HTTP Beacon APIs: 3 state endpoints ( #13001 )
...
* HTTP Beacon APIs: 3 state endpoints
* remove API middleware e2e evaluator
* remove evaluator registrations
* review feedback
* compilation fix
2023-10-12 17:53:33 +00:00
Radosław Kapka
a536612c39
HTTP Beacon APIs for node ( #13010 )
2023-10-11 22:18:49 +02:00
james-prysm
55e4c6e1db
HTTP API: /eth/v1/beacon/pool/bls_to_execution_changes
( #12963 )
...
* wip
* wip changes for beacon handlers
* wip
* updating protos
* fixing conflict
* fixing protos
* fixing more tests
* migrating tests and removing one that is irrelevant
* fixing e2e
* fixing unit tests
* missed adding routes
* gaz
* fixing more tests
* Update beacon-chain/rpc/eth/beacon/handlers_pool.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/shared/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* radek's comments
* fixing protos after conflict
* accidently removed a proto type
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-11 14:08:06 +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
Nishant Das
734eb98941
Fix Long Running E2E ( #13000 )
2023-10-05 14:37:11 +00:00
Radosław Kapka
7454041356
Use middleware to handle comma-separated query params ( #12995 )
2023-10-04 15:49:42 +02:00
Potuz
b4e72f1e19
Deneb spectests release v1.4.0-beta.2-hotfix ( #12959 )
...
* Update and use max per epoch churn limit
* Update spec tests
* Fix e2e test
* deneb fork epoch condition
* Fix lint and better casting
* fix ordering
* fix check
* gaz
* Fix more tests
* Apply proposer boost to first block in equivocation
* Increase timeout
* Don't increase timeout, it's not the reason
* implement deneb forkchoice spectests
expose ReceiveBlob from the blockchain package
* spin_off_helper
* remove minimal tests
* Terence's review
* Add process register test for Deneb
* Terence's suggestion
Co-authored-by: terencechain <terence@prysmaticlabs.com>
* fix forkchoice minimal
* fix minimal sha
* general sha
* different repos
* different repos
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: nisdas <nishdas93@gmail.com>
2023-09-28 21:05:23 +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
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
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
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