diff --git a/ignite/cmd/scaffold_chain_registry.go b/ignite/cmd/scaffold_chain_registry.go index 25357f71d4..2ac13e6c87 100644 --- a/ignite/cmd/scaffold_chain_registry.go +++ b/ignite/cmd/scaffold_chain_registry.go @@ -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 } diff --git a/ignite/services/scaffolder/chain_registry.go b/ignite/services/scaffolder/chain_registry.go index 84d0861b02..5e4ec2bb2e 100644 --- a/ignite/services/scaffolder/chain_registry.go +++ b/ignite/services/scaffolder/chain_registry.go @@ -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,