Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Changes

- [#4569](https://github.com/ignite/cli/pull/4569) Add flags to set coin type on commands. Add getters for bech32 prefix and coin type.
- [#4586](https://github.com/ignite/cli/pull/4586) Remove network as default plugin.

### Fixes

Expand Down
10 changes: 1 addition & 9 deletions ignite/cmd/plugin_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,14 @@ type defaultPlugin struct {
}

const (
PluginNetworkVersion = "v0.2.2"
PluginNetworkPath = "github.com/ignite/cli-plugin-network@" + PluginNetworkVersion
PluginRelayerVersion = "hermes/v0.2.4"
PluginRelayerVersion = "hermes/v0.2.7"
PluginRelayerPath = "github.com/ignite/apps/hermes@" + PluginRelayerVersion
)

// defaultPlugins holds the plugin that are considered trustable and for which
// a command will added if the plugin is not already installed.
// When the user executes that command, the plugin is automatically installed.
var defaultPlugins = []defaultPlugin{
{
use: "network",
short: "Launch a blockchain in production",
aliases: []string{"n"},
path: PluginNetworkPath,
},
{
use: "relayer",
short: "Connect blockchains with an IBC relayer",
Expand Down
7 changes: 4 additions & 3 deletions integration/network/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/go-git/go-git/v5/plumbing"
"github.com/stretchr/testify/require"

ignitecmd "github.com/ignite/cli/v29/ignite/cmd"
chainconfig "github.com/ignite/cli/v29/ignite/config/chain"
"github.com/ignite/cli/v29/ignite/pkg/cmdrunner/step"
"github.com/ignite/cli/v29/ignite/pkg/gomodule"
Expand All @@ -26,7 +25,9 @@ const (
spnModule = "github.com/tendermint/spn"
spnRepoURL = "https://" + spnModule
spnConfigFile = "config_2.yml"
pluginNetworkRepoURL = "https://" + ignitecmd.PluginNetworkPath
PluginNetworkVersion = "v0.2.2"
PluginNetworkPath = "github.com/ignite/cli-plugin-network@" + PluginNetworkVersion
pluginNetworkRepoURL = "https://" + PluginNetworkPath
)

// setupSPN executes the following tasks:
Expand All @@ -46,7 +47,7 @@ func setupSPN(env envtest.Env) string {
// Clone the cli-plugin-network with the expected version
err := xgit.Clone(context.Background(), pluginNetworkRepoURL, pluginPath)
require.NoError(err)
t.Logf("Checkout cli-plugin-revision to ref %q", ignitecmd.PluginNetworkPath)
t.Logf("Checkout cli-plugin-revision to ref %q", PluginNetworkPath)
// Add plugin to config
env.Must(env.Exec("add plugin network",
step.NewSteps(step.New(
Expand Down
Loading