Skip to content

Commit

Permalink
Rename namespace to v2 (#248)
Browse files Browse the repository at this point in the history
* chore: : bump go mod to v2

Signed-off-by: zemyblue <zemyblue@gmail.com>

* chore: update changelog

Signed-off-by: zemyblue <zemyblue@gmail.com>

---------

Signed-off-by: zemyblue <zemyblue@gmail.com>
  • Loading branch information
zemyblue authored Aug 4, 2023
1 parent 880ef9d commit ea69550
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Features
* (feat) [\#243](https://github.com/Finschia/finschia/pull/243) Bump github.com/Finschia/finschia-sdk from v0.47.0 to v0.47.1-rc1
* (ibc) [\#246](https://github.com/Finschia/finschia/pull/246) Update ibc-go to v4
* (build) [\#248](https://github.com/Finschia/finschia/pull/248) Rename namespace to v2

### Improvements
* (build) [\#221](https://github.com/Finschia/finschia/pull/221) compile static binary as release assets and docker image
Expand Down
4 changes: 2 additions & 2 deletions ante/ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"github.com/stretchr/testify/suite"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"

linkapp "github.com/Finschia/finschia/app"
linkhelpers "github.com/Finschia/finschia/app/helpers"
linkapp "github.com/Finschia/finschia/v2/app"
linkhelpers "github.com/Finschia/finschia/v2/app/helpers"
)

type IntegrationTestSuite struct {
Expand Down
6 changes: 3 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ import (
ibchost "github.com/cosmos/ibc-go/v4/modules/core/24-host"
ibckeeper "github.com/cosmos/ibc-go/v4/modules/core/keeper"

appante "github.com/Finschia/finschia/ante"
appparams "github.com/Finschia/finschia/app/params"
appante "github.com/Finschia/finschia/v2/ante"
appparams "github.com/Finschia/finschia/v2/app/params"

// unnamed import of statik for swagger UI support
_ "github.com/Finschia/finschia/client/docs/statik"
_ "github.com/Finschia/finschia/v2/client/docs/statik"
)

const appName = "Finschia"
Expand Down
2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package app
import (
"github.com/Finschia/finschia-sdk/std"

"github.com/Finschia/finschia/app/params"
"github.com/Finschia/finschia/v2/app/params"
)

// MakeEncodingConfig creates an EncodingConfig for testing
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
dbm "github.com/tendermint/tm-db"

linkapp "github.com/Finschia/finschia/app"
linkapp "github.com/Finschia/finschia/v2/app"
)

// SimAppChainID hardcoded chainID for simulation
Expand Down
2 changes: 1 addition & 1 deletion cli_test/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
osttypes "github.com/Finschia/ostracon/types"
"github.com/stretchr/testify/require"

"github.com/Finschia/finschia/app"
"github.com/Finschia/finschia/v2/app"
)

func TestFnsadKeysAddMultisig(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cli_test/multi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/Finschia/finschia-sdk/crypto/keys/ed25519"
sdk "github.com/Finschia/finschia-sdk/types"

"github.com/Finschia/finschia/app"
"github.com/Finschia/finschia/v2/app"
)

func TestMultiValidatorAndSendTokens(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cli_test/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ import (
osttypes "github.com/Finschia/ostracon/types"
wasmtypes "github.com/Finschia/wasmd/x/wasm/types"

"github.com/Finschia/finschia/app"
fnsacmd "github.com/Finschia/finschia/cmd/fnsad/cmd"
fnsatypes "github.com/Finschia/finschia/types"
"github.com/Finschia/finschia/v2/app"
fnsacmd "github.com/Finschia/finschia/v2/cmd/fnsad/cmd"
fnsatypes "github.com/Finschia/finschia/v2/types"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions cmd/fnsad/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ import (
"github.com/spf13/viper"
dbm "github.com/tendermint/tm-db"

"github.com/Finschia/finschia/app"
"github.com/Finschia/finschia/app/params"
fnsatypes "github.com/Finschia/finschia/types"
"github.com/Finschia/finschia/v2/app"
"github.com/Finschia/finschia/v2/app/params"
fnsatypes "github.com/Finschia/finschia/v2/types"
)

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

"github.com/Finschia/finschia/app"
"github.com/Finschia/finschia/v2/app"
)

func Test_TestnetCmd(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/fnsad/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/Finschia/finschia-sdk/server"
svrcmd "github.com/Finschia/finschia-sdk/server/cmd"

"github.com/Finschia/finschia/app"
"github.com/Finschia/finschia/cmd/fnsad/cmd"
"github.com/Finschia/finschia/v2/app"
"github.com/Finschia/finschia/v2/cmd/fnsad/cmd"
)

func main() {
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/Finschia/finschia
module github.com/Finschia/finschia/v2

go 1.20

Expand Down

0 comments on commit ea69550

Please sign in to comment.