Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(chain): use always the raw genesis file #2775

Merged
merged 3 commits into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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