Skip to content

Commit

Permalink
feat(chain): use always the raw genesis file (#2775)
Browse files Browse the repository at this point in the history
  • Loading branch information
EclesioMeloJunior authored Aug 23, 2022
1 parent b83738e commit dd2fbc9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion chain/dev/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sync = ""
digest = ""

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

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

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

// AccountConfig

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

[init]
genesis = "./chain/gssmr/genesis-spec.json"
genesis = "./chain/gssmr/genesis.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 @@ -41,7 +41,7 @@ var (
// InitConfig

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

// AccountConfig

Expand Down
4 changes: 2 additions & 2 deletions dot/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestConfig(t *testing.T) {
FinalityGadgetLvl: log.Info,
},
Init: InitConfig{
Genesis: "./chain/dev/genesis-spec.json",
Genesis: "./chain/dev/genesis.json",
},
Account: AccountConfig{
Key: "alice",
Expand Down Expand Up @@ -106,7 +106,7 @@ func TestConfig(t *testing.T) {
FinalityGadgetLvl: log.Info,
},
Init: InitConfig{
Genesis: "./chain/gssmr/genesis-spec.json",
Genesis: "./chain/gssmr/genesis.json",
},
Account: AccountConfig{},
Core: CoreConfig{
Expand Down
2 changes: 1 addition & 1 deletion dot/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func TestNewTestConfig(t *testing.T) {
BlockProducerLvl: 3,
FinalityGadgetLvl: 3,
},
Init: InitConfig{Genesis: "./chain/gssmr/genesis-spec.json"},
Init: InitConfig{Genesis: "./chain/gssmr/genesis.json"},
Core: CoreConfig{
Roles: 4,
BabeAuthority: true,
Expand Down

0 comments on commit dd2fbc9

Please sign in to comment.