Skip to content

Commit

Permalink
add mekong testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusFranco99 committed Jan 29, 2025
1 parent 0ee2749 commit 46067a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions types/beacon_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ const (
// PraterNetwork represents the Prater test network.
PraterNetwork BeaconNetwork = "prater"

// MekongNetwork represents the Mekong test network.
MekongNetwork BeaconNetwork = "mekong"

// BeaconTestNetwork is a simple test network with a custom genesis time
BeaconTestNetwork BeaconNetwork = "now_test_network"
)
Expand All @@ -174,6 +177,8 @@ func NetworkFromString(n string) BeaconNetwork {
return HoleskyNetwork
case string(PraterNetwork):
return PraterNetwork
case string(MekongNetwork):
return MekongNetwork
case string(BeaconTestNetwork):
return BeaconTestNetwork
default:
Expand All @@ -190,6 +195,8 @@ func (n BeaconNetwork) ForkVersion() [4]byte {
return [4]byte{0x01, 0x01, 0x70, 0x00}
case PraterNetwork:
return [4]byte{0x00, 0x00, 0x10, 0x20}
case MekongNetwork:
return [4]byte{0x10, 0x63, 0x76, 0x24}
case BeaconTestNetwork:
return [4]byte{0x99, 0x99, 0x99, 0x99}
default:
Expand All @@ -206,6 +213,8 @@ func (n BeaconNetwork) MinGenesisTime() uint64 {
return 1695902400
case PraterNetwork:
return 1616508000
case MekongNetwork:
return 1730822340
case BeaconTestNetwork:
return 1616508000
default:
Expand Down

0 comments on commit 46067a6

Please sign in to comment.