Skip to content

Commit

Permalink
feat: add standalone single testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Oct 12, 2024
1 parent 9dbbe2d commit 2cbe01c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spawn/cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,11 @@ func (cfg *NewChainConfig) SetupLocalInterchainJSON() {
if cfg.IsFeatureEnabled(InterchainSecurity) {
c.SetICSConsumerLink("localcosmos-1")
} else {
// Standalone testnet with no IBC connections
if err := localictypes.NewChainsConfig(c).SaveJSON(fmt.Sprintf("%s/chains/standalone.json", cfg.ProjectName)); err != nil {
panic(err)
}

// make this is an IBC testnet for POA/POS chains
c.SetAppendedIBCPathLink(CosmosHubProvider)
}
Expand Down

0 comments on commit 2cbe01c

Please sign in to comment.