Skip to content

Commit

Permalink
chore: update dev, gssmr to use genesis-spec by default (ChainSafe#1665)
Browse files Browse the repository at this point in the history
  • Loading branch information
noot authored and timwu20 committed Dec 6, 2021
1 parent 73e99c9 commit e5537bf
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 45 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ build-debug: clean

## init: Initialise gossamer using the default genesis and toml configuration files
init:
./bin/gossamer --key alice init --genesis chain/gssmr/genesis.json --force
./bin/gossamer init --force

## init-repo: Set initial configuration for the repo
init-repo:
Expand Down
2 changes: 1 addition & 1 deletion chain/dev/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ grandpa = ""
sync = ""

[init]
genesis = "./chain/dev/genesis.json"
genesis = "./chain/dev/genesis-spec.json"

[account]
key = "alice"
Expand Down
2 changes: 1 addition & 1 deletion chain/dev/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var (
// InitConfig

// DefaultGenesis is the default genesis configuration path
DefaultGenesis = string("./chain/dev/genesis.json")
DefaultGenesis = string("./chain/dev/genesis-spec.json")

// AccountConfig

Expand Down
40 changes: 0 additions & 40 deletions chain/dev/genesis.json

This file was deleted.

2 changes: 1 addition & 1 deletion chain/gssmr/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ grandpa = ""
sync = ""

[init]
genesis = "./chain/gssmr/genesis.json"
genesis = "./chain/gssmr/genesis-spec.json"

[account]
key = ""
Expand Down
2 changes: 1 addition & 1 deletion chain/gssmr/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var (
// InitConfig

// DefaultGenesis is the default genesis configuration path
DefaultGenesis = string("./chain/gssmr/genesis.json")
DefaultGenesis = string("./chain/gssmr/genesis-spec.json")

// AccountConfig

Expand Down

0 comments on commit e5537bf

Please sign in to comment.