Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
fc33799
wip
james-prysm Nov 4, 2025
4a23c5d
Merge branch 'develop' into fulu-fork-epoch
james-prysm Nov 4, 2025
2b95811
fixing tests
james-prysm Nov 4, 2025
788017d
adding script to update workspace for eth clients
james-prysm Nov 4, 2025
f729a6d
updating test sepc to 1.6.0 and fixing broadcaster test
james-prysm Nov 4, 2025
171cfee
fix specrefs
james-prysm Nov 4, 2025
0d7dd55
more ethspecify fixes
james-prysm Nov 4, 2025
39d7744
Merge branch 'develop' into fulu-fork-epoch
james-prysm Nov 4, 2025
dc9c276
still trying to fix ethspecify
james-prysm Nov 4, 2025
26ded24
fixing attestation tests
james-prysm Nov 4, 2025
95add6e
fixing sha for consensus specs
james-prysm Nov 4, 2025
2b5fd90
removing script for now until i have something more standard
james-prysm Nov 4, 2025
140d5db
fixing more p2p tests
james-prysm Nov 5, 2025
8c701bf
fixing discovery tests
james-prysm Nov 5, 2025
3c76525
attempting to fix discovery test flakeyness
james-prysm Nov 5, 2025
583df80
attempting to fix port binding issue
james-prysm Nov 5, 2025
25e8183
more attempts to fix flakey tests
james-prysm Nov 5, 2025
9e27746
Revert "more attempts to fix flakey tests"
james-prysm Nov 5, 2025
e3ea37c
Revert "attempting to fix port binding issue"
james-prysm Nov 5, 2025
c558b65
Revert "attempting to fix discovery test flakeyness"
james-prysm Nov 5, 2025
46f2576
Revert "fixing discovery tests"
james-prysm Nov 5, 2025
d4af79d
Revert "fixing more p2p tests"
james-prysm Nov 5, 2025
cfd3565
Revert "fixing attestation tests"
james-prysm Nov 5, 2025
096f89d
fixing attestation tests
james-prysm Nov 4, 2025
6a843a1
fixing more p2p tests
james-prysm Nov 5, 2025
b23f692
fixing discovery tests
james-prysm Nov 5, 2025
efeaa5b
attempting to fix discovery test flakeyness
james-prysm Nov 5, 2025
ac2a355
attempting to fix port binding issue
james-prysm Nov 5, 2025
6112481
more attempts to fix flakey tests
james-prysm Nov 5, 2025
0e9927c
changelog
james-prysm Nov 5, 2025
7a5a649
fixing import
james-prysm Nov 5, 2025
05a91cb
adding some missing dependencies, but TestService_BroadcastAttestati…
james-prysm Nov 5, 2025
0a20e65
Merge branch 'develop' into fulu-p2p-rpc-test-fixes
james-prysm Nov 5, 2025
72ef62a
attempting to fix test
james-prysm Nov 5, 2025
3ecccfb
reverting test as it migrated to other pr
james-prysm Nov 5, 2025
dd0586b
Merge branch 'develop' into fulu-p2p-rpc-test-fixes
james-prysm Nov 5, 2025
19ece61
reverting test
james-prysm Nov 5, 2025
4a743db
Merge branch 'develop' into fulu-p2p-rpc-test-fixes
james-prysm Nov 5, 2025
608a348
fixing test from merge
james-prysm Nov 5, 2025
e05a5fd
Fix `TestService_BroadcastAttestationWithDiscoveryAttempts`.
nalepae Nov 5, 2025
86e569f
Merge branch 'develop' into fulu-fork-epoch
james-prysm Nov 5, 2025
8f4a60c
merging fulu-p2p-rpc-test-fixes tests back in
james-prysm Nov 5, 2025
02059a7
Fix again `TestService_Start_OnlyStartsOnce`.
nalepae Nov 5, 2025
4af7dbb
fixing TestListenForNewNodes
james-prysm Nov 5, 2025
c7d71a2
removing manual set of fulu epoch
james-prysm Nov 5, 2025
5110625
missed a few
james-prysm Nov 5, 2025
5f70b23
fixing subnet test
james-prysm Nov 5, 2025
ea42c23
Update beacon-chain/rpc/eth/config/handlers_test.go
james-prysm Nov 5, 2025
acff55e
removing a few more missed spots of reverting fulu epoch setting
james-prysm Nov 5, 2025
1ed51ba
updating test name based on feedback
james-prysm Nov 5, 2025
be0f162
fixing rest apis, they actually need the setting of the epoch due to …
james-prysm Nov 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -253,16 +253,16 @@ filegroup(
url = "https://github.com/ethereum/EIPs/archive/5480440fe51742ed23342b68cf106cefd427e39d.tar.gz",
)

consensus_spec_version = "v1.6.0-beta.2"
consensus_spec_version = "v1.6.0"

load("@prysm//tools:download_spectests.bzl", "consensus_spec_tests")

consensus_spec_tests(
name = "consensus_spec_tests",
flavors = {
"general": "sha256-oEj0MTViJHjZo32nABK36gfvSXpbwkBk/jt6Mj7pWFI=",
"minimal": "sha256-cS4NPv6IRBoCSmWomQ8OEo8IsVNW9YawUFqoRZQBUj4=",
"mainnet": "sha256-BYuLndMPAh4p13IRJgNfVakrCVL69KRrNw2tdc3ETbE=",
"general": "",
"minimal": "",
"mainnet": "",
},
version = consensus_spec_version,
)
Expand All @@ -278,7 +278,7 @@ filegroup(
visibility = ["//visibility:public"],
)
""",
integrity = "sha256-MForEP9dTe0z3ZkTHjX4H6waSkSTghf3gQHPwrSCCro=",
integrity = "sha256-VzBgrEokvYSMIIXVnSA5XS9I3m9oxpvToQGxC1N5lzw=",
strip_prefix = "consensus-specs-" + consensus_spec_version[1:],
url = "https://github.com/ethereum/consensus-specs/archive/refs/tags/%s.tar.gz" % consensus_spec_version,
)
Expand Down Expand Up @@ -327,9 +327,9 @@ filegroup(
visibility = ["//visibility:public"],
)
""",
integrity = "sha256-NZr/gsQK9rBHRnznlPBiNzJpK8MPMrfUa3f+QYqn1+g=",
strip_prefix = "mainnet-978f1794eada6f85bee76e4d2d5959a5fb8e0cc5",
url = "https://github.com/eth-clients/mainnet/archive/978f1794eada6f85bee76e4d2d5959a5fb8e0cc5.tar.gz",
integrity = "sha256-+mqMXyboedVw8Yp0v+U9GDz98QoC1SZET8mjaKPX+AI=",
strip_prefix = "mainnet-980aee8893a2291d473c38f63797d5bc370fa381",
url = "https://github.com/eth-clients/mainnet/archive/980aee8893a2291d473c38f63797d5bc370fa381.tar.gz",
)

http_archive(
Expand Down
10 changes: 7 additions & 3 deletions beacon-chain/das/availability_blobs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,20 @@ func Test_commitmentsToCheck(t *testing.T) {
name: "commitments within da",
block: func(t *testing.T) blocks.ROBlock {
d := util.NewBeaconBlockFulu()
d.Block.Body.BlobKzgCommitments = commits[:maxBlobs]
d.Block.Slot = fulu + 100
mb := params.GetNetworkScheduleEntry(slots.ToEpoch(d.Block.Slot)).MaxBlobsPerBlock
Comment thread
james-prysm marked this conversation as resolved.
d.Block.Body.BlobKzgCommitments = commits[:mb]
sb, err := blocks.NewSignedBeaconBlock(d)
require.NoError(t, err)
rb, err := blocks.NewROBlock(sb)
require.NoError(t, err)
return rb
},
commits: commits[:maxBlobs],
slot: fulu + 100,
commits: func() [][]byte {
mb := params.GetNetworkScheduleEntry(slots.ToEpoch(fulu + 100)).MaxBlobsPerBlock
return commits[:mb]
}(),
slot: fulu + 100,
},
{
name: "commitments outside da",
Expand Down
18 changes: 17 additions & 1 deletion beacon-chain/p2p/broadcaster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/OffchainLabs/prysm/v6/beacon-chain/blockchain/kzg"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/helpers"
"github.com/OffchainLabs/prysm/v6/beacon-chain/core/peerdas"
testDB "github.com/OffchainLabs/prysm/v6/beacon-chain/db/testing"
"github.com/OffchainLabs/prysm/v6/beacon-chain/p2p/peers"
"github.com/OffchainLabs/prysm/v6/beacon-chain/p2p/peers/scorers"
p2ptest "github.com/OffchainLabs/prysm/v6/beacon-chain/p2p/testing"
Expand Down Expand Up @@ -218,18 +219,28 @@ func TestService_BroadcastAttestation(t *testing.T) {
func TestService_BroadcastAttestationWithDiscoveryAttempts(t *testing.T) {
const port = uint(2000)

// Create a shared DB for all services to avoid duplicate metrics registration
db := testDB.SetupDB(t)

// Setup bootnode.
cfg := &Config{PingInterval: testPingInterval}
cfg := &Config{
PingInterval: testPingInterval,
DB: db,
}
cfg.UDPPort = uint(port)
_, pkey := createAddrAndPrivKey(t)
ipAddr := net.ParseIP("127.0.0.1")
genesisTime := time.Now()
genesisValidatorsRoot := make([]byte, 32)
custodyInfoSet := make(chan struct{})
close(custodyInfoSet) // Close immediately since custodyInfo is already set
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is required because the custody check is enabled now that we have fulu set

s := &Service{
cfg: cfg,
genesisTime: genesisTime,
genesisValidatorsRoot: genesisValidatorsRoot,
custodyInfo: &custodyInfo{},
custodyInfoSet: custodyInfoSet,
ctx: t.Context(),
}
bootListener, err := s.createListener(ipAddr, pkey)
require.NoError(t, err)
Expand All @@ -245,6 +256,7 @@ func TestService_BroadcastAttestationWithDiscoveryAttempts(t *testing.T) {
Discv5BootStrapAddrs: []string{bootNode.String()},
MaxPeers: 2,
PingInterval: testPingInterval,
DB: db,
}
// Setup 2 different hosts
for i := uint(1); i <= 2; i++ {
Expand All @@ -254,11 +266,15 @@ func TestService_BroadcastAttestationWithDiscoveryAttempts(t *testing.T) {
if len(listeners) > 0 {
cfg.Discv5BootStrapAddrs = append(cfg.Discv5BootStrapAddrs, listeners[len(listeners)-1].Self().String())
}
custodyInfoSet := make(chan struct{})
close(custodyInfoSet) // Close immediately since custodyInfo is already set
s := &Service{
cfg: cfg,
genesisTime: genesisTime,
genesisValidatorsRoot: genesisValidatorsRoot,
custodyInfo: &custodyInfo{},
custodyInfoSet: custodyInfoSet,
ctx: t.Context(),
}
listener, err := s.startDiscoveryV5(ipAddr, pkey)
// Set for 2nd peer
Expand Down
Loading
Loading