From 9dbbe2d36d6c9d4981e4068f89fa24f15cbb80e7 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Sat, 12 Oct 2024 15:24:34 -0500 Subject: [PATCH 1/2] cleanup x/amm directory from unit test --- spawn/proto_parser_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/spawn/proto_parser_test.go b/spawn/proto_parser_test.go index e76a8bc6..37f61c72 100644 --- a/spawn/proto_parser_test.go +++ b/spawn/proto_parser_test.go @@ -246,6 +246,7 @@ service Msg { t.Cleanup(func() { os.RemoveAll(protoDir) + os.RemoveAll(path.Join(wd, "x")) }) } From 2cbe01ce496a29e1b61bbc5fd029ede95723a7ef Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Sat, 12 Oct 2024 15:30:47 -0500 Subject: [PATCH 2/2] feat: add standalone single testnet --- spawn/cfg.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spawn/cfg.go b/spawn/cfg.go index 3afb1ccc..f3e401b3 100644 --- a/spawn/cfg.go +++ b/spawn/cfg.go @@ -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) }