Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sepolia #2050

Draft
wants to merge 4 commits into
base: stage
Choose a base branch
from
Draft

Sepolia #2050

Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 1 addition & 5 deletions ekm/eth_key_manager_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,7 @@ func (km *ethKeyManagerSigner) signBeaconObject(obj ssz.HashRoot, domain phase0.
}
return km.signer.SignVoluntaryExit(data, domain, pk)
case spectypes.DomainAggregateAndProof:
data, ok := obj.(*phase0.AggregateAndProof)
if !ok {
return nil, nil, errors.New("could not cast obj to AggregateAndProof")
}
return km.signer.SignAggregateAndProof(data, domain, pk)
return km.signer.SignAggregateAndProof(obj, domain, pk)
case spectypes.DomainSelectionProof:
data, ok := obj.(spectypes.SSZUint64)
if !ok {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ require (
github.com/sanity-io/litter v1.5.6
github.com/sourcegraph/conc v0.3.0
github.com/spf13/cobra v1.8.1
github.com/ssvlabs/eth2-key-manager v1.5.0
github.com/ssvlabs/ssv-spec v0.0.0-20250219144831-3a9cb8e35c0c
github.com/ssvlabs/eth2-key-manager v1.5.1-0.20250228065425-921d52454e2d
github.com/ssvlabs/ssv-spec v0.0.0-20250227094513-58afe08eee2f
github.com/status-im/keycard-go v0.2.0
github.com/stretchr/testify v1.9.0
github.com/wealdtech/go-eth2-types/v2 v2.8.1
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -741,10 +741,10 @@ github.com/spf13/pflag v1.0.1-0.20170901120850-7aff26db30c1/go.mod h1:DYY7MBk1bd
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.0.0/go.mod h1:A8kyI5cUJhb8N+3pkfONlcEcZbueH6nhAm0Fq7SrnBM=
github.com/ssvlabs/eth2-key-manager v1.5.0 h1:0stZf5JOUPzMU5u5x7OgqYTiE3lyfJx31GP1JRbPhv8=
github.com/ssvlabs/eth2-key-manager v1.5.0/go.mod h1:yeUzAP+SBJXgeXPiGBrLeLuHIQCpeJZV7Jz3Fwzm/zk=
github.com/ssvlabs/ssv-spec v0.0.0-20250219144831-3a9cb8e35c0c h1:3ijOHIppBuQfi8S43R3IZv9xcfy8KhFjel9gOAIOlT8=
github.com/ssvlabs/ssv-spec v0.0.0-20250219144831-3a9cb8e35c0c/go.mod h1:pto7dDv99uVfCZidiLrrKgFR6VYy6WY3PGI1TiGCsIU=
github.com/ssvlabs/eth2-key-manager v1.5.1-0.20250228065425-921d52454e2d h1:eBgXweHjyCadEKUd0kp8I/PDuL89qHLTdcJhyv6OcaY=
github.com/ssvlabs/eth2-key-manager v1.5.1-0.20250228065425-921d52454e2d/go.mod h1:yeUzAP+SBJXgeXPiGBrLeLuHIQCpeJZV7Jz3Fwzm/zk=
github.com/ssvlabs/ssv-spec v0.0.0-20250227094513-58afe08eee2f h1:+MN92zKOYzy/s1vJQUhhEjoGX6fnLw+wD3YkQCtOIVM=
github.com/ssvlabs/ssv-spec v0.0.0-20250227094513-58afe08eee2f/go.mod h1:pto7dDv99uVfCZidiLrrKgFR6VYy6WY3PGI1TiGCsIU=
github.com/status-im/keycard-go v0.2.0 h1:QDLFswOQu1r5jsycloeQh3bVU8n/NatHHaZobtDnDzA=
github.com/status-im/keycard-go v0.2.0/go.mod h1:wlp8ZLbsmrF6g6WjugPAx+IzoLrkdf9+mHxBEeo3Hbg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down
1 change: 1 addition & 0 deletions networkconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var SupportedConfigs = map[string]NetworkConfig{
HoleskyStage.Name: HoleskyStage,
LocalTestnet.Name: LocalTestnet,
HoleskyE2E.Name: HoleskyE2E,
Sepolia.Name: Sepolia,
}

const forkName = "alan"
Expand Down
23 changes: 23 additions & 0 deletions networkconfig/sepolia.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package networkconfig

import (
"math/big"

spectypes "github.com/ssvlabs/ssv-spec/types"

"github.com/ssvlabs/ssv/protocol/v2/blockchain/beacon"
)

var Sepolia = NetworkConfig{
Name: "sepolia",
Beacon: beacon.NewNetwork(spectypes.SepoliaNetwork),
DomainType: spectypes.DomainType{0x0, 0x0, 0x5, 0x69},
GenesisEpoch: 1,
RegistrySyncOffset: new(big.Int).SetInt64(7795814),
RegistryContractAddr: "0x261419B48F36EdF420743E9f91bABF4856e76f99",
DiscoveryProtocolID: [6]byte{'s', 's', 'v', 'd', 'v', '5'},
Bootnodes: []string{
// SSV Labs
"enr:-Ja4QKO4MHCCK34qIKn-ZaAcWcwuJug2PUQHG2F71KRZyFFuT20vWIGwz0YrvoUjpdx9Fz7Qt9YRllgcR_rEcHtu-7KGAZVCasuFgmlkgnY0gmlwhAorJeOJc2VjcDI1NmsxoQP_bBE-ZYvaXKBR3dRYMN5K_lZP-q-YsBzDZEtxH_4T_YNzc3YBg3RjcIITioN1ZHCCD6I",
},
}
Loading