Skip to content

Commit

Permalink
feat(params): remove DevNet network and add Mamaki testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Wondertan committed May 25, 2022
1 parent 84b7688 commit f22aae2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion params/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func BootstrappersFor(net Network) ([]string, error) {

// NOTE: Every time we add a new long-running network, its bootstrap peers have to be added here.
var bootstrapList = map[Network][]string{
DevNet: {
Mamaki: {
"/dns4/andromeda.celestia-devops.dev/tcp/2121/p2p/12D3KooWKvPXtV1yaQ6e3BRNUHa5Phh8daBwBi3KkGaSSkUPys6D",
"/dns4/libra.celestia-devops.dev/tcp/2121/p2p/12D3KooWK5aDotDcLsabBmWDazehQLMsDkRyARm1k7f1zGAXqbt4",
"/dns4/norma.celestia-devops.dev/tcp/2121/p2p/12D3KooWHYczJDVNfYVkLcNHPTDKCeiVvRhg8Q9JU3bE3m9eEVyY",
Expand Down
2 changes: 1 addition & 1 deletion params/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const (
)

// defaultNetwork defines a default network for the Celestia Node.
var defaultNetwork = DevNet
var defaultNetwork = Mamaki

// DefaultNetwork returns the network of the current build.
func DefaultNetwork() Network {
Expand Down
2 changes: 1 addition & 1 deletion params/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ func GenesisFor(net Network) (string, error) {

// NOTE: Every time we add a new long-running network, its genesis hash has to be added here.
var genesisList = map[Network]string{
DevNet: "4632277C441CA6155C4374AC56048CF4CFE3CBB2476E07A548644435980D5E17",
Mamaki: "41BBFD05779719E826C4D68C4CCBBC84B2B761EB52BC04CFDE0FF8603C9AA3CA",
Private: "",
}
6 changes: 3 additions & 3 deletions params/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

// NOTE: Every time we add a new long-running network, it has to be added here.
const (
// DevNet or devnet-2 according to celestiaorg/networks
DevNet Network = "devnet-2"
// Mamaki testnet. See: celestiaorg/networks.
Mamaki Network = "mamaki"
// Private can be used to set up any private network, including local testing setups.
// Use CELESTIA_PRIVATE_GENESIS env var to enable Private by specifying its genesis block hash.
Private Network = "private"
Expand All @@ -29,6 +29,6 @@ func (n Network) Validate() error {

// networksList is a strict list of all known long-standing networks.
var networksList = map[Network]struct{}{
DevNet: {},
Mamaki: {},
Private: {},
}

0 comments on commit f22aae2

Please sign in to comment.