james-prysm
64cbaec326
fixing attester slashing v2 endpoint ( #15291 )
2025-05-15 14:03:35 +00:00
james-prysm
63a0641957
fixing wrong pending consolidations handler for api ( #15290 )
2025-05-15 13:13:56 +00:00
Nishant Das
2737ace5a8
Disable Deposit Log processing after Deposit Requests are Activated ( #15274 )
...
* Disable Log Processing
* Changelog
* Kasey's review
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
2025-05-14 18:23:45 +00:00
Preston Van Loon
9e3d73c1c2
Changelog v6.0.1 ( #15269 )
...
* Run unclog for v6.0.1
* Changelog narrative
* Changelog fragment
2025-05-14 15:14:09 +00:00
terence
325ec97355
Add fulu spec tets for ssz static ( #15279 )
2025-05-14 14:00:38 +00:00
Preston Van Loon
eea53eb6dc
tracing: Add spans to various methods related to GetDuties ( #15271 )
...
* Adding spans for troubleshooting GetDuties latency
* Changelog fragment
2025-05-13 21:50:12 +00:00
Preston Van Loon
6f9a93ac89
spectests: Fix sha256 ( #15278 )
...
* spectests: Fix sha256
* Changelog fragment
2025-05-13 19:01:20 +00:00
terence
93a5fdd8f3
Remove unused variables, functions and more ( #15264 )
2025-05-12 13:25:26 +00:00
Potuz
0251fd78e9
Remove unused fieldparams ( #15263 )
...
Fixes #15262
2025-05-11 13:08:59 +00:00
terence
b4a66a0993
Increase sepolia gas limit to 60m ( #15253 )
v6.0.2-rc.0
v6.0.2
2025-05-08 16:30:50 +00:00
Preston Van Loon
d38064f181
Add tracing spans to GetDuties ( #15258 )
...
* Add additional spans for tracing GetDuties
* Changelog fragment
2025-05-08 14:50:02 +00:00
Nishant Das
7f89bb3c6f
Increase Limit For Rebuilding Field Trie ( #15252 )
...
* Increase Limit
* Fix Test
2025-05-08 04:42:30 +00:00
terence
a69c033e35
Update spec tests to v1.5.0 ( #15256 )
2025-05-07 22:38:39 +00:00
james-prysm
35151c7bc8
deduplicating rest propose block ( #15147 )
...
* deduplicating rest propose block
* gaz
* linting
* gaz and linting
* remove unneeded import"
"
* gofmt
2025-05-07 18:09:22 +00:00
Potuz
c07479b99a
remove error return from HistoricalRoots ( #15255 )
...
* remove error return from HistoricalRoots
* Radek's review
2025-05-07 16:06:30 +00:00
james-prysm
0d3b7f0ade
fixing alias ( #15254 )
2025-05-07 15:37:46 +00:00
Potuz
dd9a5fba59
Force duties update on received blocks. ( #15251 )
...
* Force duties update on received blocks.
- Change the context on UpdateDuties to be passed by the calling
function.
- Change the context passed to UpdateDuties to not be dependent on a
slot context.
- Change the deadlines to be forced to be an entire epoch.
- Force duties to be initialized when receiving a HeadEvent if they
aren't already.
- Adds a read lock on the event handling
* review
* Add deadlines at start and healthyagain
* cancel once
2025-05-07 00:49:22 +00:00
Manu NALEPA
7da7019a20
PeerDAS: Implement core. ( #15192 )
...
* Fulu: Implement params.
* KZG tests: Re-implement `getRandBlob` to avoid tests cyclical dependencies.
Not ideal, but any better idea welcome.
* Fulu testing util: Implement `GenerateCellsAndProofs`.
* Create `RODataColumn`.
* Implement `MerkleProofKZGCommitments`.
* Export `leavesFromCommitments`.
* Implement peerDAS core.
* Add changelog.
* Update beacon-chain/core/peerdas/das_core.go
Co-authored-by: terence <terence@prysmaticlabs.com >
* Fix Terence's comment: Use `IsNil`.
* Fix Terence's comment: Avoid useless `filteredIndices`.
* Fix Terence's comment: Simplify odd/even cases.
* Fix Terence's comment: Use `IsNil`.
* Spectests: Add Fulu networking
* Fix Terence's comment: `CustodyGroups`: Stick to the spec by returning a (sorted) slice.
* Fix Terence's comment: `CustodyGroups`: Handle correctly the `maxUint256` case.
* Update beacon-chain/core/peerdas/das_core.go
Co-authored-by: terence <terence@prysmaticlabs.com >
* Fix Terence's comment: `ComputeColumnsForCustodyGroup`: Add test if `custodyGroup == numberOfCustodyGroup`
* `CustodyGroups`: Test if `custodyGroupCount > numberOfCustodyGroup`.
* `CustodyGroups`: Add a shortcut if all custody groups are needed.
* `ComputeCystodyGroupForColumn`: Move from `p2p_interface.go` to `das_core.go`.
* Fix Terence's comment: Fix `ComputeCustodyGroupForColumn`.
* Fix Terence's comment: Remove `constructCellsAndProofs` function.
* Fix Terence's comment: `ValidatorsCustodyRequirement`: Use effective balance instead of balance.
* `MerkleProofKZGCommitments`: Add tests
* Remove peer sampling.
* `DataColumnSidecars`: Add missing tests.
* Fix Jame's comment.
* Fix James' comment.
* Fix James' comment.
* Fix James' coment.
* Fix James' comment.
---------
Co-authored-by: terence <terence@prysmaticlabs.com >
2025-05-06 21:37:07 +00:00
Leonardo Arias
24cf930952
Upgrade ristretto to v2.2.0 ( #15170 )
...
* Upgrade ristretto to v2.2.0
* Added the changelog
* gazelle
* Run goimports and gofmt
* Fix build
* Fix tests
* fix some golangci-lint violations
---------
Co-authored-by: Preston Van Loon <preston@pvl.dev >
2025-05-06 01:51:05 +00:00
Preston Van Loon
97a95dddfc
Use otelgrpc for tracing grpc server and client ( #15237 )
...
* Use otelgrpc for tracing grpc server and client.
* Changelog fragment
* gofmt
* Use context in prometheus service
* Remove async start of prometheus service
* Use random port to reduce the probability of concurrent tests using the same port
* Remove comment
* fix lint error
---------
Co-authored-by: Bastin <bastin.m@proton.me >
2025-05-05 18:46:33 +00:00
Bastin
6df476835c
Turn on lc gossip ( #15220 )
...
* add and pass lcstore to sync service
* validator for optimistic updates
* validator for finality updates
* subscribers
* gossip scorings
* tmp - add validation test
* optimistic update validation tests
* finality update validation tests
* tests for subscribers
* deps
* changelog entry
* play around with config cleanup
* turn on gossip
* add logs
* fix typo
* mock p2p
* deps
* better logs
* turn on gossip
* add logs
* fix typo
* 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
* mock p2p
* deps
* fix merge problems
* changelog entry
* Update broadcaster.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* Update broadcaster.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com >
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-05-05 11:36:36 +00:00
terence
204302a821
Update hoodie boot nodes ( #15240 )
v6.0.1-rc.3
v6.0.1
2025-05-01 21:49:46 +00:00
Potuz
8a22df902f
Check for nil duties on checkDependentRoots ( #15241 )
v6.0.1-rc.2
2025-05-01 19:16:55 +00:00
Potuz
5e3a5b877a
Remove slot from UpdateDuties ( #15223 )
...
* Remove slot from `UpdateDuties`
* Fix slot to epoch conversion
* Add gossip clock disparity
* do not use disparity
* check for nil duties
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com >
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
v6.0.1-rc.1
2025-04-29 18:25:09 +00:00
Bastin
b69c71d65a
Add LC p2p validators and subscribers ( #15214 )
...
* add and pass lcstore to sync service
* validator for optimistic updates
* validator for finality updates
* subscribers
* gossip scorings
* tmp - add validation test
* optimistic update validation tests
* finality update validation tests
* tests for subscribers
* deps
* changelog entry
* play around with config cleanup
* better logs
* better logs 2
* better logs 3
* address comments
* add comments
2025-04-29 14:07:17 +00:00
Manu NALEPA
1298dc3a46
PeerDAS: Add needed proto files and corresponding generated code. ( #15187 )
...
* PeerDAS: Add needed proto files and corresponding generated code.
* Fix Nishant's comment.
* `max_cell_proofs_length.size`: Set to `CELLS_PER_EXT_BLOB * MAX_BLOB_COMMITMENTS_PER_BLOCK`.
* `BlobsBundleV2`: Add comment.
2025-04-28 16:08:28 +00:00
Potuz
3c463d8171
Pass dependent roots in block events ( #15227 )
...
* Pass dependent roots in block events
* Check for empty roots
v6.0.1-rc.0
2025-04-28 00:00:48 +00:00
kasey
0a48fafc71
extend payload attribute deadline to proposal slot ( #15230 )
...
* extend payload attribute deadline to proposal slot
* Update beacon-chain/blockchain/execution_engine.go
Co-authored-by: Potuz <potuz@prysmaticlabs.com >
* Terence's feedback
* skip past proposal slots
* lint and skip events during init sync
* finagle test to not trigger old event error
* fix blockchain tests that panic without SyncChecker
---------
Co-authored-by: Kasey <kasey@users.noreply.github.com >
Co-authored-by: Potuz <potuz@prysmaticlabs.com >
2025-04-27 23:59:37 +00:00
terence
28cd59c9b7
Fix payload attribute proposer calculation ( #15228 )
...
Process slots if epoch is greater than head state epoch
2025-04-27 17:52:09 +00:00
james-prysm
efaf6649e7
Update grpc deprecation message ( #15222 )
...
* comment updates and changelog
* some missed comments
2025-04-25 19:50:34 +00:00
Potuz
a1c1edf285
Fix deadlines ( #15221 )
...
* Fix deadlines
* use current slot in update duties
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
2025-04-25 19:10:20 +00:00
Radosław Kapka
bde7a57ec9
Implement pending consolidations Beacon API endpoint ( #15219 )
...
* get block
* Implement pending consolidations API endpoint
* changelog
* fixing test
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
Co-authored-by: james-prysm <james@prysmaticlabs.com >
2025-04-25 18:27:58 +00:00
kasey
c223957751
include block in attr event and use stategen ( #15213 )
...
* include block in attr event and use stategen
* use no-copy state cache for proposal in same epoch
* only advance to the start of epoch
---------
Co-authored-by: Kasey <kasey@users.noreply.github.com >
2025-04-25 15:11:38 +00:00
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