@@ -20,6 +20,8 @@ func NetworkFromString(n string) Network {
20
20
return PraterNetwork
21
21
case string (HoleskyNetwork ):
22
22
return HoleskyNetwork
23
+ case string (MekongNetwork ):
24
+ return MekongNetwork
23
25
case string (MainNetwork ):
24
26
return MainNetwork
25
27
default :
@@ -36,6 +38,8 @@ func (n Network) GenesisForkVersion() phase0.Version {
36
38
return phase0.Version {0x00 , 0x00 , 0x10 , 0x20 }
37
39
case HoleskyNetwork :
38
40
return phase0.Version {0x01 , 0x01 , 0x70 , 0x00 }
41
+ case MekongNetwork :
42
+ return phase0.Version {0x10 , 0x63 , 0x76 , 0x24 }
39
43
case MainNetwork :
40
44
return phase0.Version {0 , 0 , 0 , 0 }
41
45
default :
@@ -54,6 +58,9 @@ func (n Network) GenesisValidatorsRoot() phase0.Root {
54
58
case HoleskyNetwork :
55
59
rootBytes , _ := hex .DecodeString ("9143aa7c615a7f7115e2b6aac319c03529df8242ae705fba9df39b79c59fa8b1" )
56
60
copy (genValidatorsRoot [:], rootBytes )
61
+ case MekongNetwork :
62
+ rootBytes , _ := hex .DecodeString ("9838240bca889c52818d7502179b393a828f61f15119d9027827c36caeb67db7" )
63
+ copy (genValidatorsRoot [:], rootBytes )
57
64
case MainNetwork :
58
65
rootBytes , _ := hex .DecodeString ("4b363db94e286120d76eb905340fdd4e54bfe9f06bf33ff6cf5ad27f511bfe95" )
59
66
copy (genValidatorsRoot [:], rootBytes )
@@ -72,6 +79,8 @@ func (n Network) DepositContractAddress() string {
72
79
return "0xff50ed3d0ec03ac01d4c79aad74928bff48a7b2b"
73
80
case HoleskyNetwork :
74
81
return "0x4242424242424242424242424242424242424242"
82
+ case MekongNetwork :
83
+ return "0x4242424242424242424242424242424242424242"
75
84
case MainNetwork :
76
85
return "0x00000000219ab540356cBB839Cbe05303d7705Fa"
77
86
default :
@@ -94,6 +103,8 @@ func (n Network) MinGenesisTime() uint64 {
94
103
return 1616508000
95
104
case HoleskyNetwork :
96
105
return 1695902400
106
+ case MekongNetwork :
107
+ return 1730822340 + 60 // genesis delay
97
108
case MainNetwork :
98
109
return 1606824023
99
110
default :
@@ -148,6 +159,9 @@ const (
148
159
// HoleskyNetwork represents the Holesky test network.
149
160
HoleskyNetwork Network = "holesky"
150
161
162
+ // MekongNetwork represents the Mekong test network.
163
+ MekongNetwork Network = "mekong"
164
+
151
165
// MainNetwork represents the main network.
152
166
MainNetwork Network = "mainnet"
153
167
)
0 commit comments