Skip to content

Commit 75bade2

Browse files
authored
chore: correct config name (#2636)
Point to the correct config name,.
1 parent 189817f commit 75bade2

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

apps/evm/single/cmd/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
rollgenesis "github.com/evstack/ev-node/pkg/genesis"
1212
)
1313

14-
// InitCmd initializes a new evolve.yaml file in the current directory
14+
// InitCmd initializes a new evnode.yml file in the current directory
1515
func InitCmd() *cobra.Command {
1616
initCmd := &cobra.Command{
1717
Use: "init",
@@ -47,7 +47,7 @@ func InitCmd() *cobra.Command {
4747
}
4848

4949
if err := cfg.SaveAsYaml(); err != nil {
50-
return fmt.Errorf("error writing evolve.yaml file: %w", err)
50+
return fmt.Errorf("error writing evnode.yml file: %w", err)
5151
}
5252

5353
if err := rollcmd.LoadOrGenNodeKey(homePath); err != nil {

apps/grpc/single/cmd/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This will create the necessary configuration structure in the specified root dir
4949
}
5050

5151
if err := cfg.SaveAsYaml(); err != nil {
52-
return fmt.Errorf("error writing evolve.yaml file: %w", err)
52+
return fmt.Errorf("error writing evnode.yml file: %w", err)
5353
}
5454

5555
if err := rollcmd.LoadOrGenNodeKey(homePath); err != nil {

apps/testapp/cmd/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
rollgenesis "github.com/evstack/ev-node/pkg/genesis"
1212
)
1313

14-
// InitCmd initializes a new evolve.yaml file in the current directory
14+
// InitCmd initializes a new evnode.yml file in the current directory
1515
func InitCmd() *cobra.Command {
1616
initCmd := &cobra.Command{
1717
Use: "init",
@@ -47,7 +47,7 @@ func InitCmd() *cobra.Command {
4747
}
4848

4949
if err := cfg.SaveAsYaml(); err != nil {
50-
return fmt.Errorf("error writing evolve.yaml file: %w", err)
50+
return fmt.Errorf("error writing evnode.yml file: %w", err)
5151
}
5252

5353
if err := rollcmd.LoadOrGenNodeKey(homePath); err != nil {

apps/testapp/cmd/init_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestInitCommand(t *testing.T) {
2626
// Change to the temporary directory
2727
require.NoError(t, os.Chdir(dir))
2828

29-
// Remove any existing evolve.yaml files in the test directory
29+
// Remove any existing evnode.yml files in the test directory
3030
configPath := filepath.Join(dir, "config", rollconf.ConfigName)
3131
_ = os.Remove(configPath) // Ignore error if file doesn't exist
3232

docs/guides/da/visualizer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ testapp start --rollkit.rpc.enable_da_visualization
2727

2828
### Via Configuration File
2929

30-
Add the following to your `evolve.yaml` configuration file:
30+
Add the following to your `evnode.yml` configuration file:
3131

3232
```yaml
3333
rpc:
@@ -164,7 +164,7 @@ When enabling the DA Visualizer, you may want to adjust related RPC settings:
164164

165165
```yaml
166166
rpc:
167-
address: "0.0.0.0:7331" # Bind to all interfaces for remote access
167+
address: "0.0.0.0:7331" # Bind to all interfaces for remote access
168168
enable_da_visualization: true
169169
```
170170

docs/guides/reset-state.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ By definition, resetting the state is deleting your chain's data. Make sure you
88

99
Some reason you might need to reset the state of your chain are:
1010

11-
* During testing and development
12-
* During upgrades with breaking changes
13-
* Hardforks
11+
- During testing and development
12+
- During upgrades with breaking changes
13+
- Hardforks
1414

1515
## Prerequisites
1616

@@ -28,7 +28,7 @@ tree $HOME/.testapp
2828
├── config
2929
│   ├── genesis.json
3030
│   ├── node_key.json
31-
│   ├── evolve.yaml
31+
│   ├── evnode.yml
3232
│   └── signer.json
3333
└── data
3434
├── cache
@@ -90,7 +90,7 @@ tree $HOME/.gm
9090
│   │   └── gentx-418077c64f0cf5824c24487c9cce38241de677cd.json
9191
│   ├── node_key.json
9292
│   ├── priv_validator_key.json
93-
│   └── evolve.yaml
93+
│   └── evnode.yml
9494
├── data
9595
│   ├── application.db
9696
│   │   ├── 000001.log

docs/learn/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ When running in DA-only mode, the node will:
9393

9494
## Configs
9595

96-
Evolve configurations can be managed through a YAML file (typically `evolve.yaml` located in `~/.evolve/config/` or `<your_home_dir>/config/`) and command-line flags. The system prioritizes configurations in the following order (highest priority first):
96+
Evolve configurations can be managed through a YAML file (typically `evnode.yml` located in `~/.evolve/config/` or `<your_home_dir>/config/`) and command-line flags. The system prioritizes configurations in the following order (highest priority first):
9797

9898
1. **Command-line flags:** Override all other settings.
9999
2. **YAML configuration file:** Values specified in the `config.yaml` file.

pkg/config/yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (d *DurationWrapper) UnmarshalText(text []byte) error {
2828
return err
2929
}
3030

31-
// ErrReadYaml is the error returned when reading the evolve.yaml file fails.
31+
// ErrReadYaml is the error returned when reading the evnode.yml file fails.
3232
var ErrReadYaml = fmt.Errorf("reading %s", ConfigName)
3333

3434
// SaveAsYaml saves the current configuration to a YAML file.

0 commit comments

Comments
 (0)