Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jan 8, 2025
1 parent 7d795ed commit 79eb59c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ignite/cmd/scaffold_chain_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func scaffoldChainRegistryFiles(cmd *cobra.Command, args []string) error {
return err
}

if err = sc.AddChainInfo(cfg); err != nil {
if err = sc.AddChainRegistryFiles(cfg); err != nil {
return err
}

Expand Down
4 changes: 2 additions & 2 deletions ignite/services/scaffolder/chain_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ func (c assetListJSON) SaveJSON(out string) error {
return os.WriteFile(out, bz, 0666)
}

// AddChainInfo generates the chain registry files in the scaffolded chains.
func (s Scaffolder) AddChainInfo(cfg *chainconfig.Config) error {
// AddChainRegistryFiles generates the chain registry files in the scaffolded chains.
func (s Scaffolder) AddChainRegistryFiles(cfg *chainconfig.Config) error {
chain := chainJSON{
ChainName: cfg.Chain.Name,
Status: StatusUpcoming,
Expand Down

0 comments on commit 79eb59c

Please sign in to comment.