Skip to content

Commit

Permalink
fix: update go module for regen-ledger to v2 (#644)
Browse files Browse the repository at this point in the history
* fix: update go module for regen-ledger to v2

* go fmt

Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
  • Loading branch information
clevinson and ryanchristo authored Nov 22, 2021
1 parent 9c97674 commit 6c455ec
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
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
3 changes: 2 additions & 1 deletion app/regen/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/regen-network/regen-ledger/app/testsuite"

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

var (
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

0 comments on commit 6c455ec

Please sign in to comment.