Skip to content

Commit

Permalink
feat: standalone chain (#242)
Browse files Browse the repository at this point in the history
* cleanup x/amm directory from unit test

* feat: add standalone single testnet
  • Loading branch information
Reecepbcups authored Oct 12, 2024
1 parent a10b085 commit 117e321
Show file tree
Hide file tree
Showing 2 changed files with 6 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
1 change: 1 addition & 0 deletions spawn/proto_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ service Msg {

t.Cleanup(func() {
os.RemoveAll(protoDir)
os.RemoveAll(path.Join(wd, "x"))
})
}

Expand Down

0 comments on commit 117e321

Please sign in to comment.