diff --git a/cmd/subcommands/root.go b/cmd/subcommands/root.go index 01073c6..c06b52b 100644 --- a/cmd/subcommands/root.go +++ b/cmd/subcommands/root.go @@ -200,6 +200,8 @@ func endpointToChainID(nodeAddr string) chainIDWrapper { return chainIDWrapper{chainID: &common.Chain.PartnerNet} } else if strings.Contains(nodeAddr, ".stn.") { return chainIDWrapper{chainID: &common.Chain.StressNet} + } else if strings.Contains(nodeAddr, ".dry.") { + return chainIDWrapper{chainID: &common.Chain.MainNet} } return chainIDWrapper{chainID: &common.Chain.TestNet} } diff --git a/pkg/common/chain-id.go b/pkg/common/chain-id.go index fd4e27a..f77fc04 100644 --- a/pkg/common/chain-id.go +++ b/pkg/common/chain-id.go @@ -49,6 +49,8 @@ func StringToChainID(name string) (*ChainID, error) { return &Chain.PartnerNet, nil case "stressnet": return &Chain.StressNet, nil + case "dryrun": + return &Chain.MainNet, nil default: return nil, fmt.Errorf("unknown chain-id: %s", name) }