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
kasey
96f1ebf706
more efficient ancestry db queries, stategen ( #15063 )
...
Co-authored-by: Kasey <kasey@users.noreply.github.com >
2025-04-01 20:16:58 +00:00
John
bdb12c7d2f
fix: use io.ReadFull instead of stream.Read ( #15089 )
2025-04-01 19:23:04 +00:00
LesCyber
83cf0f8658
refactor: use errors.New to replace fmt.Errorf with no parameters ( #15007 )
...
Signed-off-by: LesCyber <andi4cing@gmail.com >
2025-04-01 19:03:16 +00:00
VolodymyrBg
762594a368
feat(proposer): add gas limit range warnings ( #15078 )
...
* feat(proposer): add gas limit range warnings
* Update config/proposer/loader/loader.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
* Update config/proposer/loader/loader.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
* Create volodymyrbg_gas_limit_warnings.md
---------
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com >
2025-04-01 19:00:21 +00:00
kilavvy
c1fc812a38
Fix typos in test code ( #14991 )
...
* Update keymanager_test.go
* Update fork_test.go
* Update README.md
* Update README.md
2025-04-01 18:31:59 +00:00
riyueguang
340935af9c
refactor: use the built-in min to simplify the code ( #15091 )
...
Signed-off-by: riyueguang <rustruby@outlook.com >
2025-04-01 17:57:22 +00:00
kasey
17d0082c5c
cleanup block indices for missing blocks ( #15040 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
2025-04-01 17:54:35 +00:00
terence
e998b5ec97
Use latest state to pack attestation ( #15113 )
...
* Use latest state to pack attestation
* Add a test to make sure it would have failed when using head state instead of latest state
2025-04-01 15:31:45 +00:00
james-prysm
5d0eb3168c
small optimization ( #15116 )
2025-04-01 14:55:29 +00:00
terence
e0c2aa71d4
Update spec tests to beta 4 ( #15114 )
...
* Update spec tests to beta 4
* Change log to ignored
2025-04-01 14:32:57 +00:00
Nishant Das
70c31949ba
Disable Execution Request Testing On Mainnet ( #15115 )
...
* DisableOnMainnet
* Changelog
2025-04-01 10:38:05 +00:00
Nishant Das
e38fdb09a4
Trigger Execution Requests In E2E ( #14971 )
...
* Trigger Consolidation
* Finally have it working
* Fix Build
* Revert Change
* Fix Context
* Finally have consolidations working
* Get Evaluator Working
* Get Withdrawals Working
* Changelog
* Finally Passes
* New line
* Try again
* fmt
* fmt
* Fix Test
2025-04-01 06:49:51 +00:00
james-prysm
a50e981c74
removing redundant loop in computeOnChainAggregate ( #15108 )
...
* removing redundant loop
* Update beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_electra.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* removing unused import
* replacing with more used function
* resolving Unsafe cast from uint64 to int error
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-03-31 21:22:47 +00:00
Bastin
8be205cf3d
Use fieldparams.RootLength instead of local variable in p2p types.go ( #15106 )
...
* use fieldparams.RootLength instead of local var
* gazelle fix
2025-03-31 12:42:07 +00:00
kasey
1b65e00096
refactor state-by-root test to table-driven ( #15087 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com >
2025-03-28 23:34:34 +00:00
james-prysm
e3fb4e86ec
validator client initialization cleanup ( #15080 )
...
* cleanup
* fixing optimal sort order for struct
* reverting clictx change based on kasey's feedback
* adding in fix for old trace file flag
* more cleanup for clarity
* optimizing if statement check and fixing wallet open on web enable
* optimizing if statement check and fixing wallet open on web enable
* some more cleanup and bug fix on open wallet
* reverting debug.go changes will handle in a separate PR
* removing useless comment
* changing useWeb to enableAPI
* fixing tests and linting
* manu feedback and one optimization removing auth token check
* gaz
2025-03-28 14:03:42 +00:00
terence
70aaad1904
Add more tests to process pending deposits ( #15099 )
2025-03-27 14:16:41 +00:00
Radosław Kapka
e42611ec72
Allow hex strings in /eth/v1/beacon/states/{state_id}/root endpoint ( #15098 )
...
* Allow hex strings in `/eth/v1/beacon/states/{state_id}/root` endpoint
* changelog <3
* remove redundant conversion
* use `bytesutil.IsHex`
2025-03-27 14:13:57 +00:00
Bastin
a3e61275a3
Add light client types to spectest ( #15097 )
...
* add light client types to spectest
* changelog entry
* remove lightclientSnapshot from tests
2025-03-26 17:44:30 +00:00
terence
e82f9ccca3
Proposer: change attestation sorting to reward numerator ( #15093 )
...
* Change proposer block's sorting algo to proposer reward numerator
* Feedback
* Comments
* Add a cache for attestation reward numerator
2025-03-26 16:21:41 +00:00
Bastin
38a6a7a4ea
Add SSZ support for light client updates by range API ( #15082 )
...
* create ssz payload
* remove unused function
* remove access to state
* gazelle fix
* fix ssz size for electra finality update
* fix fork digest version problem
* fix chunk size
* fix fork version
* fix fork version
* add tests
* add changelog entry
* add PR link in changelog entry
* fix lint error
* Update beacon-chain/rpc/eth/light-client/handlers.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com >
* check for context error
* send response in chunks
* remove content disposition header
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com >
2025-03-26 15:06:03 +00:00
Bastin
1295c987e8
Remove content disposition header from httputil.WriteSSZ ( #15092 )
...
* remove content disposition header from httputil.WriteSSZ
* fix changelog
* fix newly added calls to WriteSSZ
2025-03-26 14:17:19 +00:00
Radosław Kapka
6a27c41aad
Implement validator identities Beacon API endpoint ( #15086 )
...
* implementation
* tests
* changelog <3
* linter fix
* test fix
2025-03-25 16:49:35 +00:00
Radosław Kapka
98b13ea144
Update changelog for v5.3.2 release ( #15096 )
...
* Changelog for v5.3.2
* add header section
* fragment file
2025-03-25 16:38:29 +00:00
james-prysm
c735ed2e32
Remove use of committee list from validator client ( #15039 )
...
* wip
* fixing unit tests
* changing is aggregator function
* wip
* fully removing the use of committee from validator client, adding a wrapper type for duties
* fixing tests
* fixing linting
* fixing more tests
* changelog
* adding some more tests
* Update proto/prysm/v1alpha1/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
* radek's feedback
* removing accidently checked in
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-03-25 16:25:42 +00:00
Potuz
bd17779231
Use headstate to validate canonical attestations for old targets ( #15095 )
...
* Use headstate to validate canonical attestations for old targets
* Update beacon-chain/blockchain/process_attestation_helpers.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
2025-03-25 13:36:47 +00:00
james-prysm
e08ed0d823
Deprecate broken and unused debug flags in favor of --pprof ( #15083 )
...
* deprecating the trace and cpuprofile flags in favor of pprof
* gaz
* fixing change log title
* added hidden tags
2025-03-24 19:30:32 +00:00
xinhangzhou
2b4d8a09ff
refactor: use maps.Copy for cleaner map handling ( #15090 )
...
Signed-off-by: xinhangzhou <shuangcui@aliyun.com >
2025-03-24 19:23:10 +00:00
Potuz
21e1f7883b
Add feature flag to blacklist blocks ( #15030 )
...
* Add feature flag to blacklist blocks
* review and add tests
* add test
* review
* Kasey's review
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl >
v5.3.2
2025-03-21 22:20:39 +00:00
Julian Yap
bfa24606c3
refactor: Remove redundant string conversion in BeaconDbStater.State ( #15081 )
2025-03-21 16:23:16 +00:00
Potuz
d7628bab37
Fix genesis block proposal ( #15084 )
...
* Fix genesis block proposal
* fix test
* fix test 2
2025-03-21 15:34:22 +00:00
Radosław Kapka
8e2c9313e9
Save orphaned Electra attestations properly ( #15060 )
...
* Deal with block attestations post_electra
* changelog <3
* Revert "Deal with block attestations post_electra"
This reverts commit 3d9a40a5a8369e863c37cebec0a53f4bbcf79fe2.
2025-03-21 12:54:19 +00:00
terence
fea441d889
Clean up batch process new pending deposits ( #15085 )
2025-03-21 05:45:52 +00:00
Radosław Kapka
2351064e8d
Improve blobs Beacon API endpoint ( #14845 )
...
* Improve blobs API endpoint
* changelog <3
* use summary
* Kasey's review
* one more
2025-03-20 19:06:37 +00:00
Manu NALEPA
d2699761ed
subscribeToSubnets: Remove unused parameter. (#15079 )
...
* `subscribeToSubnets`: Remove unused parameter.
* Changelog: Change `Fixed` to `Ignored`.
2025-03-20 15:57:55 +00:00
Manu NALEPA
c73473b59d
Tracked validator cache: Make sure no to loose the reference. ( #15077 )
2025-03-20 10:00:40 +00:00
Preston Van Loon
2aa52fb56a
Add static analyzer to discourage use of panic() ( #15075 )
...
* Implement static analysis to prevent panics
* Add nopanic to nogo
* Fix violations and add exclusions
Fix violations and add exclusions for all
* Changelog fragment
* Use pass.Report instead of pass.Reportf
* Remove strings.ToLower for checking init method name
* Add exclusion for herumi init
* Move api/client/beacon template function to init and its own file
* Fix nopanic testcase
2025-03-19 18:04:15 +00:00
Preston Van Loon
16d5abd21b
Update changelog for v5.3.1 release ( #15045 )
...
* Update changelog for v5.3.1 release.
* Add description for v5.3.1
* Changelog fragment
2025-03-19 15:10:30 +00:00
james-prysm
08bfaca42d
panic to error changes and changelog ( #15074 )
2025-03-19 14:31:29 +00:00
Sam Calder-Mason
179cedd4a0
feat(event-stream): Support block_gossip topic ( #15038 )
...
* feat(event-stream): Add block_gossip topic support
* feat(event-stream): Add block_gossip topic support
* feat(event-stream): Add block_gossip topic support
* feat: add block gossip topic support to beacon api event stream
* fix: sync_fuzz_test panic
* fix: check for nil operationNotifier before sending block gossip
The operationNotifier was not being checked for nil before being used,
which could lead to a panic if it was not initialized. This commit adds
a nil check to prevent the panic.
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com >
2025-03-18 19:27:27 +00:00
terence
0f39857653
Clean up infinity signature usages ( #15072 )
2025-03-18 19:27:06 +00:00
terence
645328bb9e
Clarify infinity signature deposit tests ( #15071 )
2025-03-18 19:25:56 +00:00