From 1cffd56d3f9573b4a3d48c91b953f7e6fb0bc575 Mon Sep 17 00:00:00 2001 From: Vritra4 Date: Thu, 2 May 2024 15:12:59 +0900 Subject: [PATCH] rename move-pair to pair and fix versions and submodune names --- submodules/move-nft/types/keys.go | 4 ++-- submodules/{move-pair => pair}/collect.go | 4 ++-- submodules/{move-pair => pair}/go.mod | 2 +- submodules/{move-pair => pair}/go.sum | 0 submodules/{move-pair => pair}/grpc_query.go | 2 +- submodules/{move-pair => pair}/interface.go | 2 +- submodules/{move-pair => pair}/submodule.go | 4 ++-- submodules/{move-pair => pair}/types/expected_keeper.go | 0 submodules/{move-pair => pair}/types/keys.go | 2 +- submodules/{move-pair => pair}/types/types.go | 0 submodules/wasm-nft/types/keys.go | 2 +- submodules/wasm-pair/types/keys.go | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) rename submodules/{move-pair => pair}/collect.go (98%) rename submodules/{move-pair => pair}/go.mod (99%) rename submodules/{move-pair => pair}/go.sum (100%) rename submodules/{move-pair => pair}/grpc_query.go (98%) rename submodules/{move-pair => pair}/interface.go (97%) rename submodules/{move-pair => pair}/submodule.go (97%) rename submodules/{move-pair => pair}/types/expected_keeper.go (100%) rename submodules/{move-pair => pair}/types/keys.go (92%) rename submodules/{move-pair => pair}/types/types.go (100%) diff --git a/submodules/move-nft/types/keys.go b/submodules/move-nft/types/keys.go index 1e7fd81..db4a403 100644 --- a/submodules/move-nft/types/keys.go +++ b/submodules/move-nft/types/keys.go @@ -2,10 +2,10 @@ package types const ( // SubmoduleName is the name of the submodule - SubmoduleName = "nft" + SubmoduleName = "move-nft" // Version is the current version of the submodule - Version = "v0.1.0" + Version = "v0.1.2" ) // store prefixes diff --git a/submodules/move-pair/collect.go b/submodules/pair/collect.go similarity index 98% rename from submodules/move-pair/collect.go rename to submodules/pair/collect.go index 70ade46..6b95899 100644 --- a/submodules/move-pair/collect.go +++ b/submodules/pair/collect.go @@ -1,4 +1,4 @@ -package move_pair +package pair import ( "context" @@ -17,7 +17,7 @@ import ( ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" opchildtypes "github.com/initia-labs/OPinit/x/opchild/types" - "github.com/initia-labs/kvindexer/submodules/move-pair/types" + "github.com/initia-labs/kvindexer/submodules/pair/types" ) const ( diff --git a/submodules/move-pair/go.mod b/submodules/pair/go.mod similarity index 99% rename from submodules/move-pair/go.mod rename to submodules/pair/go.mod index ec7670f..c2e32dc 100644 --- a/submodules/move-pair/go.mod +++ b/submodules/pair/go.mod @@ -1,4 +1,4 @@ -module github.com/initia-labs/kvindexer/submodules/move-pair +module github.com/initia-labs/kvindexer/submodules/pair go 1.22 diff --git a/submodules/move-pair/go.sum b/submodules/pair/go.sum similarity index 100% rename from submodules/move-pair/go.sum rename to submodules/pair/go.sum diff --git a/submodules/move-pair/grpc_query.go b/submodules/pair/grpc_query.go similarity index 98% rename from submodules/move-pair/grpc_query.go rename to submodules/pair/grpc_query.go index 0043f6c..e15f935 100644 --- a/submodules/move-pair/grpc_query.go +++ b/submodules/pair/grpc_query.go @@ -1,4 +1,4 @@ -package move_pair +package pair import ( "context" diff --git a/submodules/move-pair/interface.go b/submodules/pair/interface.go similarity index 97% rename from submodules/move-pair/interface.go rename to submodules/pair/interface.go index b8ce144..f984804 100644 --- a/submodules/move-pair/interface.go +++ b/submodules/pair/interface.go @@ -1,4 +1,4 @@ -package move_pair +package pair import ( "context" diff --git a/submodules/move-pair/submodule.go b/submodules/pair/submodule.go similarity index 97% rename from submodules/move-pair/submodule.go rename to submodules/pair/submodule.go index 275a971..0f8dcb3 100644 --- a/submodules/move-pair/submodule.go +++ b/submodules/pair/submodule.go @@ -1,4 +1,4 @@ -package move_pair +package pair import ( "context" @@ -17,7 +17,7 @@ import ( "github.com/initia-labs/kvindexer/collection" pairtypes "github.com/initia-labs/kvindexer/pair/types" - "github.com/initia-labs/kvindexer/submodules/move-pair/types" + "github.com/initia-labs/kvindexer/submodules/pair/types" kvindexer "github.com/initia-labs/kvindexer/x/kvindexer/types" ) diff --git a/submodules/move-pair/types/expected_keeper.go b/submodules/pair/types/expected_keeper.go similarity index 100% rename from submodules/move-pair/types/expected_keeper.go rename to submodules/pair/types/expected_keeper.go diff --git a/submodules/move-pair/types/keys.go b/submodules/pair/types/keys.go similarity index 92% rename from submodules/move-pair/types/keys.go rename to submodules/pair/types/keys.go index 01104a6..45d89e2 100644 --- a/submodules/move-pair/types/keys.go +++ b/submodules/pair/types/keys.go @@ -5,7 +5,7 @@ const ( SubmoduleName = "pair" // Version is the current version of the submodule - Version = "v0.1.0" + Version = "v0.1.1" ) // store prefixes diff --git a/submodules/move-pair/types/types.go b/submodules/pair/types/types.go similarity index 100% rename from submodules/move-pair/types/types.go rename to submodules/pair/types/types.go diff --git a/submodules/wasm-nft/types/keys.go b/submodules/wasm-nft/types/keys.go index add8453..985d69f 100644 --- a/submodules/wasm-nft/types/keys.go +++ b/submodules/wasm-nft/types/keys.go @@ -5,7 +5,7 @@ const ( SubmoduleName = "wasm-nft" // Version is the current version of the submodule - Version = "v0.1.0" + Version = "v0.1.2" ) // store prefixes diff --git a/submodules/wasm-pair/types/keys.go b/submodules/wasm-pair/types/keys.go index 01104a6..b83d4bd 100644 --- a/submodules/wasm-pair/types/keys.go +++ b/submodules/wasm-pair/types/keys.go @@ -2,7 +2,7 @@ package types const ( // SubmoduleName is the name of the submodule - SubmoduleName = "pair" + SubmoduleName = "wasm-pair" // Version is the current version of the submodule Version = "v0.1.0"