Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update go module for regen-ledger to v2 (backport #644) #657

Merged
merged 2 commits into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ import (
ecocreditmodule "github.com/regen-network/regen-ledger/x/ecocredit/module"

// unnamed import of statik for swagger UI support
_ "github.com/regen-network/regen-ledger/client/docs/statik"
_ "github.com/regen-network/regen-ledger/v2/client/docs/statik"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion app/regen/cmd/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/require"

"github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
cmd "github.com/regen-network/regen-ledger/app/regen/cmd"
cmd "github.com/regen-network/regen-ledger/v2/app/regen/cmd"
)

func TestInitCmd(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion app/regen/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"

"github.com/regen-network/regen-ledger/app"
"github.com/regen-network/regen-ledger/v2/app"
)

// NewRootCmd creates a new root command for regen. It is called once in the
Expand Down
2 changes: 1 addition & 1 deletion app/regen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

cmd "github.com/regen-network/regen-ledger/app/regen/cmd"
cmd "github.com/regen-network/regen-ledger/v2/app/regen/cmd"
)

// In main we call the rootCmd
Expand Down
2 changes: 1 addition & 1 deletion app/testsuite/network_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
tmrand "github.com/tendermint/tendermint/libs/rand"
dbm "github.com/tendermint/tm-db"

"github.com/regen-network/regen-ledger/app"
"github.com/regen-network/regen-ledger/types/testutil/network"
"github.com/regen-network/regen-ledger/v2/app"
)

func NewRegenAppConstructor(val network.Validator) servertypes.Application {
Expand Down
2 changes: 1 addition & 1 deletion app/testsuite/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package testsuite_test
import (
"testing"

"github.com/regen-network/regen-ledger/app/testsuite"
"github.com/regen-network/regen-ledger/v2/app/testsuite"
"github.com/regen-network/regen-ledger/types/testutil/network"
"github.com/stretchr/testify/suite"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/regen-network/regen-ledger
module github.com/regen-network/regen-ledger/v2

go 1.17

Expand Down