Preston Van Loon
f7eddedd1d
update geth v1.15.9 ( #15216 )
...
* Update go-ethereum to v1.15.9
* Fix go-ethereum secp256k1 build after https://github.com/ethereum/go-ethereum/pull/31242
* Fix Ping API change
* Changelog fragment
2025-04-25 12:40:19 +00:00
kira
7887ebbc4a
Broadcast Proposer Slashing on equivocation ( #14693 )
...
* Add equivocation detection logic; broadcast slashing immediately on equivocation
* nit: comments
* move equivocation detection to validateBeaconBlockPubSub
* include broadcasting logic within the helper function
* fix lint
* Add unit tests for equivocation detection
* remove comment that are not required
* Add changelog file
* Add descriptive comment for detectAndBroadcastEquivocation
* use head block instead of block cache for equivocation detection
* add more equivocation unit tests; update a mock to include HeadState error
* update the order of the checks
* move slashing before state fetch; update Tests
* update changelog
* use verifyProposerSlashing to verify and reject block; remove verifySlashableBlock; update tests
* Update changelog
* nit: cleaner error check
* nit: clean up
* revert code logic; update string check; add a unit test
* improve errors; merge tests
* Update a unit test
* fix lint
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-24 20:27:34 +00:00
Nishant Das
1b13520270
Fix Unmarshalling of BlobSidecarsByRoot Requests ( #15209 )
...
* Handle Electra Lists
* Changelog
2025-04-23 14:04:46 +00:00
Tronica
0936628b72
refactor(sync): rename reValidateSubscriptions to pruneSubscriptions ( #15160 )
...
* Update subscriber.go
* Update subscriber_test.go
* Create pronoss_refactor_subscriber_rename.md
* Update pronoss_refactor_subscriber_rename.md
* Update pronoss_refactor_subscriber_rename.md
* Update pronoss_refactor_subscriber_rename.md
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-22 13:26:57 +00:00
Nishant Das
478ae81ed1
Update Insecure Dependencies ( #15204 )
2025-04-22 09:10:03 +00:00
Nishant Das
93276150e7
Fix Generated SSZ Files ( #15199 )
...
* Regenerate Files
* Changelog
2025-04-22 04:52:27 +00:00
Preston Van Loon
83460c9956
Changelog v6 ( #15203 )
...
* Run unclog for v6.0.0
* Add changelog note for v6 release
* Changelog fragment
2025-04-22 01:03:42 +00:00
Bastin
d30bb63d94
Add lc p2p broadcaster functions ( #15175 )
...
* add lc boradcasters
* gazelle
* changelog entry
* remove subnet
* implement and use IsNil()
* address comments
* Apply suggestions from code review
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* address comments
* address comments
* deps
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-18 12:28:12 +00:00
Manu NALEPA
ab5505e13e
Implement all needed KZG wrappers for peerDAS in the kzg package. ( #15186 )
...
* Implement all needed KZG wrappers for peerDAS in the `kzg` package.
This way, If we need to change the KZG backend, the only package to
modify is the `kzg` package.
* `.bazelrc`: Add `build --compilation_mode=opt`
* Remove --compilation_mode=opt, use supranational blst headers.
* Fix Terence's comment.
* Fix Terence`s comments.
---------
Co-authored-by: Preston Van Loon <preston@pvl.dev >
2025-04-17 22:43:41 +00:00
james-prysm
9c00b06966
fix expected withdrawals ( #15191 )
...
* fixed underflow with expected withdrawals
* update comment
* Revert "update comment"
This reverts commit e07da541ac .
* attempting to fix comment indents
* fixing another missed tab in comments
* trying tabs one more time for fixing tabs
* adding undeflow safety
* fixing error typo
* missed wrapping the error
2025-04-17 18:17:53 +00:00
Manu NALEPA
167f719860
Upgrade to fulu: Fix and add spectests ( #15190 )
...
* `UpgradeToFulu`: Fix.
* `UpgradeToFulu`: Add spectests.
2025-04-17 14:13:32 +00:00
mmsqe
d4469d17b7
Problem: nondeterministic default fork value when generate genesis ( #15151 )
...
* Problem: nondeterministic default fork value when generate genesis
add sort versions
* add doc
* Apply suggestions from code review
* lint
---------
Co-authored-by: Bastin <43618253+Inspector-Butters@users.noreply.github.com >
2025-04-16 16:33:48 +00:00
kasey
8418157f8a
improve peer scoring code in range sync ( #15173 )
...
* separate block/blob peer scoring
* Preston's test coverage feedback
* test to ensure we don't combine distinct errors
---------
Co-authored-by: Kasey <kasey@users.noreply.github.com >
2025-04-16 13:47:58 +00:00
Bastin
e4acab4187
Refactor lc handlers tests ( #15177 )
...
* refactor tests
* gazelle
* Update beacon-chain/rpc/eth/light-client/handlers_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update beacon-chain/rpc/eth/light-client/handlers_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* remove space
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-15 17:54:55 +00:00
Bastin
b99399c1f1
Read lc updates from LCStore in RPC ( #15172 )
...
* add lcstore to rpc config and lc server
* read updates from store
* remove unused func
* optimistic tests
* finality tests
* changelog entry
* Update changelog/bastin_read-updates-from-store-in-rpc.md
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* pass lcstore to rpc service
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-15 15:06:49 +00:00
Bastin
c9e8701987
Save LC Finality and Optimistic Updates in LC Store When Processing Block ( #15124 )
...
* add lcStore to Node
* changelog entry
* add atomic getters and setters for the store
* add lcstore to the blockchain package
* save lc finality update to store
* save lc optimistic update to store
* changelog entry
* change store fields visibility to private
* refactor method names and add tests
* add lcstore to the blockchain package
* save lc finality update to store
* save lc optimistic update to store
* changelog entry
* refactor method names
* setup tests
* remove get from getters
* add lcstore to the blockchain package
* save lc finality update to store
* save lc optimistic update to store
* changelog entry
* refactor method names
* setup tests
* rename methods
* temp
* temp
* add tests
* fixing tests
* stash
* refactor setUpAltair
* remove debug code
* refactor bellatrix setup
* refactor capella setup
* refactor rest - core tests remain
* refactor tests to use new functional options utils
* use the options
* add noFinalizedCheckpoint and finalizedCheckpointInPrevFork options
* add tests
* changelog entry
* refactor tests
* deps
* fix tests
* Update testing/util/lightclient.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update testing/util/lightclient.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update testing/util/lightclient.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* address comments
* address comments
* address comments
* go mod tidy
* fix annoying conflicts
* go mod tidy
* fix conflicts
* cleanup tests
* add SetupTestConfigCleanup
* commit to restart CI checks
* address comments
* address comments
* address comments
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-15 10:38:20 +00:00
Preston Van Loon
215dbb8e40
Update docker URLs to gcr.io/offchainlabs ( #15171 )
...
* Update docker URLs to gcr.io/offchainlabs and remove unused script
* Changelog fragment
2025-04-14 20:15:24 +00:00
Radosław Kapka
6180b5a560
Guard against no attesters within committee in VerifyAttestationNoVerifySignature ( #15169 )
...
* Guard against no attesters within committee in `VerifyAttestationNoVerifySignature`
* changelog fragment
2025-04-14 14:46:38 +00:00
Bastin
cd87082f25
Refactor lc tests ( #15155 )
...
* refactor setUpAltair
* remove debug code
* refactor bellatrix setup
* refactor capella setup
* refactor rest - core tests remain
* refactor tests to use new functional options utils
* use the options
* add noFinalizedCheckpoint and finalizedCheckpointInPrevFork options
* add tests
* changelog entry
* refactor tests
* deps
* Update testing/util/lightclient.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update testing/util/lightclient.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update testing/util/lightclient.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* address comments
* address comments
* address comments
* go mod tidy
* fix annoying conflicts
* go mod tidy
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-14 10:57:31 +00:00
Potuz
bab898d1d3
Use dependent root to request duties ( #15142 )
...
* Use dependent root to request duties
* Add actual roots to the event stream
* Add feature flag
* fix no go
* fix test
* add test
* log duties changes on reorgs
* send depdendent root on grpc response
* fix wrong return status in tests
* fix tests
* gazelle
* add unil wait for wg
* parse slot twice
* add slot deadline to update duties
* fix conflict
* add dependency
* lint
* Thanks James!
* fix segfault
* fix rpc tests
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com >
2025-04-11 21:22:57 +00:00
james-prysm
5a527a15c8
Electra attestation api guard ( #15161 )
...
* adding in guard and tests
* adding in review from slack
* reverting error wrapping
* fixing tests
* fixing more tests
* removing defer cleanups
* Update beacon-chain/rpc/eth/validator/handlers_test.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com >
* Update beacon-chain/rpc/eth/beacon/handlers_pool.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com >
* fixing test and adding some coverage for validator_test.go for function
* gaz
* adding happy path test
* fixing buildkite removing test helper dependency
* fixing tests
* gaz
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com >
v6.0.0-rc.0
2025-04-11 14:33:32 +00:00
Radosław Kapka
ef20c45b1e
Removed Beacon API endpoints which have been deprecated at the Deneb fork ( #15166 )
...
* Removed Beacon API endpoints which have been deprecated at the Deneb fork
* fix linter
2025-04-11 14:33:06 +00:00
Radosław Kapka
e6e03c8ac9
Remove deprecated flags ( #15165 )
...
* Remove deprecated flags
* changelog <3
* unblock Github actions
2025-04-11 13:38:49 +00:00
terence
679a0c9ec2
Add support for electra fork epoch ( #15132 )
...
* Add support for electra fork epoch
* Fix tests
* fixing tests without needing to override electra fork config
* reverting electra fork override on blob test too, replacing with custom timefetcher
* reverting old changelog
* Fix genesis time
* Move mainnet test into mainnet_config_test.go
* Update spec test to v1.5.0-beta.5
---------
Co-authored-by: james-prysm <james@prysmaticlabs.com >
Co-authored-by: Preston Van Loon <preston@pvl.dev >
2025-04-11 02:01:35 +00:00
kasey
e47a4e1d56
Penalize peers for bad rpc data in range sync ( #15149 )
...
* Penalize peers for bad rpc data in range sync
* gofmt
---------
Co-authored-by: Kasey <kasey@users.noreply.github.com >
2025-04-10 21:19:08 +00:00
mmsqe
ac0ea13dbe
Problem: no prysmctl option in wrapper script to generate devnet ssz ( #15145 )
...
* Problem: no prysmctl option in wrapper script to generate devnet ssz
* add doc
2025-04-10 20:59:38 +00:00
Radosław Kapka
b0614fe137
Remove disable-committee-aware-packing flag ( #15162 )
...
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com >
2025-04-10 19:48:16 +00:00
terence
774b9a7159
Migrate Prysm repo to Offchain Labs organization ahead of Pectra V6 ( #15140 )
...
* Migrate Prysm repo to Offchain Labs organization ahead of Pectra upgrade v6
* Replace prysmaticlabs with OffchainLabs on general markdowns
* Update mock
* Gazelle and add mock.go to excluded generated mock file
2025-04-10 15:40:39 +00:00
Radosław Kapka
9d1750ce86
Deprecate everything related with the gRPC API ( #14944 )
...
* proto definitions
* server methods
* grpc validator
* server structs
* functions, types, fields etc
* changelog <3
* revert `buildBlockParallel`
* format fix
* better deprecation warning
* remove comment from unexported fields
* only keep comment in public-facing items
2025-04-10 15:21:49 +00:00
terence
ff6e27c737
Remove unused hack script ( #15157 )
2025-04-10 13:40:29 +00:00
terence
e20420aa87
Mainnet config copies by default ( #15159 )
2025-04-10 12:59:55 +00:00
Radosław Kapka
da12ea57c7
Fix filtering by committee index post-Electra in ListAttestationsV2 ( #15148 )
2025-04-08 19:41:45 +00:00
Nishant Das
81019ef173
Fix Committee Index Check For Electra Aggregates ( #15146 )
...
* fix it
* changelog
2025-04-08 15:30:57 +00:00
Potuz
92cf0bc0ab
Use forkchoice dependent root helper ( #15137 )
2025-04-07 18:02:27 +00:00
james-prysm
9a79f49514
Remove old web3signer metrics: v6 ( #14920 )
...
* removing repeated fork specific metrics for a universal one
* changelog
2025-04-07 17:02:54 +00:00
Potuz
0d7d9bd5fc
Forkchoice helper for dependent root ( #15136 )
...
* Forkchoice helper for dependent root
* James' suggestion
2025-04-07 14:42:39 +00:00
Nishant Das
a6052efefb
Fix Operations Length Check For Attestations ( #15134 )
...
* fix check for electra
* changelog
2025-04-06 22:35:12 +00:00
Bastin
fa5d2a88ce
Fix LC test utils problem ( #15133 )
...
* fix problem with MinSyncCommitteeParticipants
* fix usages
* changelog entry
2025-04-04 16:30:55 +00:00
james-prysm
ff02661229
fixes health tracker usage ( #15126 )
...
* fixing health interface
* reran mockgen
* breaking out mock into its own file so it's visible elsewhere
* lint
* gaz
2025-04-04 15:27:59 +00:00
Bastin
09309ab1f2
Refactor LC Test Utils ( #15131 )
...
* refactor test utils
* refactor test utils
* rename parameter
2025-04-04 11:35:21 +00:00
Bastin
cb9621702e
Add LC Store to BeaconNode ( #15120 )
...
* add lcStore to Node
* changelog entry
* add atomic getters and setters for the store
* change store fields visibility to private
* refactor method names and add tests
* remove get from getters
2025-04-04 10:06:15 +00:00
Nishant Das
efba931610
Handle Pending Balance Bug ( #15123 )
...
* Fix Getter and Add regression test
* changelog
2025-04-04 04:00:07 +00:00
james-prysm
4a1c627f6f
migrates some helper functions from beacon API to apiutil ( #15125 )
...
* migration and changelog
* missed valid root
* removing unneeded test, more optimization
* adding strict dependency
* linting
* fixing 1 more test
* bastin's suggestion
2025-04-03 19:48:26 +00:00
Nishant Das
0c2464c497
Handle Consolidation Processing Edge Case ( #15122 )
...
* Clean it up
* Add regression test case
* changelog
2025-04-03 16:07:33 +00:00
james-prysm
2cfc204e9a
removed redundant mock validator and replaced with test util one ( #15111 )
2025-04-02 21:17:20 +00:00
Nishant Das
877d9ee948
Revert Execution Requests in E2E ( #15119 )
...
* Revert "Disable Execution Request Testing On Mainnet (#15115 )"
This reverts commit 70c31949ba .
* Revert "Trigger Execution Requests In E2E (#14971 )"
This reverts commit e38fdb09a4 .
* Changelog
2025-04-02 16:12:35 +00:00
Kaloyan Tanev
785fefa3f1
Do not cache slot committee aggregations for DVs ( #15110 )
...
* Do not cache slot committee for DV agggregations
* Add changelog
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-02 15:54:47 +00:00
kevincatty
0c22d91a55
fix: remove duplicate WithBlobStorage in options initialization ( #15036 )
...
Signed-off-by: kevincatty <zhanshanmao@outlook.com >
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-02 15:25:00 +00:00
NikolaiKryshnev
fb60456116
Improved README structure and visual presentation ( #14860 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-02 15:23:10 +00:00
jinjiadu
be56711892
fix: fix slice init length ( #14407 )
...
Signed-off-by: jinjiadu <jinjiadu@aliyun.com >
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-04-02 15:21:26 +00:00