terence
5ba91a5216
Add construct_generic_block_test
to build file ( #13195 )
...
* Add construct_generic_block_test test to build file
* Use the right require library
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-15 20:33:56 +00:00
james-prysm
4c381938e1
HTTP validator API: wallet endpoints ( #13171 )
...
* converting wallet calls to pure http
* fixing proto and gaz
* adding routes and fixing test
* fixing error handling
* fixing protos after conflict with develop
* adding deprecation notice
* fixing route test
* review feedback
* addressing more comments
* updating comment to be more clear
* fixing web_api proto
2023-11-15 19:40:14 +00:00
james-prysm
d4726f2866
HTTP Validator API: slashing protection import and export ( #13165 )
...
* adding migration for import and export slashing protection
* Update validator/rpc/handle_slashing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handle_slashing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handle_slashing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handle_slashing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing comments
* fixing unit test errors after view comments
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-11-15 17:35:22 +00:00
terence
4e3419e870
Enhance Validation for Block by Root RPC Requests ( #13184 )
...
* blk-by-root-check-root
* Account for gap
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-14 17:13:01 +00:00
terence
ac06362baf
Add a helper for max request block ( #13173 )
...
* Add a helper for max request block
* Add test
* Use deneb fork epoch from config
* Fix comment
2023-11-14 05:50:51 +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
798d5ec585
Remove default value of circuit breaker flags ( #13186 )
...
* Update default value of `max-builder-epoch-missed-slots`
* remove the default value
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-13 18:55:55 +00:00
Radosław Kapka
9b97f3fd92
Return 404 from eth/v1/beacon/headers
when there are no blocks ( #13185 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-13 18:06:26 +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
Potuz
e46f9c5631
KZG Commitment inclusion proof verifier ( #13174 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-08 19:04:21 +00:00
Preston Van Loon
3097601530
pgo: Enable pgo behind release flag ( #13158 )
...
* Revert a54e61ecb0
* Configure the use of pgo profiles behind the release config flag (--config=release)
2023-11-08 13:33:26 +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
Potuz
afaeff9d4c
Merkle Proofs of KZG commitments ( #13159 )
...
* Merkle Proofs of KZG commitments
* fix mock
* Implement Merkle proof spectests
* Check Proof construction in spectests
* fix Merkle proof generator
* Add unit test
* add ssz package unit tests
* add benchmark
* fix typo in comment
* ProposerSlashing was repeated
* Terence's review
* move to consensus_blocks
* use existing error
2023-11-06 08:49:35 -03:00
terence
f663f605d2
Add blob getters ( #13170 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-04 14:35:56 +00:00
Terence
12f7143c4f
Validator client: remove blob signing ( #13169 )
2023-11-03 12:10:15 -07:00
Radosław Kapka
1f250f7e89
Validator HTTP endpoints ( #13167 )
...
* HTTP validator endpoints
* Sammy's review
* capitalize errors
* test fix
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-03 16:59:04 +00:00
Sammy Rosso
0f65e51d1e
Blob filesystem: Save Blobs ( #13129 )
...
* Add Save blob and tests
* Remove locks
* Remove test cleanup
* Fix go mod
* Cleanup
* Add checksum
* Add file hashing to fileutil
* Move test
* Check data when exists
* Add one more test
* Rename
* Gaz
* Add packaged level comment
* Save full sidecar + reviews
* Use path builder in test
* Use other BlobSidecar
* Cleanup
* Fix gosec
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-03 16:24:30 +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
Terence
7a6487b746
Remove pending blobs queue ( #13166 )
2023-11-03 07:07:43 -07:00
Potuz
daa6d2e741
Implement Merkle proof spectests ( #13146 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-11-02 23:08:16 +00:00
Raul Jordan
8a743a6430
Update Terms of Service ( #13163 )
...
* tos updates
* fixes
2023-11-02 17:11:11 +00:00
james-prysm
c0fb16a96f
HTTP validator API: health endpoints ( #13149 )
...
* updating health endpoints
* updating tests
* updating tests
* moving where the header is written and adding allow origin header
* removing header
* Update validator/rpc/handlers_health.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handlers_health.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handlers_health.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* radek's comments
* Update handlers_health.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* adding the correct errors to handle error
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-11-02 15:51:21 +00:00
Terence
57eda1de63
Add RO blob sidecar ( #13144 )
2023-11-01 10:03:49 -07:00
Preston Van Loon
a54e61ecb0
pgo: remove default pprof profile ( #13150 )
2023-10-31 21:43:41 +00:00
james-prysm
27b4e32e1c
HTTP Validator API: /eth/v1/keystores
( #13113 )
...
* WIP
* fixing tests
* fixing bazel
* fixing api client
* fixing tests
* fixing more tests and bazel
* fixing trace and more bazel issues
* fixing router path function definitions
* fixing more tests and deep source issues
* adding delete test
* if a route is provided, reregister before the catch all on the middleware.
* fixing linting
* fixing deepsource complaint
* gaz
* more deepsource issues
* fixing missed err check
* changing how routes are registered
* radek reviews
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* fixing unit test after sammy's review
* adding radek's comments
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
2023-10-31 16:33:54 +00:00
Nishant Das
b56bf00682
Fix Pending Queue Deadline Bug ( #13145 )
...
* rearrange deadline
* naming
2023-10-31 06:40:41 +00:00
Preston Van Loon
b24b60dbd8
zig: Update zig to recent main branch commit ( #13142 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 23:48:45 +00:00
Potuz
dc9d34b41b
fix head slot in log ( #13139 )
2023-10-30 16:56:20 -03: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
Sammy Rosso
047613069e
Rename Blob retention epoch flag ( #13124 )
...
* Rename flag and add alias
* Update cmd/beacon-chain/flags/base.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* Fix sentence
* Fix TestConfigureBlobRetentionEpoch
* Fix silly mistake
* Reviews
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2023-10-30 17:35:31 +00:00
Justin Traglia
159a5dd69d
Check that blobs count is correct when unblinding ( #13118 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-30 16:49:32 +01:00
hyunchel
470ea6d717
Remove no-op cancel func ( #13069 )
...
This cancel function is currently a no-op due to the blank identifier.
One might argue that the cancel func should be restored from no-op by
replacing the blank identifier with the proper variable. When the parent
context is cancelled, however, all the functions down the call tree with
the context will be notified of the cancellation anyway. Removing the
cancel function would not change any outcome under the current
implementation.
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-30 14:43:25 +00:00
Radosław Kapka
b441f20e6a
Remove /node/peers/{peer_id}
from Beacon API evaluator ( #13138 )
2023-10-30 14:21:07 +00:00
Potuz
2ea5bff9c0
Log when sending FCU with payload attributes ( #13137 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 12:30:20 +00:00
terencechain
c2433ff854
Update spectest and changed minimal preset for field elements ( #13090 )
...
* update trusted setup
* update dependencies
* Update workspace
---------
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 11:41:58 +00:00
Preston Van Loon
82640b3d88
Enable profile guided optimization for beacon-chain ( #13035 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-30 05:52:36 +00:00
Radosław Kapka
f925aded66
Allow unknown fields in Beacon API responses ( #13131 )
2023-10-27 16:47:50 +00: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
56c65b8527
Return Error Gracefully When Removing 4881 Flag ( #13096 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-27 13:24:43 +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
terencechain
203dc5f63b
Check blob index duplication for blob notifier ( #13123 )
...
* Check blob index duplication for blob notifier
* Better locks and test
* Better locks and test
* Kasey's feedback
* Fix init
2023-10-27 03:26:34 +00:00
Stefan
6f941b8138
fix segmentation fork when Capella for epoch is MaxUint64 ( #13126 )
...
* fix segmentation fork when Capella for epoch is MaxUint64
fix segmentation
fix segmentation
* Update cmd/prysmctl/testnet/generate_genesis.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update cmd/prysmctl/testnet/generate_genesis.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
---------
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2023-10-27 00:46:08 +00:00
dependabot[bot]
ac412259eb
Bump google.golang.org/grpc from 1.53.0 to 1.56.3 ( #13119 )
...
* Bump google.golang.org/grpc from 1.53.0 to 1.56.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.53.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* gazelle
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-26 16:54:57 +00:00
Radosław Kapka
3d78a52980
Fill state attestations ( #13121 )
2023-10-26 15:35:01 +00:00
Preston Van Loon
5de8ec4600
Update go to 1.20.10 ( #13120 )
2023-10-26 02:31:12 +00:00
Preston Van Loon
7e88eefc60
Add zero length check on indices during NextSyncCommitteeIndices ( #13117 )
...
* Add zero length check on indices during NextSyncCommitteeIndices computation. Fixes #13051
* Move the error further up the stack
* Fix TestSubmitAggregateAndProof_IsAggregatorAndNoAtts
* Delete TestServer_ListAssignments_NoResults. That is an impossible scenario that now returns an error
2023-10-25 21:42:17 +00:00
terencechain
cabf3476e7
Add context deadline for pending queue's receive block ( #13114 )
...
* Add context dead like for pending queue's receive block
* Use timeout
2023-10-25 19:40:17 +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
b608c9f711
Log blob's kzg commmitment at sync ( #13111 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-25 16:27:19 +00:00