diff --git a/Dockerfile b/Dockerfile index af8b4c1feb..72349483bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3 RUN apk add --no-cache $PACKAGES # Set working directory for the build -WORKDIR /go/src/github.com/cosmos/cosmos-sdk +WORKDIR /go/src/github.com/line/lbm-sdk # Add source files COPY . . @@ -34,7 +34,7 @@ RUN apk add --update ca-certificates WORKDIR /root # Copy over binaries from the build-env -COPY --from=build-env /go/src/github.com/cosmos/cosmos-sdk/build/simd /usr/bin/simd +COPY --from=build-env /go/src/github.com/line/lbm-sdk/build/simd /usr/bin/simd EXPOSE 26656 26657 1317 9090 diff --git a/Makefile b/Makefile index d72d69f20d..e6d1d05a75 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ BINDIR ?= $(GOPATH)/bin BUILDDIR ?= $(CURDIR)/build SIMAPP = ./simapp MOCKS_DIR = $(CURDIR)/tests/mocks -HTTPS_GIT := https://github.com/cosmos/cosmos-sdk.git +HTTPS_GIT := https://github.com/line/lbm-sdk.git DOCKER := $(shell which docker) DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf @@ -54,29 +54,29 @@ build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags)) # process linker flags -ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=sim \ - -X github.com/cosmos/cosmos-sdk/version.AppName=simd \ - -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ - -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ - -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" +ldflags = -X github.com/line/lbm-sdk/v2/version.Name=sim \ + -X github.com/line/lbm-sdk/v2/version.AppName=simd \ + -X github.com/line/lbm-sdk/v2/version.Version=$(VERSION) \ + -X github.com/line/lbm-sdk/v2/version.Commit=$(COMMIT) \ + -X "github.com/line/lbm-sdk/v2/version.BuildTags=$(build_tags_comma_sep)" # DB backend selection ifeq (cleveldb,$(findstring cleveldb,$(COSMOS_BUILD_OPTIONS))) - ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=cleveldb + ldflags += -X github.com/line/lbm-sdk/v2/types.DBBackend=cleveldb endif ifeq (badgerdb,$(findstring badgerdb,$(COSMOS_BUILD_OPTIONS))) - ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=badgerdb + ldflags += -X github.com/line/lbm-sdk/v2/types.DBBackend=badgerdb endif # handle rocksdb ifeq (rocksdb,$(findstring rocksdb,$(COSMOS_BUILD_OPTIONS))) CGO_ENABLED=1 BUILD_TAGS += rocksdb - ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=rocksdb + ldflags += -X github.com/line/lbm-sdk/v2/types.DBBackend=rocksdb endif # handle boltdb ifeq (boltdb,$(findstring boltdb,$(COSMOS_BUILD_OPTIONS))) BUILD_TAGS += boltdb - ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=boltdb + ldflags += -X github.com/line/lbm-sdk/v2/types.DBBackend=boltdb endif ifeq (,$(findstring nostrip,$(COSMOS_BUILD_OPTIONS))) @@ -187,7 +187,7 @@ update-swagger-docs: statik .PHONY: update-swagger-docs godocs: - @echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/cosmos-sdk/types" + @echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/line/lbm-sdk/v2/types" godoc -http=:6060 # This builds a docs site for each branch/tag in `./docs/versions` @@ -334,7 +334,7 @@ lint-fix: format: find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -path "./tests/mocks/*" -not -name '*.pb.go' | xargs gofmt -w -s find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -path "./tests/mocks/*" -not -name '*.pb.go' | xargs misspell -w - find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -path "./tests/mocks/*" -not -name '*.pb.go' | xargs goimports -w -local github.com/cosmos/cosmos-sdk + find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -path "./tests/mocks/*" -not -name '*.pb.go' | xargs goimports -w -local github.com/line/lbm-sdk/v2 .PHONY: format ############################################################################### @@ -344,12 +344,12 @@ format: DEVDOC_SAVE = docker commit `docker ps -a -n 1 -q` devdoc:local devdoc-init: - $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/cosmos/cosmos-sdk" -w "/go/src/github.com/cosmos/cosmos-sdk" tendermint/devdoc echo + $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/line/lbm-sdk/v2" -w "/go/src/github.com/line/lbm-sdk/v2" tendermint/devdoc echo # TODO make this safer $(call DEVDOC_SAVE) devdoc: - $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/cosmos/cosmos-sdk" -w "/go/src/github.com/cosmos/cosmos-sdk" devdoc:local bash + $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/line/lbm-sdk/v2" -w "/go/src/github.com/line/lbm-sdk/v2" devdoc:local bash devdoc-save: # TODO make this safer diff --git a/baseapp/abci.go b/baseapp/abci.go index 36c36d1e11..a03885ff06 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -16,11 +16,11 @@ import ( "google.golang.org/grpc/codes" grpcstatus "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/codec" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec" + snapshottypes "github.com/line/lbm-sdk/v2/snapshots/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // InitChain implements the ABCI interface. It runs the initialization logic diff --git a/baseapp/abci_test.go b/baseapp/abci_test.go index 8a61a0aebf..111b43a225 100644 --- a/baseapp/abci_test.go +++ b/baseapp/abci_test.go @@ -9,7 +9,7 @@ import ( tmprototypes "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestGetBlockRentionHeight(t *testing.T) { diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index a79aed801b..435926862a 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -13,12 +13,12 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/store" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/snapshots" + "github.com/line/lbm-sdk/v2/store" + "github.com/line/lbm-sdk/v2/store/rootmulti" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/baseapp/baseapp_test.go b/baseapp/baseapp_test.go index b0eace4d32..238a11ffee 100644 --- a/baseapp/baseapp_test.go +++ b/baseapp/baseapp_test.go @@ -21,15 +21,15 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/snapshots" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/snapshots" + snapshottypes "github.com/line/lbm-sdk/v2/snapshots/types" + "github.com/line/lbm-sdk/v2/store/rootmulti" + store "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) var ( diff --git a/baseapp/grpcrouter.go b/baseapp/grpcrouter.go index 95186f0b16..fbda146d37 100644 --- a/baseapp/grpcrouter.go +++ b/baseapp/grpcrouter.go @@ -10,10 +10,10 @@ import ( "google.golang.org/grpc/encoding" "google.golang.org/grpc/encoding/proto" - "github.com/cosmos/cosmos-sdk/client/grpc/reflection" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/client/grpc/reflection" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) var protoCodec = encoding.GetCodec(proto.Name) diff --git a/baseapp/grpcrouter_helpers.go b/baseapp/grpcrouter_helpers.go index 2ea74b55fc..d4110d91b8 100644 --- a/baseapp/grpcrouter_helpers.go +++ b/baseapp/grpcrouter_helpers.go @@ -8,8 +8,8 @@ import ( abci "github.com/tendermint/tendermint/abci/types" "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // QueryServiceTestHelper provides a helper for making grpc query service diff --git a/baseapp/grpcrouter_test.go b/baseapp/grpcrouter_test.go index 64b2a97b9b..68bfdbf76f 100644 --- a/baseapp/grpcrouter_test.go +++ b/baseapp/grpcrouter_test.go @@ -9,11 +9,11 @@ import ( "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestGRPCGatewayRouter(t *testing.T) { diff --git a/baseapp/grpcserver.go b/baseapp/grpcserver.go index c1db08a555..907d22f56a 100644 --- a/baseapp/grpcserver.go +++ b/baseapp/grpcserver.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/cosmos/cosmos-sdk/client" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/line/lbm-sdk/v2/client" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx" ) // GRPCQueryRouter returns the GRPCQueryRouter of a BaseApp. diff --git a/baseapp/msg_service_router.go b/baseapp/msg_service_router.go index ea2ed4b4eb..668ae68518 100644 --- a/baseapp/msg_service_router.go +++ b/baseapp/msg_service_router.go @@ -8,9 +8,9 @@ import ( "github.com/gogo/protobuf/proto" "google.golang.org/grpc" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // MsgServiceRouter routes fully-qualified Msg service methods to their handler. diff --git a/baseapp/msg_service_router_test.go b/baseapp/msg_service_router_test.go index 34f9c08027..a4ac1f85f0 100644 --- a/baseapp/msg_service_router_test.go +++ b/baseapp/msg_service_router_test.go @@ -10,12 +10,12 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authsigning "github.com/line/lbm-sdk/v2/x/auth/signing" ) func TestRegisterMsgService(t *testing.T) { diff --git a/baseapp/options.go b/baseapp/options.go index 33de1a3aa6..17b6f9cfc8 100644 --- a/baseapp/options.go +++ b/baseapp/options.go @@ -6,10 +6,10 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/snapshots" + "github.com/line/lbm-sdk/v2/store" + sdk "github.com/line/lbm-sdk/v2/types" ) // File for storing in-package BaseApp optional functions, diff --git a/baseapp/params.go b/baseapp/params.go index 14701d5247..4f7ebe93c1 100644 --- a/baseapp/params.go +++ b/baseapp/params.go @@ -7,7 +7,7 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // Paramspace defines the parameter subspace to be used for the paramstore. diff --git a/baseapp/params_test.go b/baseapp/params_test.go index 6507e17a8a..9e8afe54cc 100644 --- a/baseapp/params_test.go +++ b/baseapp/params_test.go @@ -7,7 +7,7 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/line/lbm-sdk/v2/baseapp" ) func TestValidateBlockParams(t *testing.T) { diff --git a/baseapp/queryrouter.go b/baseapp/queryrouter.go index 1727b2ab2d..99aa562453 100644 --- a/baseapp/queryrouter.go +++ b/baseapp/queryrouter.go @@ -3,7 +3,7 @@ package baseapp import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type QueryRouter struct { diff --git a/baseapp/queryrouter_test.go b/baseapp/queryrouter_test.go index c7637f1700..63d58e686f 100644 --- a/baseapp/queryrouter_test.go +++ b/baseapp/queryrouter_test.go @@ -7,7 +7,7 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var testQuerier = func(_ sdk.Context, _ []string, _ abci.RequestQuery) ([]byte, error) { diff --git a/baseapp/recovery.go b/baseapp/recovery.go index 7f0687800c..d15f2a222c 100644 --- a/baseapp/recovery.go +++ b/baseapp/recovery.go @@ -4,8 +4,8 @@ import ( "fmt" "runtime/debug" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // RecoveryHandler handles recovery() object. diff --git a/baseapp/router.go b/baseapp/router.go index 7e2e70a0c6..e647dc399c 100644 --- a/baseapp/router.go +++ b/baseapp/router.go @@ -3,7 +3,7 @@ package baseapp import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type Router struct { diff --git a/baseapp/router_test.go b/baseapp/router_test.go index 1e11dc0ca0..7275f76c2c 100644 --- a/baseapp/router_test.go +++ b/baseapp/router_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var testHandler = func(_ sdk.Context, _ sdk.Msg) (*sdk.Result, error) { diff --git a/baseapp/state.go b/baseapp/state.go index addc89cb34..4fc918a9ef 100644 --- a/baseapp/state.go +++ b/baseapp/state.go @@ -1,7 +1,7 @@ package baseapp import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type state struct { diff --git a/baseapp/test_helpers.go b/baseapp/test_helpers.go index 407ebd9a7c..6d27760e70 100644 --- a/baseapp/test_helpers.go +++ b/baseapp/test_helpers.go @@ -3,8 +3,8 @@ package baseapp import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) func (app *BaseApp) Check(txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.GasInfo, *sdk.Result, error) { diff --git a/client/account_retriever.go b/client/account_retriever.go index 8e2fd14c1f..eb4dfbc6e5 100644 --- a/client/account_retriever.go +++ b/client/account_retriever.go @@ -1,8 +1,8 @@ package client import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // Account defines a read-only version of the auth module's AccountI. diff --git a/client/broadcast.go b/client/broadcast.go index 0912de81e8..4b6691e905 100644 --- a/client/broadcast.go +++ b/client/broadcast.go @@ -10,10 +10,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx" ) // BroadcastTx broadcasts a transactions either synchronously or asynchronously diff --git a/client/broadcast_test.go b/client/broadcast_test.go index 5ac6e47c24..9931a7b9f7 100644 --- a/client/broadcast_test.go +++ b/client/broadcast_test.go @@ -12,8 +12,8 @@ import ( ctypes "github.com/tendermint/tendermint/rpc/core/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client/flags" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/client/flags" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) type MockClient struct { diff --git a/client/cmd.go b/client/cmd.go index eccf59c351..f7cf14a705 100644 --- a/client/cmd.go +++ b/client/cmd.go @@ -10,9 +10,9 @@ import ( "github.com/tendermint/tendermint/libs/cli" rpchttp "github.com/tendermint/tendermint/rpc/client/http" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/keyring" + sdk "github.com/line/lbm-sdk/v2/types" ) // ClientContextKey defines the context key used to retrieve a client.Context from diff --git a/client/cmd_test.go b/client/cmd_test.go index 02e2c414f6..ca1e645bda 100644 --- a/client/cmd_test.go +++ b/client/cmd_test.go @@ -8,9 +8,9 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/testutil" ) func TestValidateCmd(t *testing.T) { diff --git a/client/context.go b/client/context.go index 0e3d1181af..bb2da71872 100644 --- a/client/context.go +++ b/client/context.go @@ -11,10 +11,10 @@ import ( "github.com/pkg/errors" rpcclient "github.com/tendermint/tendermint/rpc/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/keyring" + sdk "github.com/line/lbm-sdk/v2/types" ) // Context implements a typical context created in SDK modules for transaction diff --git a/client/context_test.go b/client/context_test.go index 978f31732c..2256d03de7 100644 --- a/client/context_test.go +++ b/client/context_test.go @@ -9,13 +9,13 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) func TestMain(m *testing.M) { diff --git a/client/debug/main.go b/client/debug/main.go index 54b75e712b..352d39729a 100644 --- a/client/debug/main.go +++ b/client/debug/main.go @@ -9,12 +9,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/version" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/version" ) func Cmd() *cobra.Command { diff --git a/client/docs/statik/init.go b/client/docs/statik/init.go index 7d91b40fcd..fa315cd010 100644 --- a/client/docs/statik/init.go +++ b/client/docs/statik/init.go @@ -1,3 +1,3 @@ package statik -//This just for fixing the error in importing empty github.com/cosmos/cosmos-sdk/client/docs/statik +//This just for fixing the error in importing empty github.com/line/lbm-sdk/v2/client/docs/statik diff --git a/client/flags/flags.go b/client/flags/flags.go index 282a61c4c9..d59cd1d2d4 100644 --- a/client/flags/flags.go +++ b/client/flags/flags.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/line/lbm-sdk/v2/crypto/keyring" ) const ( diff --git a/client/flags/flags_test.go b/client/flags/flags_test.go index 5cc591bebb..dc76aaf8fc 100644 --- a/client/flags/flags_test.go +++ b/client/flags/flags_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/line/lbm-sdk/v2/client/flags" ) func TestParseGasSetting(t *testing.T) { diff --git a/client/grpc/reflection/reflection.go b/client/grpc/reflection/reflection.go index eb07ea86bd..587a979984 100644 --- a/client/grpc/reflection/reflection.go +++ b/client/grpc/reflection/reflection.go @@ -6,7 +6,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" ) type reflectionServiceServer struct { diff --git a/client/grpc/reflection/reflection_test.go b/client/grpc/reflection/reflection_test.go index 211fc397ad..e1edf80184 100644 --- a/client/grpc/reflection/reflection_test.go +++ b/client/grpc/reflection/reflection_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client/grpc/reflection" - "github.com/cosmos/cosmos-sdk/simapp" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/client/grpc/reflection" + "github.com/line/lbm-sdk/v2/simapp" ) type IntegrationTestSuite struct { diff --git a/client/grpc/tmservice/block.go b/client/grpc/tmservice/block.go index e92fbec72b..fc9e63df4a 100644 --- a/client/grpc/tmservice/block.go +++ b/client/grpc/tmservice/block.go @@ -5,7 +5,7 @@ import ( ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) func getBlock(clientCtx client.Context, height *int64) (*ctypes.ResultBlock, error) { diff --git a/client/grpc/tmservice/query.pb.go b/client/grpc/tmservice/query.pb.go index 8055c8c162..e1fb82928e 100644 --- a/client/grpc/tmservice/query.pb.go +++ b/client/grpc/tmservice/query.pb.go @@ -6,11 +6,11 @@ package tmservice import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + query "github.com/line/lbm-sdk/v2/types/query" p2p "github.com/tendermint/tendermint/proto/tendermint/p2p" types1 "github.com/tendermint/tendermint/proto/tendermint/types" _ "google.golang.org/genproto/googleapis/api/annotations" diff --git a/client/grpc/tmservice/service.go b/client/grpc/tmservice/service.go index 58d44af579..2c91e94c1a 100644 --- a/client/grpc/tmservice/service.go +++ b/client/grpc/tmservice/service.go @@ -8,12 +8,12 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rpc" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - qtypes "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/version" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/rpc" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + qtypes "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/version" ) // This is the struct that we will implement all the handlers on. diff --git a/client/grpc/tmservice/service_test.go b/client/grpc/tmservice/service_test.go index dd8f0dd50e..7c594801c0 100644 --- a/client/grpc/tmservice/service_test.go +++ b/client/grpc/tmservice/service_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/network" - qtypes "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/version" + "github.com/line/lbm-sdk/v2/client/grpc/tmservice" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil/network" + qtypes "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/version" ) type IntegrationTestSuite struct { diff --git a/client/grpc/tmservice/status.go b/client/grpc/tmservice/status.go index f1a8da8e83..591b45ad04 100644 --- a/client/grpc/tmservice/status.go +++ b/client/grpc/tmservice/status.go @@ -5,7 +5,7 @@ import ( ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) func getNodeStatus(clientCtx client.Context) (*ctypes.ResultStatus, error) { diff --git a/client/grpc_query.go b/client/grpc_query.go index 011523944c..41be4ffb84 100644 --- a/client/grpc_query.go +++ b/client/grpc_query.go @@ -13,10 +13,10 @@ import ( "google.golang.org/grpc/encoding/proto" "google.golang.org/grpc/metadata" - "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/line/lbm-sdk/v2/codec/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/tx" ) var _ gogogrpc.ClientConn = Context{} diff --git a/client/grpc_query_test.go b/client/grpc_query_test.go index c4d2f024a0..1038d6ffc3 100644 --- a/client/grpc_query_test.go +++ b/client/grpc_query_test.go @@ -11,11 +11,11 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) type IntegrationTestSuite struct { diff --git a/client/keys/add.go b/client/keys/add.go index ae937b5a4b..4b4371d3e1 100644 --- a/client/keys/add.go +++ b/client/keys/add.go @@ -11,14 +11,14 @@ import ( "github.com/spf13/cobra" "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/input" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/client/keys/add_ledger_test.go b/client/keys/add_ledger_test.go index b8ba1ec7f5..eed196503a 100644 --- a/client/keys/add_ledger_test.go +++ b/client/keys/add_ledger_test.go @@ -11,12 +11,12 @@ import ( "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_runAddCmdLedgerWithCustomCoinType(t *testing.T) { diff --git a/client/keys/add_test.go b/client/keys/add_test.go index aa6f68876a..e5a91c4429 100644 --- a/client/keys/add_test.go +++ b/client/keys/add_test.go @@ -9,12 +9,12 @@ import ( "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_runAddCmdBasic(t *testing.T) { diff --git a/client/keys/codec.go b/client/keys/codec.go index 2fb7bd9439..6dfb5d9255 100644 --- a/client/keys/codec.go +++ b/client/keys/codec.go @@ -1,8 +1,8 @@ package keys import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" ) // KeysCdc defines codec to be used with key operations diff --git a/client/keys/codec_test.go b/client/keys/codec_test.go index 33f6103d18..589254fc75 100644 --- a/client/keys/codec_test.go +++ b/client/keys/codec_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/keys" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/line/lbm-sdk/v2/client/keys" + "github.com/line/lbm-sdk/v2/crypto/keyring" ) type testCases struct { diff --git a/client/keys/delete.go b/client/keys/delete.go index e092171014..a4b788f652 100644 --- a/client/keys/delete.go +++ b/client/keys/delete.go @@ -3,9 +3,9 @@ package keys import ( "bufio" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/input" + "github.com/line/lbm-sdk/v2/crypto/keyring" "github.com/spf13/cobra" ) diff --git a/client/keys/delete_test.go b/client/keys/delete_test.go index 5a00139671..9669c2af62 100644 --- a/client/keys/delete_test.go +++ b/client/keys/delete_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_runDeleteCmd(t *testing.T) { diff --git a/client/keys/export.go b/client/keys/export.go index 7e9cb88ed6..29c755ec9e 100644 --- a/client/keys/export.go +++ b/client/keys/export.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/input" + "github.com/line/lbm-sdk/v2/crypto/keyring" ) const ( diff --git a/client/keys/export_test.go b/client/keys/export_test.go index b01bbf8230..cb238771d0 100644 --- a/client/keys/export_test.go +++ b/client/keys/export_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/testutil" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/keyring" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_runExportCmd(t *testing.T) { diff --git a/client/keys/import.go b/client/keys/import.go index 2b7e230654..5885b47e9c 100644 --- a/client/keys/import.go +++ b/client/keys/import.go @@ -6,8 +6,8 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/input" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/input" ) // ImportKeyCommand imports private keys from a keyfile. diff --git a/client/keys/import_test.go b/client/keys/import_test.go index 1c8d01cb16..f958bbb7a7 100644 --- a/client/keys/import_test.go +++ b/client/keys/import_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_runImportCmd(t *testing.T) { diff --git a/client/keys/list.go b/client/keys/list.go index de7681acc9..f7144a34eb 100644 --- a/client/keys/list.go +++ b/client/keys/list.go @@ -4,7 +4,7 @@ import ( "github.com/spf13/cobra" "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) const flagListNames = "list-names" diff --git a/client/keys/list_test.go b/client/keys/list_test.go index 5904f74bfd..0b514cabab 100644 --- a/client/keys/list_test.go +++ b/client/keys/list_test.go @@ -8,12 +8,12 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_runListCmd(t *testing.T) { diff --git a/client/keys/migrate.go b/client/keys/migrate.go index 4816381e8c..3d2da8b4ec 100644 --- a/client/keys/migrate.go +++ b/client/keys/migrate.go @@ -9,10 +9,10 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/input" + "github.com/line/lbm-sdk/v2/crypto/keyring" + sdk "github.com/line/lbm-sdk/v2/types" ) // migratePassphrase is used as a no-op migration key passphrase as a passphrase diff --git a/client/keys/migrate_test.go b/client/keys/migrate_test.go index 32746291c8..9912222978 100644 --- a/client/keys/migrate_test.go +++ b/client/keys/migrate_test.go @@ -5,16 +5,16 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" "github.com/stretchr/testify/require" "github.com/otiai10/copy" "github.com/stretchr/testify/assert" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/testutil" ) func Test_runMigrateCmd(t *testing.T) { diff --git a/client/keys/mnemonic.go b/client/keys/mnemonic.go index c411612782..81a8d3bb1d 100644 --- a/client/keys/mnemonic.go +++ b/client/keys/mnemonic.go @@ -8,7 +8,7 @@ import ( bip39 "github.com/cosmos/go-bip39" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client/input" + "github.com/line/lbm-sdk/v2/client/input" ) const ( diff --git a/client/keys/mnemonic_test.go b/client/keys/mnemonic_test.go index c986e6230b..0c4cb9bf58 100644 --- a/client/keys/mnemonic_test.go +++ b/client/keys/mnemonic_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/testutil" ) func Test_RunMnemonicCmdNormal(t *testing.T) { diff --git a/client/keys/parse.go b/client/keys/parse.go index 2af792c03c..398559e8bb 100644 --- a/client/keys/parse.go +++ b/client/keys/parse.go @@ -12,8 +12,8 @@ import ( "github.com/tendermint/tendermint/libs/cli" yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/bech32" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/bech32" ) func bech32Prefixes(config *sdk.Config) []string { diff --git a/client/keys/parse_test.go b/client/keys/parse_test.go index 687922db3c..b3f5df9c6b 100644 --- a/client/keys/parse_test.go +++ b/client/keys/parse_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestParseKey(t *testing.T) { diff --git a/client/keys/root.go b/client/keys/root.go index 92c78c3abe..8d4842de14 100644 --- a/client/keys/root.go +++ b/client/keys/root.go @@ -4,7 +4,7 @@ import ( "github.com/spf13/cobra" "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/line/lbm-sdk/v2/client/flags" ) // Commands registers a sub-tree of commands to interact with diff --git a/client/keys/show.go b/client/keys/show.go index b72585d9dc..7b3695af85 100644 --- a/client/keys/show.go +++ b/client/keys/show.go @@ -7,12 +7,12 @@ import ( "github.com/spf13/cobra" "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/ledger" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/ledger" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/client/keys/show_test.go b/client/keys/show_test.go index 882a80683a..996fd527ae 100644 --- a/client/keys/show_test.go +++ b/client/keys/show_test.go @@ -7,15 +7,15 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_multiSigKey_Properties(t *testing.T) { diff --git a/client/keys/types_test.go b/client/keys/types_test.go index 24428a5b92..3e8bcc3060 100644 --- a/client/keys/types_test.go +++ b/client/keys/types_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/keys" + "github.com/line/lbm-sdk/v2/client/keys" ) func TestConstructors(t *testing.T) { diff --git a/client/keys/utils.go b/client/keys/utils.go index 7490914d11..505989d11b 100644 --- a/client/keys/utils.go +++ b/client/keys/utils.go @@ -7,7 +7,7 @@ import ( yaml "gopkg.in/yaml.v2" - cryptokeyring "github.com/cosmos/cosmos-sdk/crypto/keyring" + cryptokeyring "github.com/line/lbm-sdk/v2/crypto/keyring" ) // available output formats. diff --git a/client/query.go b/client/query.go index 18a5c3c2f4..f98f266225 100644 --- a/client/query.go +++ b/client/query.go @@ -11,8 +11,8 @@ import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" rpcclient "github.com/tendermint/tendermint/rpc/client" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/store/rootmulti" + sdk "github.com/line/lbm-sdk/v2/types" ) // GetNode returns an RPC client. If the context's client is not defined, an diff --git a/client/rest/rest.go b/client/rest/rest.go index ac05891e04..d0cb65cb89 100644 --- a/client/rest/rest.go +++ b/client/rest/rest.go @@ -8,7 +8,7 @@ import ( // DeprecationURL is the URL for migrating deprecated REST endpoints to newer ones. // TODO Switch to `/` (not `/master`) once v0.40 docs are deployed. -// https://github.com/cosmos/cosmos-sdk/issues/8019 +// https://github.com/line/lbm-sdk/v2/issues/8019 const DeprecationURL = "https://docs.cosmos.network/master/migrations/rest.html" // addHTTPDeprecationHeaders is a mux middleware function for adding HTTP diff --git a/client/rpc/block.go b/client/rpc/block.go index d6b79c9fe6..82d08b3eca 100644 --- a/client/rpc/block.go +++ b/client/rpc/block.go @@ -9,10 +9,10 @@ import ( "github.com/gorilla/mux" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/codec/legacy" + "github.com/line/lbm-sdk/v2/types/rest" ) //BlockCommand returns the verified block data for a given heights diff --git a/client/rpc/routes.go b/client/rpc/routes.go index 7934ece7c9..ac63354de2 100644 --- a/client/rpc/routes.go +++ b/client/rpc/routes.go @@ -3,7 +3,7 @@ package rpc import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) // Register REST endpoints. diff --git a/client/rpc/rpc_test.go b/client/rpc/rpc_test.go index adb7dac82d..cc34af86b0 100644 --- a/client/rpc/rpc_test.go +++ b/client/rpc/rpc_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/suite" ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/codec/legacy" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/line/lbm-sdk/v2/client/rpc" + "github.com/line/lbm-sdk/v2/codec/legacy" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/types/rest" ) type IntegrationTestSuite struct { diff --git a/client/rpc/status.go b/client/rpc/status.go index 82f6552024..b38586fdd7 100644 --- a/client/rpc/status.go +++ b/client/rpc/status.go @@ -10,12 +10,12 @@ import ( "github.com/tendermint/tendermint/p2p" ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/version" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/version" ) // ValidatorInfo is info about the node's validator, same as Tendermint, diff --git a/client/rpc/validators.go b/client/rpc/validators.go index 66c594966e..a6e718384b 100644 --- a/client/rpc/validators.go +++ b/client/rpc/validators.go @@ -12,12 +12,12 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" ) // TODO these next two functions feel kinda hacky based on their placement diff --git a/client/test_helpers.go b/client/test_helpers.go index 214184b50f..fc6254e952 100644 --- a/client/test_helpers.go +++ b/client/test_helpers.go @@ -3,8 +3,8 @@ package client import ( "fmt" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var ( diff --git a/client/tx/factory.go b/client/tx/factory.go index b10d728d6b..0af14306c8 100644 --- a/client/tx/factory.go +++ b/client/tx/factory.go @@ -3,11 +3,11 @@ package tx import ( "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/keyring" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // Factory defines a client transaction factory that facilitates generating and diff --git a/client/tx/legacy.go b/client/tx/legacy.go index b551ecebb8..49bd2a2a04 100644 --- a/client/tx/legacy.go +++ b/client/tx/legacy.go @@ -3,11 +3,11 @@ package tx import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) // ConvertTxToStdTx converts a transaction to the legacy StdTx format diff --git a/client/tx/legacy_test.go b/client/tx/legacy_test.go index b10c51e344..c0f58bed1d 100644 --- a/client/tx/legacy_test.go +++ b/client/tx/legacy_test.go @@ -6,18 +6,18 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - tx2 "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/params" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/types" - signing2 "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/tx" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + tx2 "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/simapp/params" + "github.com/line/lbm-sdk/v2/testutil/testdata" + "github.com/line/lbm-sdk/v2/types" + signing2 "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/signing" + "github.com/line/lbm-sdk/v2/x/auth/tx" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) const ( diff --git a/client/tx/tx.go b/client/tx/tx.go index 594293732b..ded74fb15f 100644 --- a/client/tx/tx.go +++ b/client/tx/tx.go @@ -9,18 +9,18 @@ import ( "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/input" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authsigning "github.com/line/lbm-sdk/v2/x/auth/signing" + authtx "github.com/line/lbm-sdk/v2/x/auth/tx" ) // GenerateOrBroadcastTxCLI will either generate and print and unsigned transaction @@ -287,7 +287,7 @@ func CalculateGas( } // TODO This should use the generated tx service Client. - // https://github.com/cosmos/cosmos-sdk/issues/7726 + // https://github.com/line/lbm-sdk/v2/issues/7726 bz, _, err := queryFunc("/cosmos.tx.v1beta1.Service/Simulate", txBytes) if err != nil { return tx.SimulateResponse{}, 0, err diff --git a/client/tx/tx_test.go b/client/tx/tx_test.go index 3c7a4bebef..2cde023d75 100644 --- a/client/tx/tx_test.go +++ b/client/tx/tx_test.go @@ -6,17 +6,17 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + txtypes "github.com/line/lbm-sdk/v2/types/tx" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/signing" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) func NewTestTxConfig() client.TxConfig { diff --git a/client/tx_config.go b/client/tx_config.go index 6992a7a240..529066153c 100644 --- a/client/tx_config.go +++ b/client/tx_config.go @@ -1,9 +1,9 @@ package client import ( - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + sdk "github.com/line/lbm-sdk/v2/types" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) type ( diff --git a/client/utils.go b/client/utils.go index 99a5be2de4..b17b23f9e7 100644 --- a/client/utils.go +++ b/client/utils.go @@ -3,9 +3,9 @@ package client import ( "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client/flags" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/line/lbm-sdk/v2/client/flags" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/query" ) // Paginate returns the correct starting and ending index for a paginated query, diff --git a/client/utils_test.go b/client/utils_test.go index c8cb93a9f5..fd66e2c759 100644 --- a/client/utils_test.go +++ b/client/utils_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) func TestPaginate(t *testing.T) { diff --git a/codec/amino.go b/codec/amino.go index 78fd650ca4..67ff70bb26 100644 --- a/codec/amino.go +++ b/codec/amino.go @@ -10,7 +10,7 @@ import ( amino "github.com/tendermint/go-amino" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" ) // deprecated: LegacyAmino defines a wrapper for an Amino codec that properly handles protobuf diff --git a/codec/amino_codec_test.go b/codec/amino_codec_test.go index d95ddc8d97..fec4597dfe 100644 --- a/codec/amino_codec_test.go +++ b/codec/amino_codec_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + "github.com/line/lbm-sdk/v2/x/auth/client/rest" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) func createTestCodec() *codec.LegacyAmino { diff --git a/codec/any_test.go b/codec/any_test.go index 16e1b7b778..589f2ff367 100644 --- a/codec/any_test.go +++ b/codec/any_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) func NewTestInterfaceRegistry() types.InterfaceRegistry { diff --git a/codec/codec.go b/codec/codec.go index 4746c58b6f..617f2a5b3d 100644 --- a/codec/codec.go +++ b/codec/codec.go @@ -3,7 +3,7 @@ package codec import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" ) type ( diff --git a/codec/codec_common_test.go b/codec/codec_common_test.go index 12e9bd2224..66c9902988 100644 --- a/codec/codec_common_test.go +++ b/codec/codec_common_test.go @@ -6,9 +6,9 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) type interfaceMarshaler struct { diff --git a/codec/json.go b/codec/json.go index db77365e03..6ca4074940 100644 --- a/codec/json.go +++ b/codec/json.go @@ -3,7 +3,7 @@ package codec import ( "bytes" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" "github.com/gogo/protobuf/jsonpb" "github.com/gogo/protobuf/proto" diff --git a/codec/legacy/codec.go b/codec/legacy/codec.go index 5ec6b2976c..d631de2578 100644 --- a/codec/legacy/codec.go +++ b/codec/legacy/codec.go @@ -1,9 +1,9 @@ package legacy import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) // Cdc defines a global generic sealed Amino codec to be used throughout sdk. It diff --git a/codec/proto_codec.go b/codec/proto_codec.go index 38f60ba3ae..c2929d4cab 100644 --- a/codec/proto_codec.go +++ b/codec/proto_codec.go @@ -9,7 +9,7 @@ import ( "github.com/gogo/protobuf/jsonpb" "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" ) // ProtoCodecMarshaler defines an interface for codecs that utilize Protobuf for both diff --git a/codec/proto_codec_test.go b/codec/proto_codec_test.go index 706d025d59..de32d36181 100644 --- a/codec/proto_codec_test.go +++ b/codec/proto_codec_test.go @@ -8,9 +8,9 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) func createTestInterfaceRegistry() types.InterfaceRegistry { diff --git a/codec/types/any.go b/codec/types/any.go index faa8693d73..bee80706c1 100644 --- a/codec/types/any.go +++ b/codec/types/any.go @@ -3,7 +3,7 @@ package types import ( "github.com/gogo/protobuf/proto" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) type Any struct { diff --git a/codec/types/any_test.go b/codec/types/any_test.go index cea3e0444e..f5ae3a1fd6 100644 --- a/codec/types/any_test.go +++ b/codec/types/any_test.go @@ -7,8 +7,8 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) type errOnMarshal struct { diff --git a/codec/types/compat_test.go b/codec/types/compat_test.go index 56cb32e82c..1665bb53c1 100644 --- a/codec/types/compat_test.go +++ b/codec/types/compat_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/suite" amino "github.com/tendermint/go-amino" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) type TypeWithInterface struct { diff --git a/codec/types/types_test.go b/codec/types/types_test.go index b2d0142695..830e901931 100644 --- a/codec/types/types_test.go +++ b/codec/types/types_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) func TestPackUnpack(t *testing.T) { diff --git a/codec/unknownproto/benchmarks_test.go b/codec/unknownproto/benchmarks_test.go index 373dda7acf..9616abf048 100644 --- a/codec/unknownproto/benchmarks_test.go +++ b/codec/unknownproto/benchmarks_test.go @@ -6,8 +6,8 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/unknownproto" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec/unknownproto" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) var n1BBlob []byte diff --git a/codec/unknownproto/regression_test.go b/codec/unknownproto/regression_test.go index 24c4056fbd..79320277c7 100644 --- a/codec/unknownproto/regression_test.go +++ b/codec/unknownproto/regression_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" + "github.com/line/lbm-sdk/v2/simapp" ) // Issue #7739: Catch parse errors resulting from unexpected EOF in @@ -18,7 +18,7 @@ func TestBadBytesPassedIntoDecoder(t *testing.T) { decoder := cfg.TxConfig.TxDecoder() tx, err := decoder(data) - // TODO: When issue https://github.com/cosmos/cosmos-sdk/issues/7846 + // TODO: When issue https://github.com/line/lbm-sdk/v2/issues/7846 // is addressed, we'll remove this .Contains check. require.Contains(t, err.Error(), io.ErrUnexpectedEOF.Error()) require.Nil(t, tx) diff --git a/codec/unknownproto/unknown_fields.go b/codec/unknownproto/unknown_fields.go index b9db642962..917b072714 100644 --- a/codec/unknownproto/unknown_fields.go +++ b/codec/unknownproto/unknown_fields.go @@ -15,7 +15,7 @@ import ( "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" "google.golang.org/protobuf/encoding/protowire" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" ) const bit11NonCritical = 1 << 10 diff --git a/codec/unknownproto/unknown_fields_test.go b/codec/unknownproto/unknown_fields_test.go index ad3926cedb..c4e903ab00 100644 --- a/codec/unknownproto/unknown_fields_test.go +++ b/codec/unknownproto/unknown_fields_test.go @@ -8,8 +8,8 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) func TestRejectUnknownFieldsRepeated(t *testing.T) { @@ -651,7 +651,7 @@ func TestRejectUnknownFieldsFlat(t *testing.T) { } } -// Issue https://github.com/cosmos/cosmos-sdk/issues/7222, we need to ensure that repeated +// Issue https://github.com/line/lbm-sdk/v2/issues/7222, we need to ensure that repeated // uint64 are recognized as packed. func TestPackedEncoding(t *testing.T) { data := testdata.TestRepeatedUints{Nums: []uint64{12, 13}} diff --git a/codec/yaml_test.go b/codec/yaml_test.go index e9206a74a3..252b0aff07 100644 --- a/codec/yaml_test.go +++ b/codec/yaml_test.go @@ -3,12 +3,12 @@ package codec_test import ( "testing" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/line/lbm-sdk/v2/codec" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) func TestMarshalYAML(t *testing.T) { diff --git a/contrib/githooks/pre-commit b/contrib/githooks/pre-commit index 2a9ad27af6..45e49f9822 100755 --- a/contrib/githooks/pre-commit +++ b/contrib/githooks/pre-commit @@ -31,7 +31,7 @@ if [[ $STAGED_GO_FILES != "" ]]; then gofmt -w -s $file misspell -w $file - goimports -w -local github.com/cosmos/cosmos-sdk $file + goimports -w -local github.com/line/lbm-sdk/v2 $file git add $file done diff --git a/cosmovisor/cmd/cosmovisor/main.go b/cosmovisor/cmd/cosmovisor/main.go index a165acab38..a428a4d34c 100644 --- a/cosmovisor/cmd/cosmovisor/main.go +++ b/cosmovisor/cmd/cosmovisor/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/cosmos/cosmos-sdk/cosmovisor" + "github.com/line/lbm-sdk/v2/cosmovisor" ) func main() { diff --git a/cosmovisor/go.mod b/cosmovisor/go.mod index fe6be0cdd4..c472fd05f9 100644 --- a/cosmovisor/go.mod +++ b/cosmovisor/go.mod @@ -1,4 +1,4 @@ -module github.com/cosmos/cosmos-sdk/cosmovisor +module github.com/line/lbm-sdk/cosmovisor go 1.14 diff --git a/cosmovisor/process_test.go b/cosmovisor/process_test.go index 6dc964f21e..0d1b6fb10c 100644 --- a/cosmovisor/process_test.go +++ b/cosmovisor/process_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/cosmovisor" + "github.com/line/lbm-sdk/v2/cosmovisor" ) type processTestSuite struct { @@ -78,7 +78,7 @@ func (s *processTestSuite) TestLaunchProcessWithDownloads() { s.Require().NoError(err) s.Require().True(doUpgrade) s.Require().Equal("", stderr.String()) - s.Require().Equal("Preparing auto-download some args\n"+`ERROR: UPGRADE "chain2" NEEDED at height: 49: {"binaries":{"linux/amd64":"https://github.com/cosmos/cosmos-sdk/raw/51249cb93130810033408934454841c98423ed4b/cosmovisor/testdata/repo/zip_binary/autod.zip?checksum=sha256:dc48829b4126ae95bc0db316c66d4e9da5f3db95e212665b6080638cca77e998"}} module=main`+"\n", stdout.String()) + s.Require().Equal("Preparing auto-download some args\n"+`ERROR: UPGRADE "chain2" NEEDED at height: 49: {"binaries":{"linux/amd64":"https://github.com/line/lbm-sdk/v2/raw/51249cb93130810033408934454841c98423ed4b/cosmovisor/testdata/repo/zip_binary/autod.zip?checksum=sha256:dc48829b4126ae95bc0db316c66d4e9da5f3db95e212665b6080638cca77e998"}} module=main`+"\n", stdout.String()) // ensure this is upgraded now and produces new output currentBin, err = cfg.CurrentBin() @@ -91,7 +91,7 @@ func (s *processTestSuite) TestLaunchProcessWithDownloads() { s.Require().NoError(err) s.Require().True(doUpgrade) s.Require().Equal("", stderr.String()) - s.Require().Equal("Chain 2 from zipped binary link to referral\nArgs: run --fast\n"+`ERROR: UPGRADE "chain3" NEEDED at height: 936: https://github.com/cosmos/cosmos-sdk/raw/0eae1a50612b8bf803336d35055896fbddaa1ddd/cosmovisor/testdata/repo/ref_zipped?checksum=sha256:0a428575de718ed3cf0771c9687eefaf6f19359977eca4d94a0abd0e11ef8e64 module=main`+"\n", stdout.String()) + s.Require().Equal("Chain 2 from zipped binary link to referral\nArgs: run --fast\n"+`ERROR: UPGRADE "chain3" NEEDED at height: 936: https://github.com/line/lbm-sdk/v2/raw/0eae1a50612b8bf803336d35055896fbddaa1ddd/cosmovisor/testdata/repo/ref_zipped?checksum=sha256:0a428575de718ed3cf0771c9687eefaf6f19359977eca4d94a0abd0e11ef8e64 module=main`+"\n", stdout.String()) // ended with one more upgrade currentBin, err = cfg.CurrentBin() diff --git a/cosmovisor/scanner.go b/cosmovisor/scanner.go index 81bca0717a..d590ea6fee 100644 --- a/cosmovisor/scanner.go +++ b/cosmovisor/scanner.go @@ -6,9 +6,9 @@ import ( ) // Trim off whitespace around the info - match least greedy, grab as much space on both sides -// Defined here: https://github.com/cosmos/cosmos-sdk/blob/release/v0.38.2/x/upgrade/abci.go#L38 +// Defined here: https://github.com/line/lbm-sdk/v2/blob/release/v0.38.2/x/upgrade/abci.go#L38 // fmt.Sprintf("UPGRADE \"%s\" NEEDED at %s: %s", plan.Name, plan.DueAt(), plan.Info) -// DueAt defined here: https://github.com/cosmos/cosmos-sdk/blob/release/v0.38.2/x/upgrade/internal/types/plan.go#L73-L78 +// DueAt defined here: https://github.com/line/lbm-sdk/v2/blob/release/v0.38.2/x/upgrade/internal/types/plan.go#L73-L78 // // if !p.Time.IsZero() { // return fmt.Sprintf("time: %s", p.Time.UTC().Format(time.RFC3339)) diff --git a/cosmovisor/scanner_test.go b/cosmovisor/scanner_test.go index 9e42410c7b..41c8c67064 100644 --- a/cosmovisor/scanner_test.go +++ b/cosmovisor/scanner_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "github.com/cosmos/cosmos-sdk/cosmovisor" + "github.com/line/lbm-sdk/v2/cosmovisor" "github.com/stretchr/testify/require" ) diff --git a/cosmovisor/upgrade_test.go b/cosmovisor/upgrade_test.go index 2123df8e40..38e86df0fe 100644 --- a/cosmovisor/upgrade_test.go +++ b/cosmovisor/upgrade_test.go @@ -14,7 +14,7 @@ import ( "github.com/otiai10/copy" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/cosmovisor" + "github.com/line/lbm-sdk/v2/cosmovisor" ) type upgradeTestSuite struct { @@ -144,7 +144,7 @@ func (s *upgradeTestSuite) TestGetDownloadURL() { }, "follow reference": { info: ref, - url: "https://github.com/cosmos/cosmos-sdk/raw/aa5d6140ad4011bb33d472dca8246a0dcbe223ee/cosmovisor/testdata/repo/zip_directory/autod.zip?checksum=sha256:3784e4574cad69b67e34d4ea4425eff140063a3870270a301d6bb24a098a27ae", + url: "https://github.com/line/lbm-sdk/v2/raw/aa5d6140ad4011bb33d472dca8246a0dcbe223ee/cosmovisor/testdata/repo/zip_directory/autod.zip?checksum=sha256:3784e4574cad69b67e34d4ea4425eff140063a3870270a301d6bb24a098a27ae", }, "malformated reference target": { info: badref, diff --git a/crypto/armor.go b/crypto/armor.go index 35deb10779..1b5ced1bcc 100644 --- a/crypto/armor.go +++ b/crypto/armor.go @@ -9,9 +9,9 @@ import ( "github.com/tendermint/tendermint/crypto/armor" "github.com/tendermint/tendermint/crypto/xsalsa20symmetric" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec/legacy" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/crypto/armor_test.go b/crypto/armor_test.go index abbc7870aa..43c534b968 100644 --- a/crypto/armor_test.go +++ b/crypto/armor_test.go @@ -13,13 +13,13 @@ import ( "github.com/tendermint/tendermint/crypto/armor" "github.com/tendermint/tendermint/crypto/xsalsa20symmetric" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec/legacy" + "github.com/line/lbm-sdk/v2/crypto" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types" ) func TestArmorUnarmorPrivKey(t *testing.T) { diff --git a/crypto/codec/amino.go b/crypto/codec/amino.go index d50a08864c..73c3f4213d 100644 --- a/crypto/codec/amino.go +++ b/crypto/codec/amino.go @@ -3,11 +3,11 @@ package codec import ( "github.com/tendermint/tendermint/crypto/sr25519" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) // RegisterCrypto registers all crypto dependency types with the provided Amino diff --git a/crypto/codec/proto.go b/crypto/codec/proto.go index 9c07ca1105..20193f633d 100644 --- a/crypto/codec/proto.go +++ b/crypto/codec/proto.go @@ -1,11 +1,11 @@ package codec import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) // RegisterInterfaces registers the sdk.Tx interface. diff --git a/crypto/codec/tm.go b/crypto/codec/tm.go index 8c841e96b3..3f2bf3f60e 100644 --- a/crypto/codec/tm.go +++ b/crypto/codec/tm.go @@ -5,10 +5,10 @@ import ( "github.com/tendermint/tendermint/crypto/encoding" tmprotocrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // FromTmProtoPublicKey converts a TM's tmprotocrypto.PublicKey into our own PubKey. diff --git a/crypto/hd/algo.go b/crypto/hd/algo.go index f934ad08ae..e2e2d25f9f 100644 --- a/crypto/hd/algo.go +++ b/crypto/hd/algo.go @@ -3,8 +3,8 @@ package hd import ( bip39 "github.com/cosmos/go-bip39" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/crypto/types" ) // PubKeyType defines an algorithm to derive key-pairs which can be used for cryptographic signing. diff --git a/crypto/hd/algo_test.go b/crypto/hd/algo_test.go index 767b421540..9825d17877 100644 --- a/crypto/hd/algo_test.go +++ b/crypto/hd/algo_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/hd" ) func TestDefaults(t *testing.T) { diff --git a/crypto/hd/fundraiser_test.go b/crypto/hd/fundraiser_test.go index 4afbfc5a9c..60c0dd79c3 100644 --- a/crypto/hd/fundraiser_test.go +++ b/crypto/hd/fundraiser_test.go @@ -13,8 +13,8 @@ import ( "github.com/tendermint/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" ) type addrData struct { diff --git a/crypto/hd/hdpath_test.go b/crypto/hd/hdpath_test.go index 8b1c40692c..5ad8d8ffb4 100644 --- a/crypto/hd/hdpath_test.go +++ b/crypto/hd/hdpath_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/types" bip39 "github.com/cosmos/go-bip39" "github.com/stretchr/testify/require" diff --git a/crypto/keyring/codec.go b/crypto/keyring/codec.go index 558f377752..3a99c4e52f 100644 --- a/crypto/keyring/codec.go +++ b/crypto/keyring/codec.go @@ -1,9 +1,9 @@ package keyring import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/legacy" + "github.com/line/lbm-sdk/v2/crypto/hd" ) func init() { diff --git a/crypto/keyring/info.go b/crypto/keyring/info.go index 24024599bb..30614d40fc 100644 --- a/crypto/keyring/info.go +++ b/crypto/keyring/info.go @@ -3,12 +3,12 @@ package keyring import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec/legacy" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec/legacy" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types" ) // Info is the publicly exposed information about a keypair diff --git a/crypto/keyring/keyring.go b/crypto/keyring/keyring.go index f4a98e3255..1f9172fb29 100644 --- a/crypto/keyring/keyring.go +++ b/crypto/keyring/keyring.go @@ -17,14 +17,14 @@ import ( "github.com/tendermint/crypto/bcrypt" tmcrypto "github.com/tendermint/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/ledger" - "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/client/input" + "github.com/line/lbm-sdk/v2/codec/legacy" + "github.com/line/lbm-sdk/v2/crypto" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/ledger" + "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // Backend options for Keyring diff --git a/crypto/keyring/keyring_ledger_test.go b/crypto/keyring/keyring_ledger_test.go index eb7e85f9e8..8a15f2a253 100644 --- a/crypto/keyring/keyring_ledger_test.go +++ b/crypto/keyring/keyring_ledger_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestInMemoryCreateLedger(t *testing.T) { diff --git a/crypto/keyring/keyring_test.go b/crypto/keyring/keyring_test.go index bcd7eddf39..26154e3355 100644 --- a/crypto/keyring/keyring_test.go +++ b/crypto/keyring/keyring_test.go @@ -10,13 +10,13 @@ import ( bip39 "github.com/cosmos/go-bip39" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/crypto/keyring/legacy.go b/crypto/keyring/legacy.go index 59bdc3fc5d..a5451e6586 100644 --- a/crypto/keyring/legacy.go +++ b/crypto/keyring/legacy.go @@ -9,10 +9,10 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/crypto" - "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/crypto" + "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // LegacyKeybase is implemented by the legacy keybase implementation. diff --git a/crypto/keyring/legacy_test.go b/crypto/keyring/legacy_test.go index 27503bdea0..bc93c99d95 100644 --- a/crypto/keyring/legacy_test.go +++ b/crypto/keyring/legacy_test.go @@ -8,7 +8,7 @@ import ( "github.com/otiai10/copy" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/line/lbm-sdk/v2/crypto/keyring" ) func TestNewLegacyKeyBase(t *testing.T) { diff --git a/crypto/keyring/output.go b/crypto/keyring/output.go index 5f76789caa..303fd91cb3 100644 --- a/crypto/keyring/output.go +++ b/crypto/keyring/output.go @@ -1,7 +1,7 @@ package keyring import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // KeyOutput defines a structure wrapping around an Info object used for output diff --git a/crypto/keyring/output_test.go b/crypto/keyring/output_test.go index c43b36bf7c..96bc4b5794 100644 --- a/crypto/keyring/output_test.go +++ b/crypto/keyring/output_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestBech32KeysOutput(t *testing.T) { diff --git a/crypto/keyring/signing_algorithms.go b/crypto/keyring/signing_algorithms.go index 920dd7b553..832a89cc9b 100644 --- a/crypto/keyring/signing_algorithms.go +++ b/crypto/keyring/signing_algorithms.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/hd" ) // SignatureAlgo defines the interface for a keyring supported algorithm. diff --git a/crypto/keyring/signing_algorithms_test.go b/crypto/keyring/signing_algorithms_test.go index 14283b9108..b3cfaf25a8 100644 --- a/crypto/keyring/signing_algorithms_test.go +++ b/crypto/keyring/signing_algorithms_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/hd" ) func TestNewSigningAlgoByString(t *testing.T) { diff --git a/crypto/keyring/types.go b/crypto/keyring/types.go index 0b893ea4cc..b6a01fc684 100644 --- a/crypto/keyring/types.go +++ b/crypto/keyring/types.go @@ -1,8 +1,8 @@ package keyring import ( - "github.com/cosmos/cosmos-sdk/crypto/hd" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) // Language is a language to create the BIP 39 mnemonic in. diff --git a/crypto/keyring/types_test.go b/crypto/keyring/types_test.go index b04aa45479..464d8b7e24 100644 --- a/crypto/keyring/types_test.go +++ b/crypto/keyring/types_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_writeReadLedgerInfo(t *testing.T) { diff --git a/crypto/keys/ed25519/ed25519.go b/crypto/keys/ed25519/ed25519.go index 17368c4b12..bd48397334 100644 --- a/crypto/keys/ed25519/ed25519.go +++ b/crypto/keys/ed25519/ed25519.go @@ -9,9 +9,9 @@ import ( "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/tmhash" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/errors" ) //------------------------------------- diff --git a/crypto/keys/ed25519/ed25519_test.go b/crypto/keys/ed25519/ed25519_test.go index 59cce4066a..7b6849f5b4 100644 --- a/crypto/keys/ed25519/ed25519_test.go +++ b/crypto/keys/ed25519/ed25519_test.go @@ -10,10 +10,10 @@ import ( "github.com/tendermint/tendermint/crypto" tmed25519 "github.com/tendermint/tendermint/crypto/ed25519" - "github.com/cosmos/cosmos-sdk/codec" - ed25519 "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/codec" + ed25519 "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) func TestSignAndValidateEd25519(t *testing.T) { diff --git a/crypto/keys/internal/benchmarking/bench.go b/crypto/keys/internal/benchmarking/bench.go index a789da91f9..6b7db35e6b 100644 --- a/crypto/keys/internal/benchmarking/bench.go +++ b/crypto/keys/internal/benchmarking/bench.go @@ -4,7 +4,7 @@ import ( "io" "testing" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types" ) // The code in this file is adapted from agl/ed25519. diff --git a/crypto/keys/multisig/codec.go b/crypto/keys/multisig/codec.go index b92576e4f3..25a0281785 100644 --- a/crypto/keys/multisig/codec.go +++ b/crypto/keys/multisig/codec.go @@ -3,10 +3,10 @@ package multisig import ( "github.com/tendermint/tendermint/crypto/sr25519" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) // TODO: Figure out API for others to either add their own pubkey types, or diff --git a/crypto/keys/multisig/keys.pb.go b/crypto/keys/multisig/keys.pb.go index 27ccf0fa5a..8c817ea0a6 100644 --- a/crypto/keys/multisig/keys.pb.go +++ b/crypto/keys/multisig/keys.pb.go @@ -5,9 +5,9 @@ package multisig import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" io "io" math "math" math_bits "math/bits" diff --git a/crypto/keys/multisig/multisig.go b/crypto/keys/multisig/multisig.go index 590e5ba110..01baaa7e31 100644 --- a/crypto/keys/multisig/multisig.go +++ b/crypto/keys/multisig/multisig.go @@ -5,10 +5,10 @@ import ( tmcrypto "github.com/tendermint/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - multisigtypes "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + multisigtypes "github.com/line/lbm-sdk/v2/crypto/types/multisig" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) var _ multisigtypes.PubKey = &LegacyAminoPubKey{} @@ -91,7 +91,7 @@ func (m *LegacyAminoPubKey) VerifyMultisignature(getSignBytes multisigtypes.GetS // VerifySignature implements cryptotypes.PubKey VerifySignature method, // it panics because it can't handle MultiSignatureData -// cf. https://github.com/cosmos/cosmos-sdk/issues/7109#issuecomment-686329936 +// cf. https://github.com/line/lbm-sdk/v2/issues/7109#issuecomment-686329936 func (m *LegacyAminoPubKey) VerifySignature(msg []byte, sig []byte) bool { panic("not implemented") } diff --git a/crypto/keys/multisig/multisig_test.go b/crypto/keys/multisig/multisig_test.go index 2b91e74eb6..d6e56dab62 100644 --- a/crypto/keys/multisig/multisig_test.go +++ b/crypto/keys/multisig/multisig_test.go @@ -5,14 +5,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) func TestAddress(t *testing.T) { diff --git a/crypto/keys/secp256k1/bench_test.go b/crypto/keys/secp256k1/bench_test.go index 423f7a5a52..dbcc7ab99e 100644 --- a/crypto/keys/secp256k1/bench_test.go +++ b/crypto/keys/secp256k1/bench_test.go @@ -4,8 +4,8 @@ import ( "io" "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/internal/benchmarking" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/keys/internal/benchmarking" + "github.com/line/lbm-sdk/v2/crypto/types" ) func BenchmarkKeyGeneration(b *testing.B) { diff --git a/crypto/keys/secp256k1/secp256k1.go b/crypto/keys/secp256k1/secp256k1.go index eebe72a452..ecaba5aa03 100644 --- a/crypto/keys/secp256k1/secp256k1.go +++ b/crypto/keys/secp256k1/secp256k1.go @@ -12,9 +12,9 @@ import ( "github.com/tendermint/tendermint/crypto" "golang.org/x/crypto/ripemd160" // nolint: staticcheck // necessary for Bitcoin address format - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/errors" ) var _ cryptotypes.PrivKey = &PrivKey{} diff --git a/crypto/keys/secp256k1/secp256k1_cgo.go b/crypto/keys/secp256k1/secp256k1_cgo.go index 42088483d3..357754bb7f 100644 --- a/crypto/keys/secp256k1/secp256k1_cgo.go +++ b/crypto/keys/secp256k1/secp256k1_cgo.go @@ -5,7 +5,7 @@ package secp256k1 import ( "github.com/tendermint/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1/internal/secp256k1" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1/internal/secp256k1" ) // Sign creates an ECDSA signature on curve Secp256k1, using SHA256 on the msg. diff --git a/crypto/keys/secp256k1/secp256k1_test.go b/crypto/keys/secp256k1/secp256k1_test.go index 56c67f594b..df238c915f 100644 --- a/crypto/keys/secp256k1/secp256k1_test.go +++ b/crypto/keys/secp256k1/secp256k1_test.go @@ -14,10 +14,10 @@ import ( "github.com/tendermint/tendermint/crypto" tmsecp256k1 "github.com/tendermint/tendermint/crypto/secp256k1" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) type keyData struct { diff --git a/crypto/ledger/amino.go b/crypto/ledger/amino.go index 0e717a9604..3b1e7b1e7a 100644 --- a/crypto/ledger/amino.go +++ b/crypto/ledger/amino.go @@ -1,8 +1,8 @@ package ledger import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptoAmino "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/line/lbm-sdk/v2/codec" + cryptoAmino "github.com/line/lbm-sdk/v2/crypto/codec" ) var cdc = codec.NewLegacyAmino() diff --git a/crypto/ledger/encode_test.go b/crypto/ledger/encode_test.go index 447891fde7..19e064e88c 100644 --- a/crypto/ledger/encode_test.go +++ b/crypto/ledger/encode_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) type byter interface { diff --git a/crypto/ledger/ledger_mock.go b/crypto/ledger/ledger_mock.go index 4f7feb2c52..5c8af242a1 100644 --- a/crypto/ledger/ledger_mock.go +++ b/crypto/ledger/ledger_mock.go @@ -13,10 +13,10 @@ import ( "github.com/cosmos/go-bip39" - "github.com/cosmos/cosmos-sdk/crypto/hd" - csecp256k1 "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + csecp256k1 "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" ) // If ledger support (build tag) has been enabled, which implies a CGO dependency, diff --git a/crypto/ledger/ledger_secp256k1.go b/crypto/ledger/ledger_secp256k1.go index 659181d306..66fb6b8b72 100644 --- a/crypto/ledger/ledger_secp256k1.go +++ b/crypto/ledger/ledger_secp256k1.go @@ -9,9 +9,9 @@ import ( tmbtcec "github.com/tendermint/btcd/btcec" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/crypto/types" ) var ( diff --git a/crypto/ledger/ledger_test.go b/crypto/ledger/ledger_test.go index ec1b8dbedc..f6abbea3f7 100644 --- a/crypto/ledger/ledger_test.go +++ b/crypto/ledger/ledger_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec/legacy" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestErrorHandling(t *testing.T) { diff --git a/crypto/types/multisig/multisignature.go b/crypto/types/multisig/multisignature.go index 20e3ef1129..badd48163d 100644 --- a/crypto/types/multisig/multisignature.go +++ b/crypto/types/multisig/multisignature.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // AminoMultisignature is used to represent amino multi-signatures for StdTx's. diff --git a/crypto/types/multisig/pubkey.go b/crypto/types/multisig/pubkey.go index 2e778bae6f..4464ad1b46 100644 --- a/crypto/types/multisig/pubkey.go +++ b/crypto/types/multisig/pubkey.go @@ -1,8 +1,8 @@ package multisig import ( - "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // PubKey defines a type which supports multi-signature verification via MultiSignatureData diff --git a/crypto/types/types.go b/crypto/types/types.go index eccdba7381..a19ecf5632 100644 --- a/crypto/types/types.go +++ b/crypto/types/types.go @@ -20,7 +20,7 @@ type PubKey interface { // LedgerSecp256k1 keys are not converted to proto.Message yet, this is why // they use LedgerPrivKey instead of PrivKey. All other keys must use PrivKey // instead of LedgerPrivKey. -// TODO https://github.com/cosmos/cosmos-sdk/issues/7357. +// TODO https://github.com/line/lbm-sdk/v2/issues/7357. type LedgerPrivKey interface { Bytes() []byte Sign(msg []byte) ([]byte, error) @@ -32,7 +32,7 @@ type LedgerPrivKey interface { // PrivKey defines a private key and extends proto.Message. For now, it extends // LedgerPrivKey (see godoc for LedgerPrivKey). Ultimately, we should remove // LedgerPrivKey and add its methods here directly. -// TODO https://github.com/cosmos/cosmos-sdk/issues/7357. +// TODO https://github.com/line/lbm-sdk/v2/issues/7357. type PrivKey interface { proto.Message LedgerPrivKey diff --git a/docs/architecture/adr-011-generalize-genesis-accounts.md b/docs/architecture/adr-011-generalize-genesis-accounts.md index db323966e1..b03a0833c0 100644 --- a/docs/architecture/adr-011-generalize-genesis-accounts.md +++ b/docs/architecture/adr-011-generalize-genesis-accounts.md @@ -63,7 +63,7 @@ The `auth` codec must have all custom account types registered to marshal them. An example custom account definition: ```go -import authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" +import authtypes "github.com/line/lbm-sdk/v2/x/auth/types" // Register the module account type with the auth module codec so it can decode module accounts stored in a genesis file func init() { diff --git a/docs/architecture/adr-019-protobuf-state-encoding.md b/docs/architecture/adr-019-protobuf-state-encoding.md index 2a4d8b0462..177f8c8eb7 100644 --- a/docs/architecture/adr-019-protobuf-state-encoding.md +++ b/docs/architecture/adr-019-protobuf-state-encoding.md @@ -225,7 +225,7 @@ every module that implements it in order to populate the `InterfaceRegistry`. The SDK will provide support methods `MarshalInterface` and `UnmarshalInterface` to hide a complexity of wrapping interface types into `Any` and allow easy serialization. ```go -import "github.com/cosmos/cosmos-sdk/codec" +import "github.com/line/lbm-sdk/v2/codec" // note: eviexported.Evidence is an interface type func MarshalEvidence(cdc codec.BinaryMarshaler, e eviexported.Evidence) ([]byte, error) { @@ -251,7 +251,7 @@ an interface: message MsgSubmitEvidence { bytes submitter = 1 [ - (gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress" + (gogoproto.casttype) = "github.com/line/lbm-sdk/v2/types.AccAddress" ]; google.protobuf.Any evidence = 2; } diff --git a/docs/architecture/adr-020-protobuf-transaction-encoding.md b/docs/architecture/adr-020-protobuf-transaction-encoding.md index 0c050c5d14..7d0aa5767c 100644 --- a/docs/architecture/adr-020-protobuf-transaction-encoding.md +++ b/docs/architecture/adr-020-protobuf-transaction-encoding.md @@ -352,8 +352,8 @@ generate or broadcast a transaction. For example: ```go import "github.com/spf13/cobra" -import "github.com/cosmos/cosmos-sdk/client" -import "github.com/cosmos/cosmos-sdk/client/tx" +import "github.com/line/lbm-sdk/v2/client" +import "github.com/line/lbm-sdk/v2/client/tx" func NewCmdDoSomething(clientCtx client.Context) *cobra.Command { return &cobra.Command{ diff --git a/docs/migrations/app_and_modules.md b/docs/migrations/app_and_modules.md index 454ecdab2a..77d7f71b9e 100644 --- a/docs/migrations/app_and_modules.md +++ b/docs/migrations/app_and_modules.md @@ -175,7 +175,7 @@ A number of other smaller breaking changes are also noteworthy. | `codec.New()` | `codec.NewLegacyAmino()` | Simple rename. | | `DefaultGenesis()` | `DefaultGenesis(cdc codec.JSONMarshaler)` | `DefaultGenesis` takes a codec argument now | | `ValidateGenesis()` | `ValidateGenesis(cdc codec.JSONMarshaler, config client.TxEncodingConfig, bz json.RawMessage)` | `ValidateGenesis` now requires `Marshaler`, `TxEncodingConfig`, `json.RawMessage` as input. | -| `Route() string` | `Route() sdk.Route` | For legacy handlers, return type of `Route()` method is changed from `string` to `"github.com/cosmos/cosmos-sdk/types".Route`. It should return a `NewRoute()` which includes `RouterKey` and `NewHandler` as params. | +| `Route() string` | `Route() sdk.Route` | For legacy handlers, return type of `Route()` method is changed from `string` to `"github.com/line/lbm-sdk/v2/types".Route`. It should return a `NewRoute()` which includes `RouterKey` and `NewHandler` as params. | | `QuerierHandler` | `LegacyQuerierHandler` | Simple rename. | | `InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate` | InitGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, data json.RawMessage) []abci.ValidatorUpdate | `InitGenesis` now takes a codec input. | | `ExportGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate` | ExportGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, data json.RawMessage) []abci.ValidatorUpdate | `ExportGenesis` now takes a codec input. | diff --git a/docs/run-node/interact-node.md b/docs/run-node/interact-node.md index 1998c5f0f4..089bc89672 100644 --- a/docs/run-node/interact-node.md +++ b/docs/run-node/interact-node.md @@ -127,8 +127,8 @@ import ( "google.golang.org/grpc" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx" ) func queryState() error { @@ -174,8 +174,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/tx" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/tx" ) func queryState() error { diff --git a/docs/run-node/txs.md b/docs/run-node/txs.md index 040adf77e2..44e1471758 100644 --- a/docs/run-node/txs.md +++ b/docs/run-node/txs.md @@ -94,7 +94,7 @@ Before generating a transaction, a new instance of a `TxBuilder` needs to be cre ```go import ( - "github.com/cosmos/cosmos-sdk/simapp" + "github.com/line/lbm-sdk/v2/simapp" ) func sendTx() error { @@ -113,7 +113,7 @@ We can also set up some keys and addresses that will send and receive the transa ```go import ( - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) priv1, _, addr1 := testdata.KeyTestPubAddr() @@ -125,7 +125,7 @@ Populating the `TxBuilder` can be done via its [methods](https://github.com/cosm ```go import ( - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) func sendTx() error { @@ -163,9 +163,9 @@ In the current `TxBuilder`'s API, both steps are done using the same method: `Se ```go import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" + xauthsigning "github.com/line/lbm-sdk/v2/x/auth/signing" ) func sendTx() error { @@ -251,7 +251,7 @@ import ( "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/line/lbm-sdk/v2/types/tx" ) func sendTx() error { @@ -295,9 +295,9 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/tx" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/types/tx" + authtx "github.com/line/lbm-sdk/v2/x/auth/tx" ) func simulateTx() error { diff --git a/go.mod b/go.mod index 20c2a8aca5..ce7363ad1b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ go 1.15 -module github.com/cosmos/cosmos-sdk +module github.com/line/lbm-sdk/v2 require ( github.com/99designs/keyring v1.1.6 diff --git a/proto/cosmos/auth/v1beta1/auth.proto b/proto/cosmos/auth/v1beta1/auth.proto index 72e1d9ec28..c611f2995e 100644 --- a/proto/cosmos/auth/v1beta1/auth.proto +++ b/proto/cosmos/auth/v1beta1/auth.proto @@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/auth/types"; // BaseAccount defines a base account type. It contains all the necessary fields // for basic account functionality. Any custom account type should extend this diff --git a/proto/cosmos/auth/v1beta1/genesis.proto b/proto/cosmos/auth/v1beta1/genesis.proto index c88b94ee4e..a6cf60ae20 100644 --- a/proto/cosmos/auth/v1beta1/genesis.proto +++ b/proto/cosmos/auth/v1beta1/genesis.proto @@ -5,7 +5,7 @@ import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; import "cosmos/auth/v1beta1/auth.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/auth/types"; // GenesisState defines the auth module's genesis state. message GenesisState { diff --git a/proto/cosmos/auth/v1beta1/query.proto b/proto/cosmos/auth/v1beta1/query.proto index a885792683..ebeb79565f 100644 --- a/proto/cosmos/auth/v1beta1/query.proto +++ b/proto/cosmos/auth/v1beta1/query.proto @@ -7,7 +7,7 @@ import "google/api/annotations.proto"; import "cosmos/auth/v1beta1/auth.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/auth/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/cosmos/bank/v1beta1/bank.proto b/proto/cosmos/bank/v1beta1/bank.proto index 5a9383362e..58838116b6 100644 --- a/proto/cosmos/bank/v1beta1/bank.proto +++ b/proto/cosmos/bank/v1beta1/bank.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/bank/types"; // Params defines the parameters for the bank module. message Params { @@ -30,7 +30,7 @@ message Input { string address = 1; repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // Output models transaction outputs. @@ -40,7 +40,7 @@ message Output { string address = 1; repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // Supply represents a struct that passively keeps track of the total supply @@ -50,10 +50,10 @@ message Supply { option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "*github.com/cosmos/cosmos-sdk/x/bank/exported.SupplyI"; + option (cosmos_proto.implements_interface) = "*github.com/line/lbm-sdk/v2/x/bank/exported.SupplyI"; repeated cosmos.base.v1beta1.Coin total = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // DenomUnit represents a struct that describes a given diff --git a/proto/cosmos/bank/v1beta1/genesis.proto b/proto/cosmos/bank/v1beta1/genesis.proto index 25c80a38b5..f6b5da8b6b 100644 --- a/proto/cosmos/bank/v1beta1/genesis.proto +++ b/proto/cosmos/bank/v1beta1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/bank/v1beta1/bank.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/bank/types"; // GenesisState defines the bank module's genesis state. message GenesisState { @@ -17,7 +17,7 @@ message GenesisState { // supply represents the total supply. repeated cosmos.base.v1beta1.Coin supply = 3 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + [(gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins", (gogoproto.nullable) = false]; // denom_metadata defines the metadata of the differents coins. repeated Metadata denom_metadata = 4 [(gogoproto.moretags) = "yaml:\"denom_metadata\"", (gogoproto.nullable) = false]; @@ -34,5 +34,5 @@ message Balance { // coins defines the different coins this balance holds. repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + [(gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins", (gogoproto.nullable) = false]; } diff --git a/proto/cosmos/bank/v1beta1/query.proto b/proto/cosmos/bank/v1beta1/query.proto index bc5e29137a..e4641ca924 100644 --- a/proto/cosmos/bank/v1beta1/query.proto +++ b/proto/cosmos/bank/v1beta1/query.proto @@ -7,7 +7,7 @@ import "google/api/annotations.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/bank/v1beta1/bank.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/bank/types"; // Query defines the gRPC querier service. service Query { @@ -82,7 +82,7 @@ message QueryAllBalancesRequest { message QueryAllBalancesResponse { // balances is the balances of all the coins. repeated cosmos.base.v1beta1.Coin balances = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -97,7 +97,7 @@ message QueryTotalSupplyRequest {} message QueryTotalSupplyResponse { // supply is the supply of the coins repeated cosmos.base.v1beta1.Coin supply = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. diff --git a/proto/cosmos/bank/v1beta1/tx.proto b/proto/cosmos/bank/v1beta1/tx.proto index 26b2ab41f4..0f4bf4c594 100644 --- a/proto/cosmos/bank/v1beta1/tx.proto +++ b/proto/cosmos/bank/v1beta1/tx.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/bank/v1beta1/bank.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/bank/types"; // Msg defines the bank Msg service. service Msg { @@ -24,7 +24,7 @@ message MsgSend { string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // MsgSendResponse defines the Msg/Send response type. diff --git a/proto/cosmos/base/abci/v1beta1/abci.proto b/proto/cosmos/base/abci/v1beta1/abci.proto index 72da2aacc3..d841c3464a 100644 --- a/proto/cosmos/base/abci/v1beta1/abci.proto +++ b/proto/cosmos/base/abci/v1beta1/abci.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "tendermint/abci/types.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types"; +option go_package = "github.com/line/lbm-sdk/v2/types"; option (gogoproto.goproto_stringer_all) = false; // TxResponse defines a structure containing relevant tx data and metadata. The diff --git a/proto/cosmos/base/kv/v1beta1/kv.proto b/proto/cosmos/base/kv/v1beta1/kv.proto index 4e9b8d2850..e7f38ce704 100644 --- a/proto/cosmos/base/kv/v1beta1/kv.proto +++ b/proto/cosmos/base/kv/v1beta1/kv.proto @@ -3,7 +3,7 @@ package cosmos.base.kv.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types/kv"; +option go_package = "github.com/line/lbm-sdk/v2/types/kv"; // Pairs defines a repeated slice of Pair objects. message Pairs { diff --git a/proto/cosmos/base/query/v1beta1/pagination.proto b/proto/cosmos/base/query/v1beta1/pagination.proto index 2a8cbccedd..04aeebbf91 100644 --- a/proto/cosmos/base/query/v1beta1/pagination.proto +++ b/proto/cosmos/base/query/v1beta1/pagination.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.base.query.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/types/query"; +option go_package = "github.com/line/lbm-sdk/v2/types/query"; // PageRequest is to be embedded in gRPC request messages for efficient // pagination. Ex: diff --git a/proto/cosmos/base/reflection/v1beta1/reflection.proto b/proto/cosmos/base/reflection/v1beta1/reflection.proto index 22670e72b8..5013ce5b22 100644 --- a/proto/cosmos/base/reflection/v1beta1/reflection.proto +++ b/proto/cosmos/base/reflection/v1beta1/reflection.proto @@ -3,7 +3,7 @@ package cosmos.base.reflection.v1beta1; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/reflection"; +option go_package = "github.com/line/lbm-sdk/v2/client/grpc/reflection"; // ReflectionService defines a service for interface reflection. service ReflectionService { diff --git a/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/proto/cosmos/base/snapshots/v1beta1/snapshot.proto index 9ac5a7c31b..1c57a05928 100644 --- a/proto/cosmos/base/snapshots/v1beta1/snapshot.proto +++ b/proto/cosmos/base/snapshots/v1beta1/snapshot.proto @@ -3,7 +3,7 @@ package cosmos.base.snapshots.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/snapshots/types"; +option go_package = "github.com/line/lbm-sdk/v2/snapshots/types"; // Snapshot contains Tendermint state sync snapshot info. message Snapshot { @@ -17,4 +17,4 @@ message Snapshot { // Metadata contains SDK-specific snapshot metadata. message Metadata { repeated bytes chunk_hashes = 1; // SHA-256 chunk hashes -} \ No newline at end of file +} diff --git a/proto/cosmos/base/store/v1beta1/commit_info.proto b/proto/cosmos/base/store/v1beta1/commit_info.proto index 98a33d30e7..7bdf7da00c 100644 --- a/proto/cosmos/base/store/v1beta1/commit_info.proto +++ b/proto/cosmos/base/store/v1beta1/commit_info.proto @@ -3,7 +3,7 @@ package cosmos.base.store.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/store/types"; +option go_package = "github.com/line/lbm-sdk/v2/store/types"; // CommitInfo defines commit information used by the multi-store when committing // a version/height. diff --git a/proto/cosmos/base/store/v1beta1/snapshot.proto b/proto/cosmos/base/store/v1beta1/snapshot.proto index 834855093b..e73df39df7 100644 --- a/proto/cosmos/base/store/v1beta1/snapshot.proto +++ b/proto/cosmos/base/store/v1beta1/snapshot.proto @@ -3,7 +3,7 @@ package cosmos.base.store.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/store/types"; +option go_package = "github.com/line/lbm-sdk/v2/store/types"; // SnapshotItem is an item contained in a rootmulti.Store snapshot. message SnapshotItem { @@ -25,4 +25,4 @@ message SnapshotIAVLItem { bytes value = 2; int64 version = 3; int32 height = 4; -} \ No newline at end of file +} diff --git a/proto/cosmos/base/tendermint/v1beta1/query.proto b/proto/cosmos/base/tendermint/v1beta1/query.proto index 50cb5852cd..67d867276e 100644 --- a/proto/cosmos/base/tendermint/v1beta1/query.proto +++ b/proto/cosmos/base/tendermint/v1beta1/query.proto @@ -9,7 +9,7 @@ import "tendermint/types/block.proto"; import "tendermint/types/types.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/tmservice"; +option go_package = "github.com/line/lbm-sdk/v2/client/grpc/tmservice"; // Service defines the gRPC querier service for tendermint queries. service Service { diff --git a/proto/cosmos/base/v1beta1/coin.proto b/proto/cosmos/base/v1beta1/coin.proto index fab75284b7..6c8c9ef2a9 100644 --- a/proto/cosmos/base/v1beta1/coin.proto +++ b/proto/cosmos/base/v1beta1/coin.proto @@ -3,7 +3,7 @@ package cosmos.base.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types"; +option go_package = "github.com/line/lbm-sdk/v2/types"; option (gogoproto.goproto_stringer_all) = false; option (gogoproto.stringer_all) = false; diff --git a/proto/cosmos/capability/v1beta1/capability.proto b/proto/cosmos/capability/v1beta1/capability.proto index 1c8332f341..1c4e2ef7c0 100644 --- a/proto/cosmos/capability/v1beta1/capability.proto +++ b/proto/cosmos/capability/v1beta1/capability.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.capability.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/capability/types"; import "gogoproto/gogo.proto"; diff --git a/proto/cosmos/capability/v1beta1/genesis.proto b/proto/cosmos/capability/v1beta1/genesis.proto index 05bb0afc4a..e67bfa95fa 100644 --- a/proto/cosmos/capability/v1beta1/genesis.proto +++ b/proto/cosmos/capability/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package cosmos.capability.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/capability/v1beta1/capability.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/capability/types"; // GenesisOwners defines the capability owners with their corresponding index. message GenesisOwners { diff --git a/proto/cosmos/crisis/v1beta1/genesis.proto b/proto/cosmos/crisis/v1beta1/genesis.proto index 5b0ff7ec72..f7212f0f35 100644 --- a/proto/cosmos/crisis/v1beta1/genesis.proto +++ b/proto/cosmos/crisis/v1beta1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.crisis.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/crisis/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/cosmos/crisis/v1beta1/tx.proto b/proto/cosmos/crisis/v1beta1/tx.proto index 26457ad6d5..48286810bb 100644 --- a/proto/cosmos/crisis/v1beta1/tx.proto +++ b/proto/cosmos/crisis/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.crisis.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/crisis/types"; import "gogoproto/gogo.proto"; diff --git a/proto/cosmos/crypto/ed25519/keys.proto b/proto/cosmos/crypto/ed25519/keys.proto index bed9c29cc7..e6dd822d4b 100644 --- a/proto/cosmos/crypto/ed25519/keys.proto +++ b/proto/cosmos/crypto/ed25519/keys.proto @@ -3,7 +3,7 @@ package cosmos.crypto.ed25519; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"; +option go_package = "github.com/line/lbm-sdk/v2/crypto/keys/ed25519"; // PubKey defines a ed25519 public key // Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte diff --git a/proto/cosmos/crypto/multisig/keys.proto b/proto/cosmos/crypto/multisig/keys.proto index f8398e8052..5ac18f8b60 100644 --- a/proto/cosmos/crypto/multisig/keys.proto +++ b/proto/cosmos/crypto/multisig/keys.proto @@ -4,7 +4,7 @@ package cosmos.crypto.multisig; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"; +option go_package = "github.com/line/lbm-sdk/v2/crypto/keys/multisig"; // LegacyAminoPubKey specifies a public key type // which nests multiple public keys and a threshold, diff --git a/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/proto/cosmos/crypto/multisig/v1beta1/multisig.proto index bf671f1711..702d656c60 100644 --- a/proto/cosmos/crypto/multisig/v1beta1/multisig.proto +++ b/proto/cosmos/crypto/multisig/v1beta1/multisig.proto @@ -3,7 +3,7 @@ package cosmos.crypto.multisig.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/types"; +option go_package = "github.com/line/lbm-sdk/v2/crypto/types"; // MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. // See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers diff --git a/proto/cosmos/crypto/secp256k1/keys.proto b/proto/cosmos/crypto/secp256k1/keys.proto index a22725713a..1f2e9a090f 100644 --- a/proto/cosmos/crypto/secp256k1/keys.proto +++ b/proto/cosmos/crypto/secp256k1/keys.proto @@ -3,7 +3,7 @@ package cosmos.crypto.secp256k1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"; +option go_package = "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1"; // PubKey defines a secp256k1 public key // Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte diff --git a/proto/cosmos/distribution/v1beta1/distribution.proto b/proto/cosmos/distribution/v1beta1/distribution.proto index ae98ec0b98..8ae0345152 100644 --- a/proto/cosmos/distribution/v1beta1/distribution.proto +++ b/proto/cosmos/distribution/v1beta1/distribution.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.distribution.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/distribution/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -12,17 +12,17 @@ message Params { option (gogoproto.goproto_stringer) = false; string community_tax = 1 [ (gogoproto.moretags) = "yaml:\"community_tax\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; string base_proposer_reward = 2 [ (gogoproto.moretags) = "yaml:\"base_proposer_reward\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; string bonus_proposer_reward = 3 [ (gogoproto.moretags) = "yaml:\"bonus_proposer_reward\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; bool withdraw_addr_enabled = 4 [(gogoproto.moretags) = "yaml:\"withdraw_addr_enabled\""]; @@ -43,7 +43,7 @@ message Params { message ValidatorHistoricalRewards { repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 [ (gogoproto.moretags) = "yaml:\"cumulative_reward_ratio\"", - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins", (gogoproto.nullable) = false ]; uint32 reference_count = 2 [(gogoproto.moretags) = "yaml:\"reference_count\""]; @@ -54,7 +54,7 @@ message ValidatorHistoricalRewards { // each block as long as the validator's tokens remain constant. message ValidatorCurrentRewards { repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + [(gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins", (gogoproto.nullable) = false]; uint64 period = 2; } @@ -62,7 +62,7 @@ message ValidatorCurrentRewards { // for a validator kept as a running counter, can be withdrawn at any time. message ValidatorAccumulatedCommission { repeated cosmos.base.v1beta1.DecCoin commission = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + [(gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins", (gogoproto.nullable) = false]; } // ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards @@ -70,7 +70,7 @@ message ValidatorAccumulatedCommission { message ValidatorOutstandingRewards { repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ (gogoproto.moretags) = "yaml:\"rewards\"", - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins", (gogoproto.nullable) = false ]; } @@ -81,7 +81,7 @@ message ValidatorOutstandingRewards { // for delegations which are withdrawn after a slash has occurred. message ValidatorSlashEvent { uint64 validator_period = 1 [(gogoproto.moretags) = "yaml:\"validator_period\""]; - string fraction = 2 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + string fraction = 2 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false]; } // ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. @@ -95,7 +95,7 @@ message ValidatorSlashEvents { message FeePool { repeated cosmos.base.v1beta1.DecCoin community_pool = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins", (gogoproto.moretags) = "yaml:\"community_pool\"" ]; } @@ -112,7 +112,7 @@ message CommunityPoolSpendProposal { string description = 2; string recipient = 3; repeated cosmos.base.v1beta1.Coin amount = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // DelegatorStartingInfo represents the starting info for a delegator reward @@ -125,7 +125,7 @@ message DelegatorStartingInfo { uint64 previous_period = 1 [(gogoproto.moretags) = "yaml:\"previous_period\""]; string stake = 2 [ (gogoproto.moretags) = "yaml:\"stake\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; uint64 height = 3 [(gogoproto.moretags) = "yaml:\"creation_height\"", (gogoproto.jsontag) = "creation_height"]; @@ -140,7 +140,7 @@ message DelegationDelegatorReward { string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; repeated cosmos.base.v1beta1.DecCoin reward = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + [(gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins", (gogoproto.nullable) = false]; } // CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal diff --git a/proto/cosmos/distribution/v1beta1/genesis.proto b/proto/cosmos/distribution/v1beta1/genesis.proto index c0b17cdf11..3aa9bfecde 100644 --- a/proto/cosmos/distribution/v1beta1/genesis.proto +++ b/proto/cosmos/distribution/v1beta1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.distribution.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/distribution/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -32,7 +32,7 @@ message ValidatorOutstandingRewardsRecord { // outstanding_rewards represents the oustanding rewards of a validator. repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"outstanding_rewards\"" ]; diff --git a/proto/cosmos/distribution/v1beta1/query.proto b/proto/cosmos/distribution/v1beta1/query.proto index 2991218d80..21c3bc78aa 100644 --- a/proto/cosmos/distribution/v1beta1/query.proto +++ b/proto/cosmos/distribution/v1beta1/query.proto @@ -7,7 +7,7 @@ import "google/api/annotations.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/distribution/v1beta1/distribution.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/distribution/types"; // Query defines the gRPC querier service for distribution module. service Query { @@ -143,7 +143,7 @@ message QueryDelegationRewardsRequest { message QueryDelegationRewardsResponse { // rewards defines the rewards accrued by a delegation. repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins"]; } // QueryDelegationTotalRewardsRequest is the request type for the @@ -162,7 +162,7 @@ message QueryDelegationTotalRewardsResponse { repeated DelegationDelegatorReward rewards = 1 [(gogoproto.nullable) = false]; // total defines the sum of all the rewards. repeated cosmos.base.v1beta1.DecCoin total = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins"]; } // QueryDelegatorValidatorsRequest is the request type for the @@ -214,5 +214,5 @@ message QueryCommunityPoolRequest {} message QueryCommunityPoolResponse { // pool defines community pool's coins. repeated cosmos.base.v1beta1.DecCoin pool = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + [(gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.DecCoins", (gogoproto.nullable) = false]; } diff --git a/proto/cosmos/distribution/v1beta1/tx.proto b/proto/cosmos/distribution/v1beta1/tx.proto index e6ce478bcd..f7d4455f85 100644 --- a/proto/cosmos/distribution/v1beta1/tx.proto +++ b/proto/cosmos/distribution/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.distribution.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/distribution/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -71,7 +71,7 @@ message MsgFundCommunityPool { option (gogoproto.goproto_getters) = false; repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; string depositor = 2; } diff --git a/proto/cosmos/evidence/v1beta1/evidence.proto b/proto/cosmos/evidence/v1beta1/evidence.proto index 14612c314f..73e21212f8 100644 --- a/proto/cosmos/evidence/v1beta1/evidence.proto +++ b/proto/cosmos/evidence/v1beta1/evidence.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.evidence.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/evidence/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -18,4 +18,4 @@ message Equivocation { google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; int64 power = 3; string consensus_address = 4 [(gogoproto.moretags) = "yaml:\"consensus_address\""]; -} \ No newline at end of file +} diff --git a/proto/cosmos/evidence/v1beta1/genesis.proto b/proto/cosmos/evidence/v1beta1/genesis.proto index 199f446f7e..3dad1ac620 100644 --- a/proto/cosmos/evidence/v1beta1/genesis.proto +++ b/proto/cosmos/evidence/v1beta1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.evidence.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/evidence/types"; import "google/protobuf/any.proto"; diff --git a/proto/cosmos/evidence/v1beta1/query.proto b/proto/cosmos/evidence/v1beta1/query.proto index eda00544c7..ee0f52c7d9 100644 --- a/proto/cosmos/evidence/v1beta1/query.proto +++ b/proto/cosmos/evidence/v1beta1/query.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/evidence/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/cosmos/evidence/v1beta1/tx.proto b/proto/cosmos/evidence/v1beta1/tx.proto index 38795f25d4..ef03f82e2f 100644 --- a/proto/cosmos/evidence/v1beta1/tx.proto +++ b/proto/cosmos/evidence/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.evidence.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/evidence/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; diff --git a/proto/cosmos/genutil/v1beta1/genesis.proto b/proto/cosmos/genutil/v1beta1/genesis.proto index a0207793d9..eec8c94790 100644 --- a/proto/cosmos/genutil/v1beta1/genesis.proto +++ b/proto/cosmos/genutil/v1beta1/genesis.proto @@ -3,7 +3,7 @@ package cosmos.genutil.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/genutil/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/genutil/types"; // GenesisState defines the raw genesis transaction in JSON. message GenesisState { diff --git a/proto/cosmos/gov/v1beta1/genesis.proto b/proto/cosmos/gov/v1beta1/genesis.proto index a999500449..263aff289d 100644 --- a/proto/cosmos/gov/v1beta1/genesis.proto +++ b/proto/cosmos/gov/v1beta1/genesis.proto @@ -5,7 +5,7 @@ package cosmos.gov.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/gov/v1beta1/gov.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/gov/types"; // GenesisState defines the gov module's genesis state. message GenesisState { diff --git a/proto/cosmos/gov/v1beta1/gov.proto b/proto/cosmos/gov/v1beta1/gov.proto index 1d72e64321..43e5f35703 100644 --- a/proto/cosmos/gov/v1beta1/gov.proto +++ b/proto/cosmos/gov/v1beta1/gov.proto @@ -8,7 +8,7 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/any.proto"; import "google/protobuf/duration.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/gov/types"; option (gogoproto.goproto_stringer_all) = false; option (gogoproto.stringer_all) = false; option (gogoproto.goproto_getters_all) = false; @@ -49,7 +49,7 @@ message Deposit { uint64 proposal_id = 1 [(gogoproto.moretags) = "yaml:\"proposal_id\""]; string depositor = 2; repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // Proposal defines the core field members of a governance proposal. @@ -67,7 +67,7 @@ message Proposal { [(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"deposit_end_time\""]; repeated cosmos.base.v1beta1.Coin total_deposit = 7 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins", (gogoproto.moretags) = "yaml:\"total_deposit\"" ]; google.protobuf.Timestamp voting_start_time = 8 @@ -103,11 +103,11 @@ enum ProposalStatus { message TallyResult { option (gogoproto.equal) = true; - string yes = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; - string abstain = 2 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; - string no = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + string yes = 1 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false]; + string abstain = 2 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false]; + string no = 3 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false]; string no_with_veto = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"no_with_veto\"" ]; @@ -129,7 +129,7 @@ message DepositParams { // Minimum deposit for a proposal to enter voting period. repeated cosmos.base.v1beta1.Coin min_deposit = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins", (gogoproto.moretags) = "yaml:\"min_deposit\"", (gogoproto.jsontag) = "min_deposit,omitempty" ]; @@ -160,14 +160,14 @@ message TallyParams { // Minimum percentage of total stake needed to vote for a result to be // considered valid. bytes quorum = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "quorum,omitempty" ]; // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. bytes threshold = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "threshold,omitempty" ]; @@ -175,7 +175,7 @@ message TallyParams { // Minimum value of Veto votes to Total votes ratio for proposal to be // vetoed. Default value: 1/3. bytes veto_threshold = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "veto_threshold,omitempty", (gogoproto.moretags) = "yaml:\"veto_threshold\"" diff --git a/proto/cosmos/gov/v1beta1/query.proto b/proto/cosmos/gov/v1beta1/query.proto index da62bdbad1..8635521973 100644 --- a/proto/cosmos/gov/v1beta1/query.proto +++ b/proto/cosmos/gov/v1beta1/query.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/gov/v1beta1/gov.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/gov/types"; // Query defines the gRPC querier service for gov module service Query { diff --git a/proto/cosmos/gov/v1beta1/tx.proto b/proto/cosmos/gov/v1beta1/tx.proto index d4f0c1f99a..54689650ef 100644 --- a/proto/cosmos/gov/v1beta1/tx.proto +++ b/proto/cosmos/gov/v1beta1/tx.proto @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/gov/types"; // Msg defines the bank Msg service. service Msg { @@ -32,7 +32,7 @@ message MsgSubmitProposal { google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins", (gogoproto.moretags) = "yaml:\"initial_deposit\"" ]; string proposer = 3; @@ -68,7 +68,7 @@ message MsgDeposit { uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id", (gogoproto.moretags) = "yaml:\"proposal_id\""]; string depositor = 2; repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // MsgDepositResponse defines the Msg/Deposit response type. diff --git a/proto/cosmos/mint/v1beta1/genesis.proto b/proto/cosmos/mint/v1beta1/genesis.proto index 4e783fb544..ca67bc6b0c 100644 --- a/proto/cosmos/mint/v1beta1/genesis.proto +++ b/proto/cosmos/mint/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package cosmos.mint.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/mint/v1beta1/mint.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/mint/types"; // GenesisState defines the mint module's genesis state. message GenesisState { diff --git a/proto/cosmos/mint/v1beta1/mint.proto b/proto/cosmos/mint/v1beta1/mint.proto index f94d4ae2e8..4154b86d40 100644 --- a/proto/cosmos/mint/v1beta1/mint.proto +++ b/proto/cosmos/mint/v1beta1/mint.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.mint.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/mint/types"; import "gogoproto/gogo.proto"; @@ -9,11 +9,11 @@ import "gogoproto/gogo.proto"; message Minter { // current annual inflation rate string inflation = 1 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false]; // current annual expected provisions string annual_provisions = 2 [ (gogoproto.moretags) = "yaml:\"annual_provisions\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; } @@ -27,25 +27,25 @@ message Params { // maximum annual change in inflation rate string inflation_rate_change = 2 [ (gogoproto.moretags) = "yaml:\"inflation_rate_change\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; // maximum inflation rate string inflation_max = 3 [ (gogoproto.moretags) = "yaml:\"inflation_max\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; // minimum inflation rate string inflation_min = 4 [ (gogoproto.moretags) = "yaml:\"inflation_min\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; // goal of percent bonded atoms string goal_bonded = 5 [ (gogoproto.moretags) = "yaml:\"goal_bonded\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; // expected blocks per year diff --git a/proto/cosmos/mint/v1beta1/query.proto b/proto/cosmos/mint/v1beta1/query.proto index acd341d777..c62bc10a7c 100644 --- a/proto/cosmos/mint/v1beta1/query.proto +++ b/proto/cosmos/mint/v1beta1/query.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/mint/v1beta1/mint.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/mint/types"; // Query provides defines the gRPC querier service. service Query { @@ -41,7 +41,7 @@ message QueryInflationRequest {} // method. message QueryInflationResponse { // inflation is the current minting inflation value. - bytes inflation = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + bytes inflation = 1 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false]; } // QueryAnnualProvisionsRequest is the request type for the @@ -53,5 +53,5 @@ message QueryAnnualProvisionsRequest {} message QueryAnnualProvisionsResponse { // annual_provisions is the current minting annual provisions value. bytes annual_provisions = 1 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false]; } diff --git a/proto/cosmos/params/v1beta1/params.proto b/proto/cosmos/params/v1beta1/params.proto index 5382fd7999..40778c891e 100644 --- a/proto/cosmos/params/v1beta1/params.proto +++ b/proto/cosmos/params/v1beta1/params.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.params.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; +option go_package = "github.com/line/lbm-sdk/v2/x/params/types/proposal"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; diff --git a/proto/cosmos/params/v1beta1/query.proto b/proto/cosmos/params/v1beta1/query.proto index 1078e02ae3..ddee56664c 100644 --- a/proto/cosmos/params/v1beta1/query.proto +++ b/proto/cosmos/params/v1beta1/query.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/params/v1beta1/params.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; +option go_package = "github.com/line/lbm-sdk/v2/x/params/types/proposal"; // Query defines the gRPC querier service. service Query { diff --git a/proto/cosmos/slashing/v1beta1/genesis.proto b/proto/cosmos/slashing/v1beta1/genesis.proto index c813561343..2adbf616a3 100644 --- a/proto/cosmos/slashing/v1beta1/genesis.proto +++ b/proto/cosmos/slashing/v1beta1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.slashing.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/slashing/types"; import "gogoproto/gogo.proto"; import "cosmos/slashing/v1beta1/slashing.proto"; diff --git a/proto/cosmos/slashing/v1beta1/query.proto b/proto/cosmos/slashing/v1beta1/query.proto index 869049a0ed..5da6e90b72 100644 --- a/proto/cosmos/slashing/v1beta1/query.proto +++ b/proto/cosmos/slashing/v1beta1/query.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/slashing/v1beta1/slashing.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/slashing/types"; // Query provides defines the gRPC querier service service Query { diff --git a/proto/cosmos/slashing/v1beta1/slashing.proto b/proto/cosmos/slashing/v1beta1/slashing.proto index 657a90f1bd..0abb4bbf3b 100644 --- a/proto/cosmos/slashing/v1beta1/slashing.proto +++ b/proto/cosmos/slashing/v1beta1/slashing.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.slashing.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/slashing/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -34,7 +34,7 @@ message Params { int64 signed_blocks_window = 1 [(gogoproto.moretags) = "yaml:\"signed_blocks_window\""]; bytes min_signed_per_window = 2 [ (gogoproto.moretags) = "yaml:\"min_signed_per_window\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; google.protobuf.Duration downtime_jail_duration = 3 [ @@ -44,12 +44,12 @@ message Params { ]; bytes slash_fraction_double_sign = 4 [ (gogoproto.moretags) = "yaml:\"slash_fraction_double_sign\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; bytes slash_fraction_downtime = 5 [ (gogoproto.moretags) = "yaml:\"slash_fraction_downtime\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; } diff --git a/proto/cosmos/slashing/v1beta1/tx.proto b/proto/cosmos/slashing/v1beta1/tx.proto index 4d63370ecc..c7c374193e 100644 --- a/proto/cosmos/slashing/v1beta1/tx.proto +++ b/proto/cosmos/slashing/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.slashing.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/slashing/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -23,4 +23,4 @@ message MsgUnjail { } // MsgUnjailResponse defines the Msg/Unjail response type -message MsgUnjailResponse {} \ No newline at end of file +message MsgUnjailResponse {} diff --git a/proto/cosmos/staking/v1beta1/genesis.proto b/proto/cosmos/staking/v1beta1/genesis.proto index d1563dbc54..457adbe140 100644 --- a/proto/cosmos/staking/v1beta1/genesis.proto +++ b/proto/cosmos/staking/v1beta1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.staking.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/staking/types"; import "gogoproto/gogo.proto"; import "cosmos/staking/v1beta1/staking.proto"; @@ -14,7 +14,7 @@ message GenesisState { // last_total_power tracks the total amounts of bonded tokens recorded during // the previous end block. bytes last_total_power = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.moretags) = "yaml:\"last_total_power\"", (gogoproto.nullable) = false ]; diff --git a/proto/cosmos/staking/v1beta1/query.proto b/proto/cosmos/staking/v1beta1/query.proto index 4852c53535..1b64dd0113 100644 --- a/proto/cosmos/staking/v1beta1/query.proto +++ b/proto/cosmos/staking/v1beta1/query.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/staking/v1beta1/staking.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/staking/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/cosmos/staking/v1beta1/staking.proto b/proto/cosmos/staking/v1beta1/staking.proto index e37b28b6d0..f6d17624c4 100644 --- a/proto/cosmos/staking/v1beta1/staking.proto +++ b/proto/cosmos/staking/v1beta1/staking.proto @@ -10,7 +10,7 @@ import "cosmos_proto/cosmos.proto"; import "cosmos/base/v1beta1/coin.proto"; import "tendermint/types/types.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/staking/types"; // HistoricalInfo contains header and validator information for a given block. // It is stored as part of staking module's state, which persists the `n` most @@ -28,17 +28,17 @@ message CommissionRates { option (gogoproto.goproto_stringer) = false; // rate is the commission rate charged to delegators, as a fraction. - string rate = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + string rate = 1 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false]; // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. string max_rate = 2 [ (gogoproto.moretags) = "yaml:\"max_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. string max_change_rate = 3 [ (gogoproto.moretags) = "yaml:\"max_change_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; } @@ -95,11 +95,11 @@ message Validator { // status is the validator status (bonded/unbonding/unbonded). BondStatus status = 4; // tokens define the delegated tokens (incl. self-delegation). - string tokens = 5 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + string tokens = 5 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false]; // delegator_shares defines total shares issued to a validator's delegators. string delegator_shares = 6 [ (gogoproto.moretags) = "yaml:\"delegator_shares\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false ]; // description defines the description terms for the validator. @@ -114,7 +114,7 @@ message Validator { // min_self_delegation is the validator's self declared minimum self delegation. string min_self_delegation = 11 [ (gogoproto.moretags) = "yaml:\"min_self_delegation\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false ]; } @@ -190,7 +190,7 @@ message Delegation { // validator_address is the bech32-encoded address of the validator. string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; // shares define the delegation shares received. - string shares = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + string shares = 3 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false]; } // UnbondingDelegation stores all of a single delegator's unbonding bonds @@ -220,12 +220,12 @@ message UnbondingDelegationEntry { [(gogoproto.nullable) = false, (gogoproto.stdtime) = true, (gogoproto.moretags) = "yaml:\"completion_time\""]; // initial_balance defines the tokens initially scheduled to receive at completion. string initial_balance = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"initial_balance\"" ]; // balance defines the tokens to receive at completion. - string balance = 4 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + string balance = 4 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false]; } // RedelegationEntry defines a redelegation object with relevant metadata. @@ -240,13 +240,13 @@ message RedelegationEntry { [(gogoproto.nullable) = false, (gogoproto.stdtime) = true, (gogoproto.moretags) = "yaml:\"completion_time\""]; // initial_balance defines the initial balance when redelegation started. string initial_balance = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"initial_balance\"" ]; // shares_dst is the amount of destination-validator shares created by redelegation. string shares_dst = 4 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.nullable) = false]; } // Redelegation contains the list of a particular delegator's redelegating bonds @@ -302,7 +302,7 @@ message RedelegationEntryResponse { option (gogoproto.equal) = true; RedelegationEntry redelegation_entry = 1 [(gogoproto.nullable) = false]; - string balance = 4 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + string balance = 4 [(gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false]; } // RedelegationResponse is equivalent to a Redelegation except that its entries @@ -321,13 +321,13 @@ message Pool { option (gogoproto.description) = true; option (gogoproto.equal) = true; string not_bonded_tokens = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.jsontag) = "not_bonded_tokens", (gogoproto.nullable) = false ]; string bonded_tokens = 2 [ (gogoproto.jsontag) = "bonded_tokens", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"bonded_tokens\"" ]; diff --git a/proto/cosmos/staking/v1beta1/tx.proto b/proto/cosmos/staking/v1beta1/tx.proto index 7b05d89eea..936df5e43b 100644 --- a/proto/cosmos/staking/v1beta1/tx.proto +++ b/proto/cosmos/staking/v1beta1/tx.proto @@ -9,7 +9,7 @@ import "cosmos_proto/cosmos.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/staking/v1beta1/staking.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/staking/types"; // Msg defines the staking Msg service. service Msg { @@ -40,7 +40,7 @@ message MsgCreateValidator { Description description = 1 [(gogoproto.nullable) = false]; CommissionRates commission = 2 [(gogoproto.nullable) = false]; string min_self_delegation = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.moretags) = "yaml:\"min_self_delegation\"", (gogoproto.nullable) = false ]; @@ -66,11 +66,11 @@ message MsgEditValidator { // zero with no way to distinguish if an update was intended. // REF: #2373 string commission_rate = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Dec", (gogoproto.moretags) = "yaml:\"commission_rate\"" ]; string min_self_delegation = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/line/lbm-sdk/v2/types.Int", (gogoproto.moretags) = "yaml:\"min_self_delegation\"" ]; } diff --git a/proto/cosmos/tx/signing/v1beta1/signing.proto b/proto/cosmos/tx/signing/v1beta1/signing.proto index 4c1be40594..ff54da2388 100644 --- a/proto/cosmos/tx/signing/v1beta1/signing.proto +++ b/proto/cosmos/tx/signing/v1beta1/signing.proto @@ -4,7 +4,7 @@ package cosmos.tx.signing.v1beta1; import "cosmos/crypto/multisig/v1beta1/multisig.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types/tx/signing"; +option go_package = "github.com/line/lbm-sdk/v2/types/tx/signing"; // SignMode represents a signing mode with its own security guarantees. enum SignMode { diff --git a/proto/cosmos/tx/v1beta1/service.proto b/proto/cosmos/tx/v1beta1/service.proto index 59df75bab1..4bc577ceb9 100644 --- a/proto/cosmos/tx/v1beta1/service.proto +++ b/proto/cosmos/tx/v1beta1/service.proto @@ -7,7 +7,7 @@ import "cosmos/tx/v1beta1/tx.proto"; import "gogoproto/gogo.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; +option go_package = "github.com/line/lbm-sdk/v2/types/tx"; // Service defines a gRPC service for interacting with transactions. service Service { @@ -114,4 +114,4 @@ message GetTxResponse { cosmos.tx.v1beta1.Tx tx = 1; // tx_response is the queried TxResponses. cosmos.base.abci.v1beta1.TxResponse tx_response = 2; -} \ No newline at end of file +} diff --git a/proto/cosmos/tx/v1beta1/tx.proto b/proto/cosmos/tx/v1beta1/tx.proto index 2b02874cc1..dc2c0a3c91 100644 --- a/proto/cosmos/tx/v1beta1/tx.proto +++ b/proto/cosmos/tx/v1beta1/tx.proto @@ -7,7 +7,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos/tx/signing/v1beta1/signing.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; +option go_package = "github.com/line/lbm-sdk/v2/types/tx"; // Tx is the standard type used for broadcasting transactions. message Tx { @@ -163,7 +163,7 @@ message ModeInfo { message Fee { // amount is the amount of coins to be paid as a fee repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; // gas_limit is the maximum gas that can be used in transaction processing // before an out of gas error occurs diff --git a/proto/cosmos/upgrade/v1beta1/query.proto b/proto/cosmos/upgrade/v1beta1/query.proto index 9eab27e76b..027beb64fe 100644 --- a/proto/cosmos/upgrade/v1beta1/query.proto +++ b/proto/cosmos/upgrade/v1beta1/query.proto @@ -5,7 +5,7 @@ import "google/protobuf/any.proto"; import "google/api/annotations.proto"; import "cosmos/upgrade/v1beta1/upgrade.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/upgrade/types"; // Query defines the gRPC upgrade querier service. service Query { diff --git a/proto/cosmos/upgrade/v1beta1/upgrade.proto b/proto/cosmos/upgrade/v1beta1/upgrade.proto index 6d6839ca56..f68c49a527 100644 --- a/proto/cosmos/upgrade/v1beta1/upgrade.proto +++ b/proto/cosmos/upgrade/v1beta1/upgrade.proto @@ -5,7 +5,7 @@ import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/upgrade/types"; option (gogoproto.goproto_stringer_all) = false; option (gogoproto.goproto_getters_all) = false; diff --git a/proto/cosmos/vesting/v1beta1/tx.proto b/proto/cosmos/vesting/v1beta1/tx.proto index c49be802a7..84f0ccc88f 100644 --- a/proto/cosmos/vesting/v1beta1/tx.proto +++ b/proto/cosmos/vesting/v1beta1/tx.proto @@ -4,7 +4,7 @@ package cosmos.vesting.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/auth/vesting/types"; // Msg defines the bank Msg service. service Msg { @@ -21,11 +21,11 @@ message MsgCreateVestingAccount { string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; int64 end_time = 4 [(gogoproto.moretags) = "yaml:\"end_time\""]; bool delayed = 5; } // MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. -message MsgCreateVestingAccountResponse {} \ No newline at end of file +message MsgCreateVestingAccountResponse {} diff --git a/proto/cosmos/vesting/v1beta1/vesting.proto b/proto/cosmos/vesting/v1beta1/vesting.proto index 6bdbbf08e4..283abe1e20 100644 --- a/proto/cosmos/vesting/v1beta1/vesting.proto +++ b/proto/cosmos/vesting/v1beta1/vesting.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/auth/v1beta1/auth.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/auth/vesting/types"; // BaseVestingAccount implements the VestingAccount interface. It contains all // the necessary fields needed for any vesting account implementation. @@ -16,17 +16,17 @@ message BaseVestingAccount { cosmos.auth.v1beta1.BaseAccount base_account = 1 [(gogoproto.embed) = true]; repeated cosmos.base.v1beta1.Coin original_vesting = 2 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins", (gogoproto.moretags) = "yaml:\"original_vesting\"" ]; repeated cosmos.base.v1beta1.Coin delegated_free = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins", (gogoproto.moretags) = "yaml:\"delegated_free\"" ]; repeated cosmos.base.v1beta1.Coin delegated_vesting = 4 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins", (gogoproto.moretags) = "yaml:\"delegated_vesting\"" ]; int64 end_time = 5 [(gogoproto.moretags) = "yaml:\"end_time\""]; @@ -58,7 +58,7 @@ message Period { int64 length = 1; repeated cosmos.base.v1beta1.Coin amount = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/line/lbm-sdk/v2/types.Coins"]; } // PeriodicVestingAccount implements the VestingAccount interface. It diff --git a/proto/ibc/applications/transfer/v1/genesis.proto b/proto/ibc/applications/transfer/v1/genesis.proto index 98cf2296d2..fcb7bead2e 100644 --- a/proto/ibc/applications/transfer/v1/genesis.proto +++ b/proto/ibc/applications/transfer/v1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.applications.transfer.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types"; import "gogoproto/gogo.proto"; import "ibc/applications/transfer/v1/transfer.proto"; diff --git a/proto/ibc/applications/transfer/v1/query.proto b/proto/ibc/applications/transfer/v1/query.proto index e9cbd02a31..ff18207770 100644 --- a/proto/ibc/applications/transfer/v1/query.proto +++ b/proto/ibc/applications/transfer/v1/query.proto @@ -6,7 +6,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "ibc/applications/transfer/v1/transfer.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types"; // Query provides defines the gRPC querier service. service Query { diff --git a/proto/ibc/applications/transfer/v1/transfer.proto b/proto/ibc/applications/transfer/v1/transfer.proto index b388c3b879..fb8770cdcf 100644 --- a/proto/ibc/applications/transfer/v1/transfer.proto +++ b/proto/ibc/applications/transfer/v1/transfer.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.applications.transfer.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types"; import "gogoproto/gogo.proto"; diff --git a/proto/ibc/applications/transfer/v1/tx.proto b/proto/ibc/applications/transfer/v1/tx.proto index a0f0827aaf..60bf7265e7 100644 --- a/proto/ibc/applications/transfer/v1/tx.proto +++ b/proto/ibc/applications/transfer/v1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.applications.transfer.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/ibc/core/channel/v1/channel.proto b/proto/ibc/core/channel/v1/channel.proto index 302a480689..1898cea8f7 100644 --- a/proto/ibc/core/channel/v1/channel.proto +++ b/proto/ibc/core/channel/v1/channel.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.channel.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types"; import "gogoproto/gogo.proto"; import "ibc/core/client/v1/client.proto"; diff --git a/proto/ibc/core/channel/v1/genesis.proto b/proto/ibc/core/channel/v1/genesis.proto index d3b2c0424e..d5ddb76864 100644 --- a/proto/ibc/core/channel/v1/genesis.proto +++ b/proto/ibc/core/channel/v1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.channel.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types"; import "gogoproto/gogo.proto"; import "ibc/core/channel/v1/channel.proto"; diff --git a/proto/ibc/core/channel/v1/query.proto b/proto/ibc/core/channel/v1/query.proto index d9e3ceb8a6..5047c079d7 100644 --- a/proto/ibc/core/channel/v1/query.proto +++ b/proto/ibc/core/channel/v1/query.proto @@ -8,7 +8,7 @@ import "google/api/annotations.proto"; import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types"; // Query provides defines the gRPC querier service service Query { diff --git a/proto/ibc/core/channel/v1/tx.proto b/proto/ibc/core/channel/v1/tx.proto index 5f84264124..ca4319dd1a 100644 --- a/proto/ibc/core/channel/v1/tx.proto +++ b/proto/ibc/core/channel/v1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.channel.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types"; import "gogoproto/gogo.proto"; import "ibc/core/client/v1/client.proto"; diff --git a/proto/ibc/core/client/v1/client.proto b/proto/ibc/core/client/v1/client.proto index 11d2195aaf..f0dbd5eb67 100644 --- a/proto/ibc/core/client/v1/client.proto +++ b/proto/ibc/core/client/v1/client.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.client.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; diff --git a/proto/ibc/core/client/v1/genesis.proto b/proto/ibc/core/client/v1/genesis.proto index 16febbceef..512ce7826b 100644 --- a/proto/ibc/core/client/v1/genesis.proto +++ b/proto/ibc/core/client/v1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.client.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types"; import "ibc/core/client/v1/client.proto"; import "gogoproto/gogo.proto"; @@ -43,4 +43,4 @@ message IdentifiedGenesisMetadata { string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; repeated GenesisMetadata client_metadata = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_metadata\""]; -} \ No newline at end of file +} diff --git a/proto/ibc/core/client/v1/query.proto b/proto/ibc/core/client/v1/query.proto index 97f3acd627..2c24d3306f 100644 --- a/proto/ibc/core/client/v1/query.proto +++ b/proto/ibc/core/client/v1/query.proto @@ -7,7 +7,7 @@ import "google/protobuf/any.proto"; import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types"; // Query provides defines the gRPC querier service service Query { diff --git a/proto/ibc/core/client/v1/tx.proto b/proto/ibc/core/client/v1/tx.proto index a30ec8bbf1..569699b1ca 100644 --- a/proto/ibc/core/client/v1/tx.proto +++ b/proto/ibc/core/client/v1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.client.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; diff --git a/proto/ibc/core/commitment/v1/commitment.proto b/proto/ibc/core/commitment/v1/commitment.proto index 51c1027316..960465d0d1 100644 --- a/proto/ibc/core/commitment/v1/commitment.proto +++ b/proto/ibc/core/commitment/v1/commitment.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.commitment.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types"; import "gogoproto/gogo.proto"; import "confio/proofs.proto"; @@ -37,4 +37,4 @@ message MerklePath { // MerkleProofs are ordered from leaf-to-root message MerkleProof { repeated ics23.CommitmentProof proofs = 1; -} \ No newline at end of file +} diff --git a/proto/ibc/core/connection/v1/connection.proto b/proto/ibc/core/connection/v1/connection.proto index d21e595165..e810fd6aa2 100644 --- a/proto/ibc/core/connection/v1/connection.proto +++ b/proto/ibc/core/connection/v1/connection.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.connection.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types"; import "gogoproto/gogo.proto"; import "ibc/core/commitment/v1/commitment.proto"; diff --git a/proto/ibc/core/connection/v1/genesis.proto b/proto/ibc/core/connection/v1/genesis.proto index 11df4ba180..55942d3e92 100644 --- a/proto/ibc/core/connection/v1/genesis.proto +++ b/proto/ibc/core/connection/v1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.connection.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types"; import "gogoproto/gogo.proto"; import "ibc/core/connection/v1/connection.proto"; diff --git a/proto/ibc/core/connection/v1/query.proto b/proto/ibc/core/connection/v1/query.proto index c5085a131f..564bcc6b0a 100644 --- a/proto/ibc/core/connection/v1/query.proto +++ b/proto/ibc/core/connection/v1/query.proto @@ -8,7 +8,7 @@ import "ibc/core/connection/v1/connection.proto"; import "google/api/annotations.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types"; // Query provides defines the gRPC querier service service Query { diff --git a/proto/ibc/core/connection/v1/tx.proto b/proto/ibc/core/connection/v1/tx.proto index 19b40c69c3..b12bcf4983 100644 --- a/proto/ibc/core/connection/v1/tx.proto +++ b/proto/ibc/core/connection/v1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.connection.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; diff --git a/proto/ibc/core/types/v1/genesis.proto b/proto/ibc/core/types/v1/genesis.proto index ace5085993..65775b125e 100644 --- a/proto/ibc/core/types/v1/genesis.proto +++ b/proto/ibc/core/types/v1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.core.types.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/core/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/core/types"; import "gogoproto/gogo.proto"; import "ibc/core/client/v1/genesis.proto"; diff --git a/proto/ibc/lightclients/localhost/v1/localhost.proto b/proto/ibc/lightclients/localhost/v1/localhost.proto index d48a1c0076..972c55fa98 100644 --- a/proto/ibc/lightclients/localhost/v1/localhost.proto +++ b/proto/ibc/lightclients/localhost/v1/localhost.proto @@ -4,7 +4,7 @@ package ibc.lightclients.localhost.v1; import "gogoproto/gogo.proto"; import "ibc/core/client/v1/client.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types"; // ClientState defines a loopback (localhost) client. It requires (read-only) // access to keys outside the client prefix. diff --git a/proto/ibc/lightclients/solomachine/v1/solomachine.proto b/proto/ibc/lightclients/solomachine/v1/solomachine.proto index 89686f3b7f..35badd6cce 100644 --- a/proto/ibc/lightclients/solomachine/v1/solomachine.proto +++ b/proto/ibc/lightclients/solomachine/v1/solomachine.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.lightclients.solomachine.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types"; import "ibc/core/connection/v1/connection.proto"; import "ibc/core/channel/v1/channel.proto"; diff --git a/proto/ibc/lightclients/tendermint/v1/tendermint.proto b/proto/ibc/lightclients/tendermint/v1/tendermint.proto index a6882bf432..f374df7071 100644 --- a/proto/ibc/lightclients/tendermint/v1/tendermint.proto +++ b/proto/ibc/lightclients/tendermint/v1/tendermint.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package ibc.lightclients.tendermint.v1; -option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types"; +option go_package = "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types"; import "tendermint/types/validator.proto"; import "tendermint/types/types.proto"; diff --git a/scripts/linkify_changelog.py b/scripts/linkify_changelog.py index cea22ec6cf..c14dcc4250 100644 --- a/scripts/linkify_changelog.py +++ b/scripts/linkify_changelog.py @@ -12,4 +12,4 @@ # $ python ./scripts/linkify_changelog.py CHANGELOG.md for line in fileinput.input(inplace=1): line = re.sub(r"\s\\#([0-9]+)", r" [\\#\1](https://github.com/cosmos/cosmos-sdk/issues/\1)", line.rstrip()) - print(line) \ No newline at end of file + print(line) diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index bd3e400971..037d852928 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -19,7 +19,7 @@ for dir in $proto_dirs; do -I "proto" \ -I "third_party/proto" \ --gocosmos_out=plugins=interfacetype+grpc,\ -Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. \ +Mgoogle/protobuf/any.proto=github.com/line/lbm-sdk/v2/codec/types:. \ --grpc-gateway_out=logtostderr=true:. \ $(find "${dir}" -maxdepth 1 -name '*.proto') @@ -36,8 +36,8 @@ go mod tidy # generate codec/testdata proto code buf protoc -I "proto" -I "third_party/proto" -I "testutil/testdata" --gocosmos_out=plugins=interfacetype+grpc,\ -Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. ./testutil/testdata/*.proto +Mgoogle/protobuf/any.proto=github.com/line/lbm-sdk/v2/codec/types:. ./testutil/testdata/*.proto # move proto files to the right places -cp -r github.com/cosmos/cosmos-sdk/* ./ +cp -r github.com/line/lbm-sdk/v2/* ./ rm -rf github.com diff --git a/server/api/server.go b/server/api/server.go index c2987f860d..cd8f5e7836 100644 --- a/server/api/server.go +++ b/server/api/server.go @@ -14,14 +14,14 @@ import ( "github.com/tendermint/tendermint/libs/log" tmrpcserver "github.com/tendermint/tendermint/rpc/jsonrpc/server" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server/config" - "github.com/cosmos/cosmos-sdk/telemetry" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/server/config" + "github.com/line/lbm-sdk/v2/telemetry" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/rest" // unnamed import of statik for swagger UI support - _ "github.com/cosmos/cosmos-sdk/client/docs/statik" + _ "github.com/line/lbm-sdk/v2/client/docs/statik" ) // Server defines the server's API interface. diff --git a/server/cmd/execute.go b/server/cmd/execute.go index 83e9bc0b25..94287c4395 100644 --- a/server/cmd/execute.go +++ b/server/cmd/execute.go @@ -8,9 +8,9 @@ import ( tmcfg "github.com/tendermint/tendermint/config" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/server" ) // Execute executes the root command of an application. It handles creating a diff --git a/server/config/config.go b/server/config/config.go index 80e79f0455..cd3c621970 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/viper" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" + storetypes "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/server/config/config_test.go b/server/config/config_test.go index e828a0716d..1b116831c0 100644 --- a/server/config/config_test.go +++ b/server/config/config_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestDefaultConfig(t *testing.T) { diff --git a/server/export.go b/server/export.go index 8fd618028b..0b91cfff01 100644 --- a/server/export.go +++ b/server/export.go @@ -12,9 +12,9 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/server/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/server/export_test.go b/server/export_test.go index d4e41ef8e8..c31e4a4ef3 100644 --- a/server/export_test.go +++ b/server/export_test.go @@ -20,14 +20,14 @@ import ( tmtypes "github.com/tendermint/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/genutil" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/server/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/genutil" ) func TestExportCmd_ConsensusParams(t *testing.T) { diff --git a/server/grpc/server.go b/server/grpc/server.go index d9d0be1a03..4528177be7 100644 --- a/server/grpc/server.go +++ b/server/grpc/server.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/reflection" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/server/types" ) // StartGRPCServer starts a gRPC server on the given address. diff --git a/server/grpc/server_test.go b/server/grpc/server_test.go index 7a58bef00d..794b88c84a 100644 --- a/server/grpc/server_test.go +++ b/server/grpc/server_test.go @@ -13,16 +13,16 @@ import ( "google.golang.org/grpc/metadata" rpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/tx" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + clienttx "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/tx" + txtypes "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) type IntegrationTestSuite struct { @@ -116,7 +116,7 @@ func (s *IntegrationTestSuite) TestGRPCServer_Reflection() { func (s *IntegrationTestSuite) TestGRPCServer_GetTxsEvent() { // Query the tx via gRPC without pagination. This used to panic, see - // https://github.com/cosmos/cosmos-sdk/issues/8038. + // https://github.com/line/lbm-sdk/v2/issues/8038. txServiceClient := txtypes.NewServiceClient(s.conn) _, err := txServiceClient.GetTxsEvent( context.Background(), @@ -173,7 +173,7 @@ func (s *IntegrationTestSuite) TestGRPCServer_BroadcastTx() { // Test and enforce that we upfront reject any connections to baseapp containing // invalid initial x-cosmos-block-height that aren't positive and in the range [0, max(int64)] -// See issue https://github.com/cosmos/cosmos-sdk/issues/7662. +// See issue https://github.com/line/lbm-sdk/v2/issues/7662. func (s *IntegrationTestSuite) TestGRPCServerInvalidHeaderHeights() { t := s.T() val0 := s.network.Validators[0] diff --git a/server/init.go b/server/init.go index f14e236cdf..c83b0794d9 100644 --- a/server/init.go +++ b/server/init.go @@ -3,9 +3,9 @@ package server import ( "fmt" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/line/lbm-sdk/v2/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // GenerateCoinKey returns the address of a public key, along with the secret diff --git a/server/init_test.go b/server/init_test.go index d7439fe115..0468fe42ce 100644 --- a/server/init_test.go +++ b/server/init_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/types" ) func TestGenerateCoinKey(t *testing.T) { diff --git a/server/mock/app.go b/server/mock/app.go index e3fdd2c914..eb83f9b3b9 100644 --- a/server/mock/app.go +++ b/server/mock/app.go @@ -11,9 +11,9 @@ import ( abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" - bam "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + bam "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewApp creates a simple mock kvstore app for testing. It should work diff --git a/server/mock/store.go b/server/mock/store.go index d731767f19..f8244b7b4f 100644 --- a/server/mock/store.go +++ b/server/mock/store.go @@ -5,8 +5,8 @@ import ( dbm "github.com/tendermint/tm-db" - store "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + store "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var _ sdk.MultiStore = multiStore{} diff --git a/server/mock/store_test.go b/server/mock/store_test.go index b945cd3059..92959815d9 100644 --- a/server/mock/store_test.go +++ b/server/mock/store_test.go @@ -7,7 +7,7 @@ import ( dbm "github.com/tendermint/tm-db" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestStore(t *testing.T) { diff --git a/server/mock/tx.go b/server/mock/tx.go index 0cb79c2898..8ac3d4c926 100644 --- a/server/mock/tx.go +++ b/server/mock/tx.go @@ -5,8 +5,8 @@ import ( "bytes" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // An sdk.Tx which is its own sdk.Msg. diff --git a/server/pruning.go b/server/pruning.go index 44aa4ba2d1..0ec58143ac 100644 --- a/server/pruning.go +++ b/server/pruning.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cast" - "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/store" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/server/types" + "github.com/line/lbm-sdk/v2/store" + storetypes "github.com/line/lbm-sdk/v2/store/types" ) // GetPruningOptionsFromFlags parses command flags and returns the correct diff --git a/server/pruning_test.go b/server/pruning_test.go index baef9b5916..0fbd4da8fa 100644 --- a/server/pruning_test.go +++ b/server/pruning_test.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/types" ) func TestGetPruningOptionsFromFlags(t *testing.T) { diff --git a/server/start.go b/server/start.go index 0763996d89..0aa17c17d6 100644 --- a/server/start.go +++ b/server/start.go @@ -19,13 +19,13 @@ import ( "github.com/tendermint/tendermint/rpc/client/local" "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server/api" - "github.com/cosmos/cosmos-sdk/server/config" - servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" - "github.com/cosmos/cosmos-sdk/server/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/server/api" + "github.com/line/lbm-sdk/v2/server/config" + servergrpc "github.com/line/lbm-sdk/v2/server/grpc" + "github.com/line/lbm-sdk/v2/server/types" + storetypes "github.com/line/lbm-sdk/v2/store/types" ) // Tendermint full-node start flags diff --git a/server/tm_cmds.go b/server/tm_cmds.go index 854d4597fe..18a846660f 100644 --- a/server/tm_cmds.go +++ b/server/tm_cmds.go @@ -14,9 +14,9 @@ import ( tversion "github.com/tendermint/tendermint/version" yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) // ShowNodeIDCmd - ported from Tendermint, dump node ID to stdout diff --git a/server/types/app.go b/server/types/app.go index ba702074b2..a353d5334a 100644 --- a/server/types/app.go +++ b/server/types/app.go @@ -11,9 +11,9 @@ import ( tmtypes "github.com/tendermint/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server/api" - "github.com/cosmos/cosmos-sdk/server/config" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/server/api" + "github.com/line/lbm-sdk/v2/server/config" ) type ( diff --git a/server/util.go b/server/util.go index 68f1c48281..ad8827cd08 100644 --- a/server/util.go +++ b/server/util.go @@ -23,11 +23,11 @@ import ( tmlog "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server/config" - "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/server/config" + "github.com/line/lbm-sdk/v2/server/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" ) // DONTCOVER diff --git a/server/util_test.go b/server/util_test.go index 0800b59a30..6868ce552a 100644 --- a/server/util_test.go +++ b/server/util_test.go @@ -12,7 +12,7 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/line/lbm-sdk/v2/client/flags" ) var CancelledInPreRun = errors.New("Canelled in prerun") @@ -379,7 +379,7 @@ func TestInterceptConfigsPreRunHandlerPrecedenceConfigDefault(t *testing.T) { // Ensure that if interceptConfigs encounters any error other than non-existen errors // that we correctly return the offending error, for example a permission error. -// See https://github.com/cosmos/cosmos-sdk/issues/7578 +// See https://github.com/line/lbm-sdk/v2/issues/7578 func TestInterceptConfigsWithBadPermissions(t *testing.T) { tempDir := t.TempDir() subDir := filepath.Join(tempDir, "nonPerms") diff --git a/simapp/app.go b/simapp/app.go index 5eebfebb0f..91f07de803 100644 --- a/simapp/app.go +++ b/simapp/app.go @@ -16,79 +16,79 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/server/api" - "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/auth" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting" - "github.com/cosmos/cosmos-sdk/x/bank" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" - distr "github.com/cosmos/cosmos-sdk/x/distribution" - distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/cosmos/cosmos-sdk/x/gov" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - transfer "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer" - ibctransferkeeper "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/keeper" - ibctransfertypes "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - ibc "github.com/cosmos/cosmos-sdk/x/ibc/core" - ibcclient "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client" - porttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/types" - ibchost "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - ibckeeper "github.com/cosmos/cosmos-sdk/x/ibc/core/keeper" - ibcmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" - "github.com/cosmos/cosmos-sdk/x/mint" - mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/cosmos/cosmos-sdk/x/params" - paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - "github.com/cosmos/cosmos-sdk/x/slashing" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/cosmos/cosmos-sdk/x/upgrade" - upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/grpc/tmservice" + "github.com/line/lbm-sdk/v2/client/rpc" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/server/api" + "github.com/line/lbm-sdk/v2/server/config" + servertypes "github.com/line/lbm-sdk/v2/server/types" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/auth" + "github.com/line/lbm-sdk/v2/x/auth/ante" + authrest "github.com/line/lbm-sdk/v2/x/auth/client/rest" + authkeeper "github.com/line/lbm-sdk/v2/x/auth/keeper" + authsims "github.com/line/lbm-sdk/v2/x/auth/simulation" + authtx "github.com/line/lbm-sdk/v2/x/auth/tx" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/auth/vesting" + "github.com/line/lbm-sdk/v2/x/bank" + bankkeeper "github.com/line/lbm-sdk/v2/x/bank/keeper" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/capability" + capabilitykeeper "github.com/line/lbm-sdk/v2/x/capability/keeper" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + "github.com/line/lbm-sdk/v2/x/crisis" + crisiskeeper "github.com/line/lbm-sdk/v2/x/crisis/keeper" + crisistypes "github.com/line/lbm-sdk/v2/x/crisis/types" + distr "github.com/line/lbm-sdk/v2/x/distribution" + distrclient "github.com/line/lbm-sdk/v2/x/distribution/client" + distrkeeper "github.com/line/lbm-sdk/v2/x/distribution/keeper" + distrtypes "github.com/line/lbm-sdk/v2/x/distribution/types" + "github.com/line/lbm-sdk/v2/x/evidence" + evidencekeeper "github.com/line/lbm-sdk/v2/x/evidence/keeper" + evidencetypes "github.com/line/lbm-sdk/v2/x/evidence/types" + "github.com/line/lbm-sdk/v2/x/genutil" + genutiltypes "github.com/line/lbm-sdk/v2/x/genutil/types" + "github.com/line/lbm-sdk/v2/x/gov" + govkeeper "github.com/line/lbm-sdk/v2/x/gov/keeper" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + transfer "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer" + ibctransferkeeper "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/keeper" + ibctransfertypes "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + ibc "github.com/line/lbm-sdk/v2/x/ibc/core" + ibcclient "github.com/line/lbm-sdk/v2/x/ibc/core/02-client" + porttypes "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/types" + ibchost "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + ibckeeper "github.com/line/lbm-sdk/v2/x/ibc/core/keeper" + ibcmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" + "github.com/line/lbm-sdk/v2/x/mint" + mintkeeper "github.com/line/lbm-sdk/v2/x/mint/keeper" + minttypes "github.com/line/lbm-sdk/v2/x/mint/types" + "github.com/line/lbm-sdk/v2/x/params" + paramsclient "github.com/line/lbm-sdk/v2/x/params/client" + paramskeeper "github.com/line/lbm-sdk/v2/x/params/keeper" + paramstypes "github.com/line/lbm-sdk/v2/x/params/types" + paramproposal "github.com/line/lbm-sdk/v2/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/x/slashing" + slashingkeeper "github.com/line/lbm-sdk/v2/x/slashing/keeper" + slashingtypes "github.com/line/lbm-sdk/v2/x/slashing/types" + "github.com/line/lbm-sdk/v2/x/staking" + stakingkeeper "github.com/line/lbm-sdk/v2/x/staking/keeper" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" + "github.com/line/lbm-sdk/v2/x/upgrade" + upgradeclient "github.com/line/lbm-sdk/v2/x/upgrade/client" + upgradekeeper "github.com/line/lbm-sdk/v2/x/upgrade/keeper" + upgradetypes "github.com/line/lbm-sdk/v2/x/upgrade/types" // unnamed import of statik for swagger UI support - _ "github.com/cosmos/cosmos-sdk/client/docs/statik" + _ "github.com/line/lbm-sdk/v2/client/docs/statik" ) const appName = "SimApp" diff --git a/simapp/config.go b/simapp/config.go index 98df982bd3..499d0f6ddc 100644 --- a/simapp/config.go +++ b/simapp/config.go @@ -3,7 +3,7 @@ package simapp import ( "flag" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/line/lbm-sdk/v2/types/simulation" ) // List of available flags for the simulator diff --git a/simapp/encoding.go b/simapp/encoding.go index 954f4a1175..a0eee075bb 100644 --- a/simapp/encoding.go +++ b/simapp/encoding.go @@ -1,8 +1,8 @@ package simapp import ( - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - "github.com/cosmos/cosmos-sdk/std" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + "github.com/line/lbm-sdk/v2/std" ) // MakeTestEncodingConfig creates an EncodingConfig for testing. diff --git a/simapp/export.go b/simapp/export.go index 887308d30a..5d3a3ba8c0 100644 --- a/simapp/export.go +++ b/simapp/export.go @@ -6,11 +6,11 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + servertypes "github.com/line/lbm-sdk/v2/server/types" + sdk "github.com/line/lbm-sdk/v2/types" + slashingtypes "github.com/line/lbm-sdk/v2/x/slashing/types" + "github.com/line/lbm-sdk/v2/x/staking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // ExportAppStateAndValidators exports the state of the application for a genesis diff --git a/simapp/genesis.go b/simapp/genesis.go index dbb4e01c76..f410ef95d9 100644 --- a/simapp/genesis.go +++ b/simapp/genesis.go @@ -3,7 +3,7 @@ package simapp import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/line/lbm-sdk/v2/codec" ) // The genesis state of the blockchain is represented here as a map of raw json diff --git a/simapp/genesis_account.go b/simapp/genesis_account.go index 5c9c7f9a03..c624cb46e3 100644 --- a/simapp/genesis_account.go +++ b/simapp/genesis_account.go @@ -3,8 +3,8 @@ package simapp import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" ) var _ authtypes.GenesisAccount = (*SimGenesisAccount)(nil) diff --git a/simapp/genesis_account_test.go b/simapp/genesis_account_test.go index 5d5c59003e..3371bdffae 100644 --- a/simapp/genesis_account_test.go +++ b/simapp/genesis_account_test.go @@ -4,10 +4,10 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/crypto" diff --git a/simapp/helpers/test_helpers.go b/simapp/helpers/test_helpers.go index 9ccecbd976..7552907dbc 100644 --- a/simapp/helpers/test_helpers.go +++ b/simapp/helpers/test_helpers.go @@ -4,12 +4,12 @@ import ( "math/rand" "time" - "github.com/cosmos/cosmos-sdk/client" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsign "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authsign "github.com/line/lbm-sdk/v2/x/auth/signing" ) // SimAppChainID hardcoded chainID for simulation diff --git a/simapp/params/amino.go b/simapp/params/amino.go index 440c29f817..aa009be50d 100644 --- a/simapp/params/amino.go +++ b/simapp/params/amino.go @@ -3,9 +3,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) // MakeTestEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/simapp/params/encoding.go b/simapp/params/encoding.go index 698408dafd..0ea1447fcf 100644 --- a/simapp/params/encoding.go +++ b/simapp/params/encoding.go @@ -1,9 +1,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" ) // EncodingConfig specifies the concrete encoding types to use for a given app. diff --git a/simapp/params/proto.go b/simapp/params/proto.go index 04aa524b90..f061ab0715 100644 --- a/simapp/params/proto.go +++ b/simapp/params/proto.go @@ -3,9 +3,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/x/auth/tx" ) // MakeTestEncodingConfig creates an EncodingConfig for a non-amino based test configuration. diff --git a/simapp/sim_bench_test.go b/simapp/sim_bench_test.go index 7c22dcfe8a..60bacdc176 100644 --- a/simapp/sim_bench_test.go +++ b/simapp/sim_bench_test.go @@ -7,12 +7,12 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" ) // Profile with: -// /usr/local/go/bin/go test -benchmem -run=^$ github.com/cosmos/cosmos-sdk/simapp -bench ^BenchmarkFullAppSimulation$ -Commit=true -cpuprofile cpu.out +// /usr/local/go/bin/go test -benchmem -run=^$ github.com/line/lbm-sdk/v2/simapp -bench ^BenchmarkFullAppSimulation$ -Commit=true -cpuprofile cpu.out func BenchmarkFullAppSimulation(b *testing.B) { config, db, dir, logger, _, err := SetupSimulation("goleveldb-app-sim", "Simulation") if err != nil { diff --git a/simapp/sim_test.go b/simapp/sim_test.go index cc1a7cada4..50971f101e 100644 --- a/simapp/sim_test.go +++ b/simapp/sim_test.go @@ -13,24 +13,24 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - ibctransfertypes "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - ibchost "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/simulation" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp/helpers" + "github.com/line/lbm-sdk/v2/store" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + distrtypes "github.com/line/lbm-sdk/v2/x/distribution/types" + evidencetypes "github.com/line/lbm-sdk/v2/x/evidence/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + ibctransfertypes "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + ibchost "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + minttypes "github.com/line/lbm-sdk/v2/x/mint/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/simulation" + slashingtypes "github.com/line/lbm-sdk/v2/x/slashing/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // Get flags every time the simulator is run diff --git a/simapp/simd/cmd/cmd_test.go b/simapp/simd/cmd/cmd_test.go index 1a9183d33e..6a15edd69b 100644 --- a/simapp/simd/cmd/cmd_test.go +++ b/simapp/simd/cmd/cmd_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/simd/cmd" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + svrcmd "github.com/line/lbm-sdk/v2/server/cmd" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/simapp/simd/cmd" + "github.com/line/lbm-sdk/v2/x/genutil/client/cli" ) func TestInitCmd(t *testing.T) { diff --git a/simapp/simd/cmd/genaccounts.go b/simapp/simd/cmd/genaccounts.go index 57de144c36..128995fa76 100644 --- a/simapp/simd/cmd/genaccounts.go +++ b/simapp/simd/cmd/genaccounts.go @@ -8,17 +8,17 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - authvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/server" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + authvesting "github.com/line/lbm-sdk/v2/x/auth/vesting/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/genutil" + genutiltypes "github.com/line/lbm-sdk/v2/x/genutil/types" ) const ( diff --git a/simapp/simd/cmd/genaccounts_test.go b/simapp/simd/cmd/genaccounts_test.go index 9efc5343e7..9ab687f996 100644 --- a/simapp/simd/cmd/genaccounts_test.go +++ b/simapp/simd/cmd/genaccounts_test.go @@ -9,15 +9,15 @@ import ( "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/simapp" - simcmd "github.com/cosmos/cosmos-sdk/simapp/simd/cmd" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/simapp" + simcmd "github.com/line/lbm-sdk/v2/simapp/simd/cmd" + "github.com/line/lbm-sdk/v2/testutil/testdata" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/genutil" + genutiltest "github.com/line/lbm-sdk/v2/x/genutil/client/testutil" ) var testMbm = module.NewBasicManager(genutil.AppModuleBasic{}) diff --git a/simapp/simd/cmd/root.go b/simapp/simd/cmd/root.go index 7f1c542d63..f214855da3 100644 --- a/simapp/simd/cmd/root.go +++ b/simapp/simd/cmd/root.go @@ -12,26 +12,26 @@ import ( "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/debug" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/keys" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/server" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/params" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - "github.com/cosmos/cosmos-sdk/x/auth/types" - vestingcli "github.com/cosmos/cosmos-sdk/x/auth/vesting/client/cli" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/debug" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/keys" + "github.com/line/lbm-sdk/v2/client/rpc" + "github.com/line/lbm-sdk/v2/server" + servertypes "github.com/line/lbm-sdk/v2/server/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/simapp/params" + "github.com/line/lbm-sdk/v2/snapshots" + "github.com/line/lbm-sdk/v2/store" + sdk "github.com/line/lbm-sdk/v2/types" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + authcmd "github.com/line/lbm-sdk/v2/x/auth/client/cli" + "github.com/line/lbm-sdk/v2/x/auth/types" + vestingcli "github.com/line/lbm-sdk/v2/x/auth/vesting/client/cli" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/crisis" + genutilcli "github.com/line/lbm-sdk/v2/x/genutil/client/cli" ) // NewRootCmd creates a new root command for simd. It is called once in the diff --git a/simapp/simd/cmd/testnet.go b/simapp/simd/cmd/testnet.go index 0717b39842..ff9f9a52af 100644 --- a/simapp/simd/cmd/testnet.go +++ b/simapp/simd/cmd/testnet.go @@ -17,21 +17,21 @@ import ( "github.com/tendermint/tendermint/types" tmtime "github.com/tendermint/tendermint/types/time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/server" - srvconfig "github.com/cosmos/cosmos-sdk/server/config" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "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/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/server" + srvconfig "github.com/line/lbm-sdk/v2/server/config" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/genutil" + genutiltypes "github.com/line/lbm-sdk/v2/x/genutil/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/simapp/simd/main.go b/simapp/simd/main.go index 3e744360f4..982edd9f69 100644 --- a/simapp/simd/main.go +++ b/simapp/simd/main.go @@ -3,10 +3,10 @@ package main import ( "os" - "github.com/cosmos/cosmos-sdk/server" - svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/simd/cmd" + "github.com/line/lbm-sdk/v2/server" + svrcmd "github.com/line/lbm-sdk/v2/server/cmd" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/simapp/simd/cmd" ) func main() { diff --git a/simapp/state.go b/simapp/state.go index 4c3773813a..cd1fb5848a 100644 --- a/simapp/state.go +++ b/simapp/state.go @@ -11,12 +11,12 @@ import ( tmjson "github.com/tendermint/tendermint/libs/json" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" ) // AppStateFn returns the initial application state using a genesis or the simulation parameters. diff --git a/simapp/test_helpers.go b/simapp/test_helpers.go index 83f2ea4535..1982880396 100644 --- a/simapp/test_helpers.go +++ b/simapp/test_helpers.go @@ -16,18 +16,18 @@ import ( tmtypes "github.com/tendermint/tendermint/types" dbm "github.com/tendermint/tm-db" - bam "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + bam "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/client" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp/helpers" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/errors" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // DefaultConsensusParams defines the default Tendermint consensus params used in diff --git a/simapp/types.go b/simapp/types.go index 0e190af1bc..65303f04d2 100644 --- a/simapp/types.go +++ b/simapp/types.go @@ -3,10 +3,10 @@ package simapp import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/server/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" ) // App implements the common methods for a Cosmos SDK-based application diff --git a/simapp/utils.go b/simapp/utils.go index 2067ed54b1..b9987dfc66 100644 --- a/simapp/utils.go +++ b/simapp/utils.go @@ -8,12 +8,12 @@ import ( "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp/helpers" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" ) // SetupSimulation creates the config, db (levelDB), temporary directory and logger for diff --git a/simapp/utils_test.go b/simapp/utils_test.go index 6d8bb21f3f..6f86c0f6cc 100644 --- a/simapp/utils_test.go +++ b/simapp/utils_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/std" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/types/module" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/std" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/types/module" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" ) func makeCodec(bm module.BasicManager) *codec.LegacyAmino { diff --git a/snapshots/helpers_test.go b/snapshots/helpers_test.go index 751ac212d3..a6a05322d9 100644 --- a/snapshots/helpers_test.go +++ b/snapshots/helpers_test.go @@ -13,8 +13,8 @@ import ( "github.com/stretchr/testify/require" db "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/snapshots/types" + "github.com/line/lbm-sdk/v2/snapshots" + "github.com/line/lbm-sdk/v2/snapshots/types" ) func checksums(slice [][]byte) [][]byte { diff --git a/snapshots/manager.go b/snapshots/manager.go index 3cb96e65f4..b4fa14f59e 100644 --- a/snapshots/manager.go +++ b/snapshots/manager.go @@ -7,8 +7,8 @@ import ( "io/ioutil" "sync" - "github.com/cosmos/cosmos-sdk/snapshots/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/snapshots/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/snapshots/manager_test.go b/snapshots/manager_test.go index 6069666f14..a584250de2 100644 --- a/snapshots/manager_test.go +++ b/snapshots/manager_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/snapshots/types" + "github.com/line/lbm-sdk/v2/snapshots" + "github.com/line/lbm-sdk/v2/snapshots/types" ) func TestManager_List(t *testing.T) { diff --git a/snapshots/store.go b/snapshots/store.go index 77ff58e22f..65f04e451f 100644 --- a/snapshots/store.go +++ b/snapshots/store.go @@ -13,8 +13,8 @@ import ( "github.com/gogo/protobuf/proto" db "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/snapshots/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/snapshots/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/snapshots/store_test.go b/snapshots/store_test.go index 325fd3410b..c83ca4ba3d 100644 --- a/snapshots/store_test.go +++ b/snapshots/store_test.go @@ -14,9 +14,9 @@ import ( "github.com/stretchr/testify/require" db "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/snapshots" + "github.com/line/lbm-sdk/v2/snapshots/types" + "github.com/line/lbm-sdk/v2/testutil" ) func setupStore(t *testing.T) *snapshots.Store { diff --git a/snapshots/types/convert.go b/snapshots/types/convert.go index d0db6e3dc1..f70003be35 100644 --- a/snapshots/types/convert.go +++ b/snapshots/types/convert.go @@ -4,7 +4,7 @@ import ( proto "github.com/gogo/protobuf/proto" abci "github.com/tendermint/tendermint/abci/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // Converts an ABCI snapshot to a snapshot. Mainly to decode the SDK metadata. diff --git a/snapshots/util.go b/snapshots/util.go index 674bd49d92..d659ce702a 100644 --- a/snapshots/util.go +++ b/snapshots/util.go @@ -3,7 +3,7 @@ package snapshots import ( "io" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // ChunkWriter reads an input stream, splits it into fixed-size chunks, and writes them to a diff --git a/snapshots/util_test.go b/snapshots/util_test.go index 78c870b90a..15b7c9b2b8 100644 --- a/snapshots/util_test.go +++ b/snapshots/util_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/snapshots" + "github.com/line/lbm-sdk/v2/snapshots" ) func TestChunkWriter(t *testing.T) { diff --git a/std/codec.go b/std/codec.go index 7310d75a25..8687cd0141 100644 --- a/std/codec.go +++ b/std/codec.go @@ -1,11 +1,11 @@ package std import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + txtypes "github.com/line/lbm-sdk/v2/types/tx" ) // RegisterLegacyAminoCodec registers types with the Amino codec. diff --git a/store/cache/benchmark_test.go b/store/cache/benchmark_test.go index cf8206272c..625c037c2b 100644 --- a/store/cache/benchmark_test.go +++ b/store/cache/benchmark_test.go @@ -3,7 +3,7 @@ package cache import ( "testing" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/types" ) func freshMgr() *CommitKVStoreCacheManager { diff --git a/store/cache/cache.go b/store/cache/cache.go index 62bed91d97..ab7f69f9b2 100644 --- a/store/cache/cache.go +++ b/store/cache/cache.go @@ -3,8 +3,8 @@ package cache import ( "fmt" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/cachekv" + "github.com/line/lbm-sdk/v2/store/types" lru "github.com/hashicorp/golang-lru" ) diff --git a/store/cache/cache_test.go b/store/cache/cache_test.go index 45c5d147a4..904961646a 100644 --- a/store/cache/cache_test.go +++ b/store/cache/cache_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cache" - iavlstore "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/cache" + iavlstore "github.com/line/lbm-sdk/v2/store/iavl" + "github.com/line/lbm-sdk/v2/store/types" ) func TestGetOrSetStoreCache(t *testing.T) { diff --git a/store/cachekv/memiterator.go b/store/cachekv/memiterator.go index 675494b8ff..f6b5745c00 100644 --- a/store/cachekv/memiterator.go +++ b/store/cachekv/memiterator.go @@ -6,7 +6,7 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/line/lbm-sdk/v2/types/kv" ) // Iterates over iterKVCache items. diff --git a/store/cachekv/mergeiterator.go b/store/cachekv/mergeiterator.go index 25dfac8033..c5ab8b6d68 100644 --- a/store/cachekv/mergeiterator.go +++ b/store/cachekv/mergeiterator.go @@ -4,7 +4,7 @@ import ( "bytes" "errors" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/types" ) // cacheMergeIterator merges a parent Iterator and a cache Iterator. diff --git a/store/cachekv/store.go b/store/cachekv/store.go index 42c94370b8..f3dc649575 100644 --- a/store/cachekv/store.go +++ b/store/cachekv/store.go @@ -12,10 +12,10 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/line/lbm-sdk/v2/store/tracekv" + "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/telemetry" + "github.com/line/lbm-sdk/v2/types/kv" ) // If value is nil but deleted is false, it means the parent doesn't have the diff --git a/store/cachekv/store_bench_test.go b/store/cachekv/store_bench_test.go index 4902819834..0cd07f5810 100644 --- a/store/cachekv/store_bench_test.go +++ b/store/cachekv/store_bench_test.go @@ -7,8 +7,8 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/cachekv" + "github.com/line/lbm-sdk/v2/store/dbadapter" ) func benchmarkCacheKVStoreIterator(numKVs int, b *testing.B) { diff --git a/store/cachekv/store_test.go b/store/cachekv/store_test.go index e3b33341b8..172fa4282d 100644 --- a/store/cachekv/store_test.go +++ b/store/cachekv/store_test.go @@ -8,9 +8,9 @@ import ( tmrand "github.com/tendermint/tendermint/libs/rand" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/cachekv" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/types" ) func newCacheKVStore() types.CacheKVStore { diff --git a/store/cachemulti/store.go b/store/cachemulti/store.go index 59a29c358c..05f6c5028a 100644 --- a/store/cachemulti/store.go +++ b/store/cachemulti/store.go @@ -6,9 +6,9 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/cachekv" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/types" ) //---------------------------------------- diff --git a/store/dbadapter/store.go b/store/dbadapter/store.go index e9ea4f847d..c81e2f17ab 100644 --- a/store/dbadapter/store.go +++ b/store/dbadapter/store.go @@ -5,9 +5,9 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/cachekv" + "github.com/line/lbm-sdk/v2/store/tracekv" + "github.com/line/lbm-sdk/v2/store/types" ) // Wrapper type for dbm.Db with implementation of KVStore diff --git a/store/dbadapter/store_test.go b/store/dbadapter/store_test.go index c09f093316..1a69b4acd9 100644 --- a/store/dbadapter/store_test.go +++ b/store/dbadapter/store_test.go @@ -8,9 +8,9 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/tests/mocks" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/tests/mocks" ) var errFoo = errors.New("dummy") diff --git a/store/firstlast.go b/store/firstlast.go index 307f932fb0..870debd1ce 100644 --- a/store/firstlast.go +++ b/store/firstlast.go @@ -3,8 +3,8 @@ package store import ( "bytes" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkkv "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/line/lbm-sdk/v2/types" + sdkkv "github.com/line/lbm-sdk/v2/types/kv" ) // Gets the first item. diff --git a/store/gaskv/store.go b/store/gaskv/store.go index d5c1f86c20..d4b58293d8 100644 --- a/store/gaskv/store.go +++ b/store/gaskv/store.go @@ -4,8 +4,8 @@ import ( "io" "time" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/telemetry" ) var _ types.KVStore = &Store{} diff --git a/store/gaskv/store_test.go b/store/gaskv/store_test.go index 432fbe3763..c16baf4faf 100644 --- a/store/gaskv/store_test.go +++ b/store/gaskv/store_test.go @@ -6,9 +6,9 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/gaskv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/gaskv" + "github.com/line/lbm-sdk/v2/store/types" "github.com/stretchr/testify/require" ) diff --git a/store/iavl/store.go b/store/iavl/store.go index e3a3f897d7..e1bb080c1d 100644 --- a/store/iavl/store.go +++ b/store/iavl/store.go @@ -13,13 +13,13 @@ import ( tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/line/lbm-sdk/v2/store/cachekv" + "github.com/line/lbm-sdk/v2/store/tracekv" + "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/kv" ) const ( diff --git a/store/iavl/store_test.go b/store/iavl/store_test.go index 790830038b..d76025c15f 100644 --- a/store/iavl/store_test.go +++ b/store/iavl/store_test.go @@ -10,8 +10,8 @@ import ( abci "github.com/tendermint/tendermint/abci/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/types/kv" ) var ( diff --git a/store/internal/maps/maps.go b/store/internal/maps/maps.go index 778f1c84ed..0530d00faa 100644 --- a/store/internal/maps/maps.go +++ b/store/internal/maps/maps.go @@ -7,7 +7,7 @@ import ( "github.com/tendermint/tendermint/crypto/tmhash" tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/line/lbm-sdk/v2/types/kv" ) // merkleMap defines a merkle-ized tree from a map. Leave values are treated as diff --git a/store/internal/proofs/create.go b/store/internal/proofs/create.go index 02d57e336f..e548ab4c29 100644 --- a/store/internal/proofs/create.go +++ b/store/internal/proofs/create.go @@ -6,7 +6,7 @@ import ( ics23 "github.com/confio/ics23/go" - sdkmaps "github.com/cosmos/cosmos-sdk/store/internal/maps" + sdkmaps "github.com/line/lbm-sdk/v2/store/internal/maps" ) // TendermintSpec constrains the format from ics23-tendermint (crypto/merkle SimpleProof) diff --git a/store/internal/proofs/helpers.go b/store/internal/proofs/helpers.go index 98b04ef5ef..65cbbb1481 100644 --- a/store/internal/proofs/helpers.go +++ b/store/internal/proofs/helpers.go @@ -6,7 +6,7 @@ import ( "github.com/tendermint/tendermint/libs/rand" tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - sdkmaps "github.com/cosmos/cosmos-sdk/store/internal/maps" + sdkmaps "github.com/line/lbm-sdk/v2/store/internal/maps" ) // SimpleResult contains a merkle.SimpleProof along with all data needed to build the confio/proof diff --git a/store/mem/mem_test.go b/store/mem/mem_test.go index cff4c37da7..95fb82d250 100644 --- a/store/mem/mem_test.go +++ b/store/mem/mem_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/mem" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/mem" + "github.com/line/lbm-sdk/v2/store/types" ) func TestStore(t *testing.T) { diff --git a/store/mem/store.go b/store/mem/store.go index 66591b645f..5ff360809c 100644 --- a/store/mem/store.go +++ b/store/mem/store.go @@ -5,10 +5,10 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/cachekv" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/tracekv" + "github.com/line/lbm-sdk/v2/store/types" ) var ( diff --git a/store/prefix/store.go b/store/prefix/store.go index 4f9d5a75e0..4b29acb228 100644 --- a/store/prefix/store.go +++ b/store/prefix/store.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/cachekv" + "github.com/line/lbm-sdk/v2/store/tracekv" + "github.com/line/lbm-sdk/v2/store/types" ) var _ types.KVStore = Store{} diff --git a/store/prefix/store_test.go b/store/prefix/store_test.go index b6f32b45f9..6e935cdd21 100644 --- a/store/prefix/store_test.go +++ b/store/prefix/store_test.go @@ -9,11 +9,11 @@ import ( tiavl "github.com/cosmos/iavl" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/gaskv" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/gaskv" + "github.com/line/lbm-sdk/v2/store/iavl" + "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // copied from iavl/store_test.go diff --git a/store/reexport.go b/store/reexport.go index 8a365ab758..0f4b0637c7 100644 --- a/store/reexport.go +++ b/store/reexport.go @@ -1,7 +1,7 @@ package store import ( - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/types" ) // Import cosmos-sdk/types/store.go for convenience. diff --git a/store/rootmulti/dbadapter.go b/store/rootmulti/dbadapter.go index 4d6e5afeb8..7e9397530c 100644 --- a/store/rootmulti/dbadapter.go +++ b/store/rootmulti/dbadapter.go @@ -1,8 +1,8 @@ package rootmulti import ( - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/types" ) var commithash = []byte("FAKE_HASH") diff --git a/store/rootmulti/proof.go b/store/rootmulti/proof.go index fc8925b7f2..3718150d7f 100644 --- a/store/rootmulti/proof.go +++ b/store/rootmulti/proof.go @@ -3,7 +3,7 @@ package rootmulti import ( "github.com/tendermint/tendermint/crypto/merkle" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + storetypes "github.com/line/lbm-sdk/v2/store/types" ) // RequireProof returns whether proof is required for the subpath. diff --git a/store/rootmulti/proof_test.go b/store/rootmulti/proof_test.go index f0bd29063a..fae2e5f4b5 100644 --- a/store/rootmulti/proof_test.go +++ b/store/rootmulti/proof_test.go @@ -7,8 +7,8 @@ import ( abci "github.com/tendermint/tendermint/abci/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/iavl" + "github.com/line/lbm-sdk/v2/store/types" ) func TestVerifyIAVLStoreQueryProof(t *testing.T) { diff --git a/store/rootmulti/store.go b/store/rootmulti/store.go index 1ca43eae9d..67767064cc 100644 --- a/store/rootmulti/store.go +++ b/store/rootmulti/store.go @@ -17,16 +17,16 @@ import ( abci "github.com/tendermint/tendermint/abci/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/snapshots" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store/cachemulti" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/mem" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/transient" - "github.com/cosmos/cosmos-sdk/store/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/snapshots" + snapshottypes "github.com/line/lbm-sdk/v2/snapshots/types" + "github.com/line/lbm-sdk/v2/store/cachemulti" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/iavl" + "github.com/line/lbm-sdk/v2/store/mem" + "github.com/line/lbm-sdk/v2/store/tracekv" + "github.com/line/lbm-sdk/v2/store/transient" + "github.com/line/lbm-sdk/v2/store/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/store/rootmulti/store_test.go b/store/rootmulti/store_test.go index e4654f410d..5628ea9a84 100644 --- a/store/rootmulti/store_test.go +++ b/store/rootmulti/store_test.go @@ -16,11 +16,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" dbm "github.com/tendermint/tm-db" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store/iavl" - sdkmaps "github.com/cosmos/cosmos-sdk/store/internal/maps" - "github.com/cosmos/cosmos-sdk/store/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + snapshottypes "github.com/line/lbm-sdk/v2/snapshots/types" + "github.com/line/lbm-sdk/v2/store/iavl" + sdkmaps "github.com/line/lbm-sdk/v2/store/internal/maps" + "github.com/line/lbm-sdk/v2/store/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) func TestStoreType(t *testing.T) { diff --git a/store/store.go b/store/store.go index 2c068c413f..e283cc3962 100644 --- a/store/store.go +++ b/store/store.go @@ -3,9 +3,9 @@ package store import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cache" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/cache" + "github.com/line/lbm-sdk/v2/store/rootmulti" + "github.com/line/lbm-sdk/v2/store/types" ) func NewCommitMultiStore(db dbm.DB) types.CommitMultiStore { diff --git a/store/tracekv/store.go b/store/tracekv/store.go index 2958d96826..f41d9bd563 100644 --- a/store/tracekv/store.go +++ b/store/tracekv/store.go @@ -5,8 +5,8 @@ import ( "encoding/json" "io" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/store/tracekv/store_test.go b/store/tracekv/store_test.go index e2c4e2a0fe..bc5e44c17d 100644 --- a/store/tracekv/store_test.go +++ b/store/tracekv/store_test.go @@ -10,10 +10,10 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/prefix" + "github.com/line/lbm-sdk/v2/store/tracekv" + "github.com/line/lbm-sdk/v2/store/types" ) func bz(s string) []byte { return []byte(s) } diff --git a/store/transient/store.go b/store/transient/store.go index 572ab55f76..a89bee804b 100644 --- a/store/transient/store.go +++ b/store/transient/store.go @@ -3,8 +3,8 @@ package transient import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/dbadapter" + "github.com/line/lbm-sdk/v2/store/types" ) var _ types.Committer = (*Store)(nil) diff --git a/store/transient/store_test.go b/store/transient/store_test.go index 632b561b61..6b4ce9b47b 100644 --- a/store/transient/store_test.go +++ b/store/transient/store_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/transient" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/transient" + "github.com/line/lbm-sdk/v2/store/types" ) var k, v = []byte("hello"), []byte("world") diff --git a/store/types/commit_info.go b/store/types/commit_info.go index e713040739..9942be9182 100644 --- a/store/types/commit_info.go +++ b/store/types/commit_info.go @@ -6,8 +6,8 @@ import ( ics23 "github.com/confio/ics23/go" tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - sdkmaps "github.com/cosmos/cosmos-sdk/store/internal/maps" - sdkproofs "github.com/cosmos/cosmos-sdk/store/internal/proofs" + sdkmaps "github.com/line/lbm-sdk/v2/store/internal/maps" + sdkproofs "github.com/line/lbm-sdk/v2/store/internal/proofs" ) // GetHash returns the GetHash from the CommitID. diff --git a/store/types/errors.go b/store/types/errors.go index 780fcdef37..3efc2b9d14 100644 --- a/store/types/errors.go +++ b/store/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const StoreCodespace = "store" diff --git a/store/types/iterator_test.go b/store/types/iterator_test.go index 3086917b60..85d25ec924 100644 --- a/store/types/iterator_test.go +++ b/store/types/iterator_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/iavl" + "github.com/line/lbm-sdk/v2/store/types" ) func newMemTestKVStore(t *testing.T) types.KVStore { diff --git a/store/types/proof.go b/store/types/proof.go index db8f673f46..8ec3f5d8d4 100644 --- a/store/types/proof.go +++ b/store/types/proof.go @@ -5,7 +5,7 @@ import ( "github.com/tendermint/tendermint/crypto/merkle" tmmerkle "github.com/tendermint/tendermint/proto/tendermint/crypto" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/store/types/store.go b/store/types/store.go index 8da2b26fd1..143f259f0c 100644 --- a/store/types/store.go +++ b/store/types/store.go @@ -8,8 +8,8 @@ import ( tmstrings "github.com/tendermint/tendermint/libs/strings" dbm "github.com/tendermint/tm-db" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/types/kv" + snapshottypes "github.com/line/lbm-sdk/v2/snapshots/types" + "github.com/line/lbm-sdk/v2/types/kv" ) type Store interface { diff --git a/store/types/utils.go b/store/types/utils.go index 22c8ca0761..68fd3227ec 100644 --- a/store/types/utils.go +++ b/store/types/utils.go @@ -3,7 +3,7 @@ package types import ( "bytes" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/line/lbm-sdk/v2/types/kv" ) // Iterator over all the keys with a certain prefix in ascending order diff --git a/store/types/utils_test.go b/store/types/utils_test.go index 32064d7e18..f26ca02f23 100644 --- a/store/types/utils_test.go +++ b/store/types/utils_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/rootmulti" + "github.com/line/lbm-sdk/v2/store/types" ) func initTestStores(t *testing.T) (types.KVStore, types.KVStore) { diff --git a/store/types/validity_test.go b/store/types/validity_test.go index 0f5d0466a3..3c6b6dcd72 100644 --- a/store/types/validity_test.go +++ b/store/types/validity_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/types" ) func TestAssertValidKey(t *testing.T) { diff --git a/tests/mocks/account_retriever.go b/tests/mocks/account_retriever.go index 37fa1aa64d..3b86a8397f 100644 --- a/tests/mocks/account_retriever.go +++ b/tests/mocks/account_retriever.go @@ -5,10 +5,10 @@ package mocks import ( - client "github.com/cosmos/cosmos-sdk/client" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - types "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" + client "github.com/line/lbm-sdk/v2/client" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + types "github.com/line/lbm-sdk/v2/types" reflect "reflect" ) diff --git a/tests/mocks/types_handler.go b/tests/mocks/types_handler.go index da80614ae8..360221a4d8 100644 --- a/tests/mocks/types_handler.go +++ b/tests/mocks/types_handler.go @@ -5,8 +5,8 @@ package mocks import ( - types "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" + types "github.com/line/lbm-sdk/v2/types" reflect "reflect" ) diff --git a/tests/mocks/types_invariant.go b/tests/mocks/types_invariant.go index 325b108b20..e12fbb3164 100644 --- a/tests/mocks/types_invariant.go +++ b/tests/mocks/types_invariant.go @@ -5,8 +5,8 @@ package mocks import ( - types "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" + types "github.com/line/lbm-sdk/v2/types" reflect "reflect" ) diff --git a/tests/mocks/types_module_module.go b/tests/mocks/types_module_module.go index 41ded4d7a2..868b4af3e1 100644 --- a/tests/mocks/types_module_module.go +++ b/tests/mocks/types_module_module.go @@ -6,14 +6,14 @@ package mocks import ( json "encoding/json" - client "github.com/cosmos/cosmos-sdk/client" - codec "github.com/cosmos/cosmos-sdk/codec" - types "github.com/cosmos/cosmos-sdk/codec/types" - types0 "github.com/cosmos/cosmos-sdk/types" - module "github.com/cosmos/cosmos-sdk/types/module" gomock "github.com/golang/mock/gomock" mux "github.com/gorilla/mux" runtime "github.com/grpc-ecosystem/grpc-gateway/runtime" + client "github.com/line/lbm-sdk/v2/client" + codec "github.com/line/lbm-sdk/v2/codec" + types "github.com/line/lbm-sdk/v2/codec/types" + types0 "github.com/line/lbm-sdk/v2/types" + module "github.com/line/lbm-sdk/v2/types/module" cobra "github.com/spf13/cobra" types1 "github.com/tendermint/tendermint/abci/types" reflect "reflect" diff --git a/tests/mocks/types_router.go b/tests/mocks/types_router.go index 48f96b0b16..ee2d728694 100644 --- a/tests/mocks/types_router.go +++ b/tests/mocks/types_router.go @@ -5,8 +5,8 @@ package mocks import ( - types "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" + types "github.com/line/lbm-sdk/v2/types" reflect "reflect" ) diff --git a/testutil/cli/cmd.go b/testutil/cli/cmd.go index 1f09ae9296..deb7687a2b 100644 --- a/testutil/cli/cmd.go +++ b/testutil/cli/cmd.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/testutil" ) // ExecTestCLICmd builds the client context, mocks the output and executes the command. diff --git a/testutil/ioutil_test.go b/testutil/ioutil_test.go index 415e7842c1..6516bf7e30 100644 --- a/testutil/ioutil_test.go +++ b/testutil/ioutil_test.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/testutil" ) func TestApplyMockIO(t *testing.T) { diff --git a/testutil/network/network.go b/testutil/network/network.go index 1da939c3bd..ad5af74a4f 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -24,26 +24,26 @@ import ( dbm "github.com/tendermint/tm-db" "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/server/api" - srvconfig "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/params" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/server/api" + srvconfig "github.com/line/lbm-sdk/v2/server/config" + servertypes "github.com/line/lbm-sdk/v2/server/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/simapp/params" + storetypes "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/genutil" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // package-wide network lock to only allow one test network at a time diff --git a/testutil/network/network_test.go b/testutil/network/network_test.go index 3e45309f2f..b60f4ee4f6 100644 --- a/testutil/network/network_test.go +++ b/testutil/network/network_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/line/lbm-sdk/v2/testutil/network" ) type IntegrationTestSuite struct { diff --git a/testutil/network/util.go b/testutil/network/util.go index 7b09ae6a1d..b6a36becc4 100644 --- a/testutil/network/util.go +++ b/testutil/network/util.go @@ -14,12 +14,12 @@ import ( "github.com/tendermint/tendermint/types" tmtime "github.com/tendermint/tendermint/types/time" - "github.com/cosmos/cosmos-sdk/server/api" - servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/server/api" + servergrpc "github.com/line/lbm-sdk/v2/server/grpc" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/genutil" + genutiltypes "github.com/line/lbm-sdk/v2/x/genutil/types" ) func startInProcess(cfg Config, val *Validator) error { diff --git a/testutil/testdata/animal.go b/testutil/testdata/animal.go index 96981a40b9..87a1470f78 100644 --- a/testutil/testdata/animal.go +++ b/testutil/testdata/animal.go @@ -8,7 +8,7 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" ) type Animal interface { diff --git a/testutil/testdata/codec.go b/testutil/testdata/codec.go index d5c6e8abd2..8969af4d5a 100644 --- a/testutil/testdata/codec.go +++ b/testutil/testdata/codec.go @@ -3,9 +3,9 @@ package testdata import ( amino "github.com/tendermint/go-amino" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" ) func NewTestInterfaceRegistry() types.InterfaceRegistry { diff --git a/testutil/testdata/grpc_query.go b/testutil/testdata/grpc_query.go index 6e2b641529..67339719c6 100644 --- a/testutil/testdata/grpc_query.go +++ b/testutil/testdata/grpc_query.go @@ -6,7 +6,7 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" ) type QueryImpl struct{} diff --git a/testutil/testdata/query.pb.go b/testutil/testdata/query.pb.go index e7d38dc7ce..95dc9dc01b 100644 --- a/testutil/testdata/query.pb.go +++ b/testutil/testdata/query.pb.go @@ -6,9 +6,9 @@ package testdata import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/testutil/testdata/query.proto b/testutil/testdata/query.proto index 3a60acaad1..e48288ed4c 100644 --- a/testutil/testdata/query.proto +++ b/testutil/testdata/query.proto @@ -4,10 +4,10 @@ package testdata; import "google/protobuf/any.proto"; import "testdata.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata"; +option go_package = "github.com/line/lbm-sdk/v2/testutil/testdata"; // Query tests the protobuf Query service as defined in -// https://github.com/cosmos/cosmos-sdk/issues/5921. +// https://github.com/line/lbm-sdk/v2/issues/5921. service Query { rpc Echo(EchoRequest) returns (EchoResponse); rpc SayHello(SayHelloRequest) returns (SayHelloResponse); diff --git a/testutil/testdata/testdata.pb.go b/testutil/testdata/testdata.pb.go index 400e649368..9f5b38465e 100644 --- a/testutil/testdata/testdata.pb.go +++ b/testutil/testdata/testdata.pb.go @@ -5,9 +5,9 @@ package testdata import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" io "io" math "math" math_bits "math/bits" diff --git a/testutil/testdata/testdata.proto b/testutil/testdata/testdata.proto index 585c2303c1..1bc09d4790 100644 --- a/testutil/testdata/testdata.proto +++ b/testutil/testdata/testdata.proto @@ -4,7 +4,7 @@ package testdata; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata"; +option go_package = "github.com/line/lbm-sdk/v2/testutil/testdata"; message Dog { string size = 1; diff --git a/testutil/testdata/tx.go b/testutil/testdata/tx.go index 1538460830..3118af020c 100644 --- a/testutil/testdata/tx.go +++ b/testutil/testdata/tx.go @@ -3,9 +3,9 @@ package testdata import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // KeyTestPubAddr generates a new secp256k1 keypair. diff --git a/testutil/testdata/tx.pb.go b/testutil/testdata/tx.pb.go index 694a045fff..29e4aa0c4d 100644 --- a/testutil/testdata/tx.pb.go +++ b/testutil/testdata/tx.pb.go @@ -117,7 +117,7 @@ func (m *MsgCreateDogResponse) GetName() string { } // TestMsg is msg type for testing protobuf message using any, as defined in -// https://github.com/cosmos/cosmos-sdk/issues/6213. +// https://github.com/line/lbm-sdk/v2/issues/6213. type TestMsg struct { Signers []string `protobuf:"bytes,1,rep,name=signers,proto3" json:"signers,omitempty"` } diff --git a/testutil/testdata/tx.proto b/testutil/testdata/tx.proto index eaeb9580e5..e744ba59aa 100644 --- a/testutil/testdata/tx.proto +++ b/testutil/testdata/tx.proto @@ -4,10 +4,10 @@ package testdata; import "gogoproto/gogo.proto"; import "testdata.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata"; +option go_package = "github.com/line/lbm-sdk/v2/testutil/testdata"; // Msg tests the Protobuf message service as defined in -// https://github.com/cosmos/cosmos-sdk/issues/7500. +// https://github.com/line/lbm-sdk/v2/issues/7500. service Msg { rpc CreateDog(MsgCreateDog) returns (MsgCreateDogResponse); } @@ -21,7 +21,7 @@ message MsgCreateDogResponse { } // TestMsg is msg type for testing protobuf message using any, as defined in -// https://github.com/cosmos/cosmos-sdk/issues/6213. +// https://github.com/line/lbm-sdk/v2/issues/6213. message TestMsg { option (gogoproto.goproto_getters) = false; repeated string signers = 1; diff --git a/testutil/testdata/unknonwnproto.pb.go b/testutil/testdata/unknonwnproto.pb.go index eb4abf1fff..fc9a000f22 100644 --- a/testutil/testdata/unknonwnproto.pb.go +++ b/testutil/testdata/unknonwnproto.pb.go @@ -6,10 +6,10 @@ package testdata import ( encoding_binary "encoding/binary" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - tx "github.com/cosmos/cosmos-sdk/types/tx" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + tx "github.com/line/lbm-sdk/v2/types/tx" io "io" math "math" math_bits "math/bits" diff --git a/testutil/testdata/unknonwnproto.proto b/testutil/testdata/unknonwnproto.proto index 7bf1ce6bba..cdcb58f78e 100644 --- a/testutil/testdata/unknonwnproto.proto +++ b/testutil/testdata/unknonwnproto.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; import "cosmos/tx/v1beta1/tx.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata"; +option go_package = "github.com/line/lbm-sdk/v2/testutil/testdata"; message Customer1 { int32 id = 1; diff --git a/types/abci.pb.go b/types/abci.pb.go index 44b35c3536..bab0b75599 100644 --- a/types/abci.pb.go +++ b/types/abci.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" types1 "github.com/tendermint/tendermint/abci/types" io "io" math "math" diff --git a/types/address.go b/types/address.go index ba9e5b303b..87d42d9bf6 100644 --- a/types/address.go +++ b/types/address.go @@ -10,9 +10,9 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/bech32" + "github.com/line/lbm-sdk/v2/codec/legacy" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/bech32" ) const ( diff --git a/types/address_bench_test.go b/types/address_bench_test.go index 59222dacf9..c64c06e914 100644 --- a/types/address_bench_test.go +++ b/types/address_bench_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/types" ) func BenchmarkBech32ifyPubKey(b *testing.B) { diff --git a/types/address_test.go b/types/address_test.go index 5796c891ac..ddc6980319 100644 --- a/types/address_test.go +++ b/types/address_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/suite" "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types" ) type addressTestSuite struct { diff --git a/types/bech32/bech32_test.go b/types/bech32/bech32_test.go index ba2beb7832..5c9fc2c262 100644 --- a/types/bech32/bech32_test.go +++ b/types/bech32/bech32_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/types/bech32" + "github.com/line/lbm-sdk/v2/types/bech32" ) func TestEncodeAndDecode(t *testing.T) { diff --git a/types/bench_test.go b/types/bench_test.go index 6c1cbc88cb..5e8b086327 100644 --- a/types/bench_test.go +++ b/types/bench_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/types" ) var coinStrs = []string{ diff --git a/types/codec.go b/types/codec.go index 152bb9d724..18513c0b12 100644 --- a/types/codec.go +++ b/types/codec.go @@ -1,8 +1,8 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" ) // RegisterLegacyAminoCodec registers the sdk message type. diff --git a/types/coin_test.go b/types/coin_test.go index ab69f16a17..f11bb5d7e4 100644 --- a/types/coin_test.go +++ b/types/coin_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) var ( diff --git a/types/config.go b/types/config.go index a3181703df..e0de4177bf 100644 --- a/types/config.go +++ b/types/config.go @@ -4,7 +4,7 @@ import ( "context" "sync" - "github.com/cosmos/cosmos-sdk/version" + "github.com/line/lbm-sdk/v2/version" ) // DefaultKeyringServiceName defines a default service name for the keyring. diff --git a/types/config_test.go b/types/config_test.go index e2027f3856..2c24ef16d4 100644 --- a/types/config_test.go +++ b/types/config_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type configTestSuite struct { diff --git a/types/context.go b/types/context.go index 6d326fb73f..2e6e85095b 100644 --- a/types/context.go +++ b/types/context.go @@ -9,8 +9,8 @@ import ( "github.com/tendermint/tendermint/libs/log" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/store/gaskv" - stypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/gaskv" + stypes "github.com/line/lbm-sdk/v2/store/types" ) /* diff --git a/types/context_test.go b/types/context_test.go index 018bd6a257..500c41dc4e 100644 --- a/types/context_test.go +++ b/types/context_test.go @@ -12,10 +12,10 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/store" - "github.com/cosmos/cosmos-sdk/tests/mocks" - "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/store" + "github.com/line/lbm-sdk/v2/tests/mocks" + "github.com/line/lbm-sdk/v2/types" ) type contextTestSuite struct { diff --git a/types/dec_coin_test.go b/types/dec_coin_test.go index 938f7dddff..aaade0d0dd 100644 --- a/types/dec_coin_test.go +++ b/types/dec_coin_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type decCoinTestSuite struct { diff --git a/types/decimal_test.go b/types/decimal_test.go index ffd09afc27..0c15ca3294 100644 --- a/types/decimal_test.go +++ b/types/decimal_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/suite" yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type decimalTestSuite struct { diff --git a/types/errors/abci_test.go b/types/errors/abci_test.go index 02c12e7bbd..a38a13f70f 100644 --- a/types/errors/abci_test.go +++ b/types/errors/abci_test.go @@ -143,7 +143,7 @@ func (s *abciTestSuite) TestABCIInfoStacktrace() { }, } - const thisTestSrc = "github.com/cosmos/cosmos-sdk/types/errors.(*abciTestSuite).TestABCIInfoStacktrace" + const thisTestSrc = "github.com/line/lbm-sdk/v2/types/errors.(*abciTestSuite).TestABCIInfoStacktrace" for testName, tc := range cases { _, _, log := ABCIInfo(tc.err, tc.debug) diff --git a/types/errors/stacktrace.go b/types/errors/stacktrace.go index f7079c56d8..8b4cc1faab 100644 --- a/types/errors/stacktrace.go +++ b/types/errors/stacktrace.go @@ -48,9 +48,9 @@ func trimInternal(st errors.StackTrace) errors.StackTrace { // manual error creation, or runtime for caught panics for matchesFunc(st[0], // where we create errors - "github.com/cosmos/cosmos-sdk/types/errors.Wrap", - "github.com/cosmos/cosmos-sdk/types/errors.Wrapf", - "github.com/cosmos/cosmos-sdk/types/errors.WithType", + "github.com/line/lbm-sdk/v2/types/errors.Wrap", + "github.com/line/lbm-sdk/v2/types/errors.Wrapf", + "github.com/line/lbm-sdk/v2/types/errors.WithType", // runtime are added on panics "runtime.", // _test is defined in coverage tests, causing failure diff --git a/types/errors/stacktrace_test.go b/types/errors/stacktrace_test.go index 06eb829f0f..0aac0b699d 100644 --- a/types/errors/stacktrace_test.go +++ b/types/errors/stacktrace_test.go @@ -32,8 +32,8 @@ func (s *errorsTestSuite) TestStackTrace() { // Wrapping code is unwanted in the errors stack trace. unwantedSrc := []string{ - "github.com/cosmos/cosmos-sdk/types/errors.Wrap\n", - "github.com/cosmos/cosmos-sdk/types/errors.Wrapf\n", + "github.com/line/lbm-sdk/v2/types/errors.Wrap\n", + "github.com/line/lbm-sdk/v2/types/errors.Wrapf\n", "runtime.goexit\n", } const thisTestSrc = "types/errors/stacktrace_test.go" diff --git a/types/events.go b/types/events.go index 5a2bf3af4b..92f8872d80 100644 --- a/types/events.go +++ b/types/events.go @@ -11,7 +11,7 @@ import ( proto "github.com/gogo/protobuf/proto" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/line/lbm-sdk/v2/codec" ) // ---------------------------------------------------------------------------- diff --git a/types/events_test.go b/types/events_test.go index 7363355fb1..ed66762989 100644 --- a/types/events_test.go +++ b/types/events_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/suite" abci "github.com/tendermint/tendermint/abci/types" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - testdata "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + testdata "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" ) type eventsTestSuite struct { diff --git a/types/handler_test.go b/types/handler_test.go index b71980fd06..acc68ec72b 100644 --- a/types/handler_test.go +++ b/types/handler_test.go @@ -6,8 +6,8 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/tests/mocks" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/tests/mocks" + sdk "github.com/line/lbm-sdk/v2/types" ) type handlerTestSuite struct { diff --git a/types/int_test.go b/types/int_test.go index 4b26ddb8ad..a78b4b4188 100644 --- a/types/int_test.go +++ b/types/int_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type intTestSuite struct { diff --git a/types/invariant_test.go b/types/invariant_test.go index dc6fbcf6a9..e5818e1955 100644 --- a/types/invariant_test.go +++ b/types/invariant_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type invariantTestSuite struct { diff --git a/types/module/module.go b/types/module/module.go index 2379c93d5e..59185484c5 100644 --- a/types/module/module.go +++ b/types/module/module.go @@ -36,10 +36,10 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" ) //__________________________________________________________________________________________ @@ -124,7 +124,7 @@ func (bm BasicManager) RegisterGRPCGatewayRoutes(clientCtx client.Context, rtr * // AddTxCommands adds all tx commands to the rootTxCmd. // // TODO: Remove clientCtx argument. -// REF: https://github.com/cosmos/cosmos-sdk/issues/6571 +// REF: https://github.com/line/lbm-sdk/v2/issues/6571 func (bm BasicManager) AddTxCommands(rootTxCmd *cobra.Command) { for _, b := range bm { if cmd := b.GetTxCmd(); cmd != nil { @@ -136,7 +136,7 @@ func (bm BasicManager) AddTxCommands(rootTxCmd *cobra.Command) { // AddQueryCommands adds all query commands to the rootQueryCmd. // // TODO: Remove clientCtx argument. -// REF: https://github.com/cosmos/cosmos-sdk/issues/6571 +// REF: https://github.com/line/lbm-sdk/v2/issues/6571 func (bm BasicManager) AddQueryCommands(rootQueryCmd *cobra.Command) { for _, b := range bm { if cmd := b.GetQueryCmd(); cmd != nil { diff --git a/types/module/module_test.go b/types/module/module_test.go index 630c576192..835895ddd6 100644 --- a/types/module/module_test.go +++ b/types/module/module_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec/types" "github.com/golang/mock/gomock" "github.com/gorilla/mux" @@ -13,11 +13,11 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/tests/mocks" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/tests/mocks" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" ) var errFoo = errors.New("dummy") diff --git a/types/module/simulation.go b/types/module/simulation.go index e01277f457..ece32474db 100644 --- a/types/module/simulation.go +++ b/types/module/simulation.go @@ -6,9 +6,9 @@ import ( "math/rand" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/simulation" ) // AppModuleSimulation defines the standard functions that every module should expose diff --git a/types/msgservice/msg_service.go b/types/msgservice/msg_service.go index 277ee3d157..85af5864e4 100644 --- a/types/msgservice/msg_service.go +++ b/types/msgservice/msg_service.go @@ -7,8 +7,8 @@ import ( "github.com/gogo/protobuf/proto" "google.golang.org/grpc" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // RegisterMsgServiceDesc registers all type_urls from Msg services described diff --git a/types/query/filtered_pagination.go b/types/query/filtered_pagination.go index 0ab29a4acd..7a5f1e0576 100644 --- a/types/query/filtered_pagination.go +++ b/types/query/filtered_pagination.go @@ -3,7 +3,7 @@ package query import ( "fmt" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/types" ) // FilteredPaginate does pagination of all the results in the PrefixStore based on the diff --git a/types/query/filtered_pagination_test.go b/types/query/filtered_pagination_test.go index dbd2057da4..a7d96d2f93 100644 --- a/types/query/filtered_pagination_test.go +++ b/types/query/filtered_pagination_test.go @@ -3,12 +3,12 @@ package query_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/bank/types" ) var addr1 = sdk.AccAddress([]byte("addr1")) diff --git a/types/query/pagination.go b/types/query/pagination.go index 9a0999fe61..9ee5d12d40 100644 --- a/types/query/pagination.go +++ b/types/query/pagination.go @@ -6,7 +6,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/types" ) // DefaultLimit is the default `limit` for queries diff --git a/types/query/pagination_test.go b/types/query/pagination_test.go index f0e1377a1e..1910805243 100644 --- a/types/query/pagination_test.go +++ b/types/query/pagination_test.go @@ -10,18 +10,18 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/store" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/store" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + authkeeper "github.com/line/lbm-sdk/v2/x/auth/keeper" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + bankkeeper "github.com/line/lbm-sdk/v2/x/bank/keeper" + "github.com/line/lbm-sdk/v2/x/bank/types" ) const ( diff --git a/types/rest/rest.go b/types/rest/rest.go index 80afe2fb61..ef8d3c25b1 100644 --- a/types/rest/rest.go +++ b/types/rest/rest.go @@ -15,10 +15,10 @@ import ( "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/legacy" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/types/rest/rest_test.go b/types/rest/rest_test.go index 8f873645d6..785fbb7ecb 100644 --- a/types/rest/rest_test.go +++ b/types/rest/rest_test.go @@ -13,15 +13,15 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" ) func TestBaseReq_Sanitize(t *testing.T) { diff --git a/types/result.go b/types/result.go index 6a50ecffba..6104be566f 100644 --- a/types/result.go +++ b/types/result.go @@ -14,8 +14,8 @@ import ( abci "github.com/tendermint/tendermint/abci/types" ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" ) var cdc = codec.NewLegacyAmino() diff --git a/types/result_test.go b/types/result_test.go index 6ca9731f8c..11f93347c5 100644 --- a/types/result_test.go +++ b/types/result_test.go @@ -15,9 +15,9 @@ import ( "github.com/tendermint/tendermint/libs/bytes" ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" ) type resultTestSuite struct { diff --git a/types/router_test.go b/types/router_test.go index 7387e9b945..fb888aee29 100644 --- a/types/router_test.go +++ b/types/router_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type routeTestSuite struct { diff --git a/types/simulation/account.go b/types/simulation/account.go index 5bc5bfe14d..f8f6189f7e 100644 --- a/types/simulation/account.go +++ b/types/simulation/account.go @@ -4,10 +4,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // Account contains a privkey, pubkey, address tuple diff --git a/types/simulation/account_test.go b/types/simulation/account_test.go index 85034a0d24..0060aa4fc5 100644 --- a/types/simulation/account_test.go +++ b/types/simulation/account_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/simulation" ) func TestRandomAccounts(t *testing.T) { diff --git a/types/simulation/rand_util.go b/types/simulation/rand_util.go index 84cd4492c8..f27cf3d7dd 100644 --- a/types/simulation/rand_util.go +++ b/types/simulation/rand_util.go @@ -7,7 +7,7 @@ import ( "time" "unsafe" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/types/simulation/rand_util_test.go b/types/simulation/rand_util_test.go index c487625ed0..489ba6af15 100644 --- a/types/simulation/rand_util_test.go +++ b/types/simulation/rand_util_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/simulation" ) func TestRandSubsetCoins(t *testing.T) { diff --git a/types/simulation/types.go b/types/simulation/types.go index f541b1d764..e486fb3b2e 100644 --- a/types/simulation/types.go +++ b/types/simulation/types.go @@ -5,9 +5,9 @@ import ( "math/rand" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) type WeightedProposalContent interface { diff --git a/types/staking_test.go b/types/staking_test.go index e307230cd9..0ec9e2d57d 100644 --- a/types/staking_test.go +++ b/types/staking_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type stakingTestSuite struct { diff --git a/types/store.go b/types/store.go index bd1d1ec4f8..8e3f71c94f 100644 --- a/types/store.go +++ b/types/store.go @@ -1,8 +1,8 @@ package types import ( - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/line/lbm-sdk/v2/store/types" + "github.com/line/lbm-sdk/v2/types/kv" ) type ( diff --git a/types/store_test.go b/types/store_test.go index 02f71bbf41..91374d48d7 100644 --- a/types/store_test.go +++ b/types/store_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/suite" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/store/rootmulti" + "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type storeTestSuite struct { diff --git a/types/tx/service.pb.go b/types/tx/service.pb.go index f01a60fe52..e790f44067 100644 --- a/types/tx/service.pb.go +++ b/types/tx/service.pb.go @@ -6,11 +6,11 @@ package tx import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/types" + query "github.com/line/lbm-sdk/v2/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/types/tx/signing/signature.go b/types/tx/signing/signature.go index 1323543f02..f0fb56a1f3 100644 --- a/types/tx/signing/signature.go +++ b/types/tx/signing/signature.go @@ -3,8 +3,8 @@ package signing import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) // SignatureV2 is a convenience type that is easier to use in application logic diff --git a/types/tx/signing/signature_data.go b/types/tx/signing/signature_data.go index 0dd61fe634..0d9a1fc37c 100644 --- a/types/tx/signing/signature_data.go +++ b/types/tx/signing/signature_data.go @@ -1,7 +1,7 @@ package signing import ( - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types" ) // SignatureData represents either a *SingleSignatureData or *MultiSignatureData. diff --git a/types/tx/signing/signing.pb.go b/types/tx/signing/signing.pb.go index f06a270c7c..73d9ccbac3 100644 --- a/types/tx/signing/signing.pb.go +++ b/types/tx/signing/signing.pb.go @@ -5,9 +5,9 @@ package signing import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - types1 "github.com/cosmos/cosmos-sdk/crypto/types" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + types1 "github.com/line/lbm-sdk/v2/crypto/types" io "io" math "math" math_bits "math/bits" diff --git a/types/tx/tx.pb.go b/types/tx/tx.pb.go index a552c7a083..723fc560cb 100644 --- a/types/tx/tx.pb.go +++ b/types/tx/tx.pb.go @@ -5,13 +5,13 @@ package tx import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - types1 "github.com/cosmos/cosmos-sdk/crypto/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types2 "github.com/cosmos/cosmos-sdk/types" - signing "github.com/cosmos/cosmos-sdk/types/tx/signing" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + types1 "github.com/line/lbm-sdk/v2/crypto/types" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types2 "github.com/line/lbm-sdk/v2/types" + signing "github.com/line/lbm-sdk/v2/types/tx/signing" io "io" math "math" math_bits "math/bits" @@ -667,7 +667,7 @@ func (m *ModeInfo_Multi) GetModeInfos() []*ModeInfo { // which must be above some miminum to be accepted into the mempool. type Fee struct { // amount is the amount of coins to be paid as a fee - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"amount"` // gas_limit is the maximum gas that can be used in transaction processing // before an out of gas error occurs GasLimit uint64 `protobuf:"varint,2,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` diff --git a/types/tx/types.go b/types/tx/types.go index 0392b2fcfd..c269e08662 100644 --- a/types/tx/types.go +++ b/types/tx/types.go @@ -4,10 +4,10 @@ import ( "fmt" "strings" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // MaxGasWanted defines the max gas allowed. diff --git a/types/tx_msg.go b/types/tx_msg.go index b8a602d88c..50703a9d10 100644 --- a/types/tx_msg.go +++ b/types/tx_msg.go @@ -3,7 +3,7 @@ package types import ( "github.com/gogo/protobuf/proto" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) type ( diff --git a/types/tx_msg_test.go b/types/tx_msg_test.go index 7a55c7d63e..1d9fd44cc3 100644 --- a/types/tx_msg_test.go +++ b/types/tx_msg_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" ) type testMsgSuite struct { diff --git a/types/uint_test.go b/types/uint_test.go index 36705c890a..2fba5603c5 100644 --- a/types/uint_test.go +++ b/types/uint_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type uintTestSuite struct { diff --git a/types/utils_test.go b/types/utils_test.go index c04c9c81f3..bb3cac5e34 100644 --- a/types/utils_test.go +++ b/types/utils_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type utilsTestSuite struct { diff --git a/version/version.go b/version/version.go index a179b37fe3..66b14dd51e 100644 --- a/version/version.go +++ b/version/version.go @@ -9,11 +9,11 @@ // At build time, the variables Name, Version, Commit, and BuildTags // can be passed as build flags as shown in the following example: // -// go build -X github.com/cosmos/cosmos-sdk/version.Name=gaia \ -// -X github.com/cosmos/cosmos-sdk/version.AppName=gaiad \ -// -X github.com/cosmos/cosmos-sdk/version.Version=1.0 \ -// -X github.com/cosmos/cosmos-sdk/version.Commit=f0f7b7dab7e36c20b757cebce0e8f4fc5b95de60 \ -// -X "github.com/cosmos/cosmos-sdk/version.BuildTags=linux darwin amd64" +// go build -X github.com/line/lbm-sdk/v2/version.Name=gaia \ +// -X github.com/line/lbm-sdk/v2/version.AppName=gaiad \ +// -X github.com/line/lbm-sdk/v2/version.Version=1.0 \ +// -X github.com/line/lbm-sdk/v2/version.Commit=f0f7b7dab7e36c20b757cebce0e8f4fc5b95de60 \ +// -X "github.com/line/lbm-sdk/v2/version.BuildTags=linux darwin amd64" package version import ( diff --git a/version/version_test.go b/version/version_test.go index 87608cfdbb..1e6baa78f8 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/version" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/version" ) func TestNewInfo(t *testing.T) { diff --git a/x/auth/ante/ante.go b/x/auth/ante/ante.go index 8cc025bad2..f181304557 100644 --- a/x/auth/ante/ante.go +++ b/x/auth/ante/ante.go @@ -1,9 +1,9 @@ package ante import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/signing" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // NewAnteHandler returns an AnteHandler that checks and increments sequence diff --git a/x/auth/ante/ante_test.go b/x/auth/ante/ante_test.go index 7659f3e104..6dd9935d56 100644 --- a/x/auth/ante/ante_test.go +++ b/x/auth/ante/ante_test.go @@ -9,16 +9,16 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/ante" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // Test that simulate transaction accurately estimates gas cost diff --git a/x/auth/ante/basic.go b/x/auth/ante/basic.go index 7ed834ebaa..3a5d7af2d6 100644 --- a/x/auth/ante/basic.go +++ b/x/auth/ante/basic.go @@ -1,14 +1,14 @@ package ante import ( - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/codec/legacy" + "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + authsigning "github.com/line/lbm-sdk/v2/x/auth/signing" ) // ValidateBasicDecorator will call tx.ValidateBasic and return any non-nil error. diff --git a/x/auth/ante/basic_test.go b/x/auth/ante/basic_test.go index 0856734885..34d1d297f1 100644 --- a/x/auth/ante/basic_test.go +++ b/x/auth/ante/basic_test.go @@ -3,12 +3,12 @@ package ante_test import ( "strings" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/ante" ) func (suite *AnteTestSuite) TestValidateBasic() { diff --git a/x/auth/ante/expected_keepers.go b/x/auth/ante/expected_keepers.go index d8be4312e5..458e94dd33 100644 --- a/x/auth/ante/expected_keepers.go +++ b/x/auth/ante/expected_keepers.go @@ -1,8 +1,8 @@ package ante import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // AccountKeeper defines the contract needed for AccountKeeper related APIs. diff --git a/x/auth/ante/ext.go b/x/auth/ante/ext.go index 362b8d32a9..ae7a87d6df 100644 --- a/x/auth/ante/ext.go +++ b/x/auth/ante/ext.go @@ -1,9 +1,9 @@ package ante import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) type HasExtensionOptionsTx interface { diff --git a/x/auth/ante/ext_test.go b/x/auth/ante/ext_test.go index 89ce6a7d64..2addf62d27 100644 --- a/x/auth/ante/ext_test.go +++ b/x/auth/ante/ext_test.go @@ -1,11 +1,11 @@ package ante_test import ( - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/ante" + "github.com/line/lbm-sdk/v2/x/auth/tx" ) func (suite *AnteTestSuite) TestRejectExtensionOptionsDecorator() { diff --git a/x/auth/ante/fee.go b/x/auth/ante/fee.go index 5da4dbbaf5..17a26c80ca 100644 --- a/x/auth/ante/fee.go +++ b/x/auth/ante/fee.go @@ -3,9 +3,9 @@ package ante import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // MempoolFeeDecorator will check if the transaction's fee is at least as large diff --git a/x/auth/ante/fee_grant.go b/x/auth/ante/fee_grant.go index 2c37fffa09..f03b46806a 100644 --- a/x/auth/ante/fee_grant.go +++ b/x/auth/ante/fee_grant.go @@ -1,8 +1,8 @@ package ante import ( - "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // RejectFeeGranterDecorator is an AnteDecorator which rejects transactions which diff --git a/x/auth/ante/fee_grant_test.go b/x/auth/ante/fee_grant_test.go index 2f07300c7f..456e46992f 100644 --- a/x/auth/ante/fee_grant_test.go +++ b/x/auth/ante/fee_grant_test.go @@ -1,12 +1,12 @@ package ante_test import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/ante" + "github.com/line/lbm-sdk/v2/x/auth/tx" ) type setFeeGranter interface { diff --git a/x/auth/ante/fee_test.go b/x/auth/ante/fee_test.go index 84e5adb60d..93402fd193 100644 --- a/x/auth/ante/fee_test.go +++ b/x/auth/ante/fee_test.go @@ -1,11 +1,11 @@ package ante_test import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/ante" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/ante" ) func (suite *AnteTestSuite) TestEnsureMempoolFees() { diff --git a/x/auth/ante/setup.go b/x/auth/ante/setup.go index 5f21aba8bd..21617cae5d 100644 --- a/x/auth/ante/setup.go +++ b/x/auth/ante/setup.go @@ -3,9 +3,9 @@ package ante import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) var ( diff --git a/x/auth/ante/setup_test.go b/x/auth/ante/setup_test.go index 4942665cac..29cd034030 100644 --- a/x/auth/ante/setup_test.go +++ b/x/auth/ante/setup_test.go @@ -1,11 +1,11 @@ package ante_test import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/ante" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/ante" ) func (suite *AnteTestSuite) TestSetup() { diff --git a/x/auth/ante/sigverify.go b/x/auth/ante/sigverify.go index 79fbbcdc67..620e95fc2e 100644 --- a/x/auth/ante/sigverify.go +++ b/x/auth/ante/sigverify.go @@ -5,17 +5,17 @@ import ( "encoding/hex" "fmt" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + authsigning "github.com/line/lbm-sdk/v2/x/auth/signing" + "github.com/line/lbm-sdk/v2/x/auth/types" ) var ( diff --git a/x/auth/ante/sigverify_test.go b/x/auth/ante/sigverify_test.go index 337618fab5..3b79ab6a36 100644 --- a/x/auth/ante/sigverify_test.go +++ b/x/auth/ante/sigverify_test.go @@ -3,20 +3,20 @@ package ante_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/ante" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func (suite *AnteTestSuite) TestSetPubKey() { @@ -184,10 +184,10 @@ func (suite *AnteTestSuite) TestSigVerification() { // This test is exactly like the one above, but we set the codec explicitly to // Amino. -// Once https://github.com/cosmos/cosmos-sdk/issues/6190 is in, we can remove +// Once https://github.com/line/lbm-sdk/v2/issues/6190 is in, we can remove // this, since it'll be handled by the test matrix. // In the meantime, we want to make double-sure amino compatibility works. -// ref: https://github.com/cosmos/cosmos-sdk/issues/7229 +// ref: https://github.com/line/lbm-sdk/v2/issues/7229 func (suite *AnteTestSuite) TestSigVerification_ExplicitAmino() { suite.app, suite.ctx = createTestApp(true) suite.ctx = suite.ctx.WithBlockHeight(1) diff --git a/x/auth/ante/testutil_test.go b/x/auth/ante/testutil_test.go index 5a1cfc4ec4..e1b96ffdb5 100644 --- a/x/auth/ante/testutil_test.go +++ b/x/auth/ante/testutil_test.go @@ -8,17 +8,17 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/ante" + xauthsigning "github.com/line/lbm-sdk/v2/x/auth/signing" + "github.com/line/lbm-sdk/v2/x/auth/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" ) // TestAccount represents an account used in the tests in x/auth/ante. diff --git a/x/auth/atlas/atlas-v0.39.1.md b/x/auth/atlas/atlas-v0.39.1.md index 486e814d31..70d5830d14 100644 --- a/x/auth/atlas/atlas-v0.39.1.md +++ b/x/auth/atlas/atlas-v0.39.1.md @@ -9,7 +9,7 @@ account types for an application, as well as AnteHandler and authentication logi ```go import ( - "github.com/cosmos/cosmos-sdk/x/auth" + "github.com/line/lbm-sdk/v2/x/auth" ) ``` @@ -103,7 +103,7 @@ Where ever you define the application `Codec`, be sure to register types via: ```go import ( - "github.com/cosmos/cosmos-sdk/x/auth/vesting" + "github.com/line/lbm-sdk/v2/x/auth/vesting" ) func MakeCodec() *codec.Codec { diff --git a/x/auth/client/cli/broadcast.go b/x/auth/client/cli/broadcast.go index ef5eefc410..5884dfad31 100644 --- a/x/auth/client/cli/broadcast.go +++ b/x/auth/client/cli/broadcast.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" ) // GetBroadcastCommand returns the tx broadcast command. diff --git a/x/auth/client/cli/cli_test.go b/x/auth/client/cli/cli_test.go index 21f8ef021e..95e8307215 100644 --- a/x/auth/client/cli/cli_test.go +++ b/x/auth/client/cli/cli_test.go @@ -13,26 +13,26 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authcli "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - authtest "github.com/cosmos/cosmos-sdk/x/auth/client/testutil" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - bankcli "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authcli "github.com/line/lbm-sdk/v2/x/auth/client/cli" + authrest "github.com/line/lbm-sdk/v2/x/auth/client/rest" + authtest "github.com/line/lbm-sdk/v2/x/auth/client/testutil" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + bankcli "github.com/line/lbm-sdk/v2/x/bank/client/testutil" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) type IntegrationTestSuite struct { diff --git a/x/auth/client/cli/decode.go b/x/auth/client/cli/decode.go index e1807efb09..58821c3952 100644 --- a/x/auth/client/cli/decode.go +++ b/x/auth/client/cli/decode.go @@ -6,8 +6,8 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" ) const flagHex = "hex" diff --git a/x/auth/client/cli/encode.go b/x/auth/client/cli/encode.go index c883980de9..84497ce63a 100644 --- a/x/auth/client/cli/encode.go +++ b/x/auth/client/cli/encode.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" ) // GetEncodeCommand returns the encode command to take a JSONified transaction and turn it into diff --git a/x/auth/client/cli/encode_test.go b/x/auth/client/cli/encode_test.go index 44648758ab..5fa7fc203b 100644 --- a/x/auth/client/cli/encode_test.go +++ b/x/auth/client/cli/encode_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/client" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" ) func TestGetCommandEncode(t *testing.T) { diff --git a/x/auth/client/cli/query.go b/x/auth/client/cli/query.go index 2590858b4c..3c694c37c5 100644 --- a/x/auth/client/cli/query.go +++ b/x/auth/client/cli/query.go @@ -8,13 +8,13 @@ import ( "github.com/spf13/cobra" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/version" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/version" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/auth/types" ) const ( diff --git a/x/auth/client/cli/tx_multisign.go b/x/auth/client/cli/tx_multisign.go index b69af2d151..a379699848 100644 --- a/x/auth/client/cli/tx_multisign.go +++ b/x/auth/client/cli/tx_multisign.go @@ -9,18 +9,18 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/types/errors" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/version" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/crypto/keyring" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + "github.com/line/lbm-sdk/v2/types/errors" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/version" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/auth/client/rest" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) // GetSignCommand returns the sign command diff --git a/x/auth/client/cli/tx_sign.go b/x/auth/client/cli/tx_sign.go index 9555545121..f5445d8945 100644 --- a/x/auth/client/cli/tx_sign.go +++ b/x/auth/client/cli/tx_sign.go @@ -6,13 +6,13 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/auth/client/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/auth/client/rest" ) const ( diff --git a/x/auth/client/cli/validate_sigs.go b/x/auth/client/cli/validate_sigs.go index 52290ed8e9..8f95ea8fbc 100644 --- a/x/auth/client/cli/validate_sigs.go +++ b/x/auth/client/cli/validate_sigs.go @@ -5,12 +5,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + authsigning "github.com/line/lbm-sdk/v2/x/auth/signing" ) func GetValidateSignaturesCommand() *cobra.Command { diff --git a/x/auth/client/query.go b/x/auth/client/query.go index bc1b7f6f45..34e984057a 100644 --- a/x/auth/client/query.go +++ b/x/auth/client/query.go @@ -10,9 +10,9 @@ import ( ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // QueryTxsByEvents performs a search for transactions for a given set of events diff --git a/x/auth/client/rest/broadcast.go b/x/auth/client/rest/broadcast.go index 9f7d6fc559..7369014966 100644 --- a/x/auth/client/rest/broadcast.go +++ b/x/auth/client/rest/broadcast.go @@ -5,12 +5,12 @@ import ( "io/ioutil" "net/http" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - "github.com/cosmos/cosmos-sdk/client/tx" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/client" + clientrest "github.com/line/lbm-sdk/v2/client/rest" + "github.com/line/lbm-sdk/v2/client/tx" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) // BroadcastReq defines a tx broadcasting request. diff --git a/x/auth/client/rest/decode.go b/x/auth/client/rest/decode.go index 5b732fa0a1..3515e622ab 100644 --- a/x/auth/client/rest/decode.go +++ b/x/auth/client/rest/decode.go @@ -6,12 +6,12 @@ import ( "io/ioutil" "net/http" - "github.com/cosmos/cosmos-sdk/client" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + clienttx "github.com/line/lbm-sdk/v2/client/tx" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) type ( diff --git a/x/auth/client/rest/encode.go b/x/auth/client/rest/encode.go index 6388178015..d6ef32cae0 100644 --- a/x/auth/client/rest/encode.go +++ b/x/auth/client/rest/encode.go @@ -6,11 +6,11 @@ import ( "io/ioutil" "net/http" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/client" + clientrest "github.com/line/lbm-sdk/v2/client/rest" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) // EncodeResp defines a tx encoding response. diff --git a/x/auth/client/rest/query.go b/x/auth/client/rest/query.go index d11d4b3416..b5a74b93dc 100644 --- a/x/auth/client/rest/query.go +++ b/x/auth/client/rest/query.go @@ -8,14 +8,14 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/auth/types" - genutilrest "github.com/cosmos/cosmos-sdk/x/genutil/client/rest" + "github.com/line/lbm-sdk/v2/client" + clientrest "github.com/line/lbm-sdk/v2/client/rest" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/auth/types" + genutilrest "github.com/line/lbm-sdk/v2/x/genutil/client/rest" ) // QueryAccountRequestHandlerFn is the query accountREST Handler. diff --git a/x/auth/client/rest/rest.go b/x/auth/client/rest/rest.go index 77f8f48964..403f8a0c3b 100644 --- a/x/auth/client/rest/rest.go +++ b/x/auth/client/rest/rest.go @@ -3,8 +3,8 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/rest" ) // REST query and parameter values diff --git a/x/auth/client/rest/rest_test.go b/x/auth/client/rest/rest_test.go index 2853f402b6..7da65f0b56 100644 --- a/x/auth/client/rest/rest_test.go +++ b/x/auth/client/rest/rest_test.go @@ -8,29 +8,29 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - authcli "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - authtest "github.com/cosmos/cosmos-sdk/x/auth/client/testutil" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - bankcli "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - "github.com/cosmos/cosmos-sdk/x/bank/types" - ibccli "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/client/cli" - ibcsolomachinecli "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/client/cli" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + txtypes "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + authcli "github.com/line/lbm-sdk/v2/x/auth/client/cli" + authrest "github.com/line/lbm-sdk/v2/x/auth/client/rest" + authtest "github.com/line/lbm-sdk/v2/x/auth/client/testutil" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + bankcli "github.com/line/lbm-sdk/v2/x/bank/client/testutil" + "github.com/line/lbm-sdk/v2/x/bank/types" + ibccli "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/client/cli" + ibcsolomachinecli "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/client/cli" ) type IntegrationTestSuite struct { @@ -100,7 +100,7 @@ func mkStdTx() legacytx.StdTx { // Create an IBC tx that's encoded as amino-JSON. Since we can't amino-marshal // a tx with "cosmos-sdk/MsgTransfer" using the SDK, we just hardcode the tx -// here. But external clients might, see https://github.com/cosmos/cosmos-sdk/issues/8022. +// here. But external clients might, see https://github.com/line/lbm-sdk/v2/issues/8022. func mkIBCStdTx() []byte { ibcTx := `{ "account_number": "68", @@ -554,7 +554,7 @@ func (s *IntegrationTestSuite) TestLegacyRestErrMessages() { // TestLegacyMultiSig creates a legacy multisig transaction, and makes sure // we can query it via the legacy REST endpoint. -// ref: https://github.com/cosmos/cosmos-sdk/issues/8679 +// ref: https://github.com/line/lbm-sdk/v2/issues/8679 func (s *IntegrationTestSuite) TestLegacyMultisig() { val1 := *s.network.Validators[0] diff --git a/x/auth/client/testutil/helpers.go b/x/auth/client/testutil/helpers.go index 6d68ef9236..3b4bb7df92 100644 --- a/x/auth/client/testutil/helpers.go +++ b/x/auth/client/testutil/helpers.go @@ -6,12 +6,12 @@ import ( tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/x/auth/client/cli" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/x/auth/client/cli" ) func TxSignExec(clientCtx client.Context, from fmt.Stringer, filename string, extraArgs ...string) (testutil.BufferWriter, error) { diff --git a/x/auth/client/tx.go b/x/auth/client/tx.go index 70229c39e5..98dfc4be25 100644 --- a/x/auth/client/tx.go +++ b/x/auth/client/tx.go @@ -11,12 +11,12 @@ import ( "github.com/gogo/protobuf/jsonpb" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) // Codec defines the x/auth account codec to be used for use with the diff --git a/x/auth/client/tx_test.go b/x/auth/client/tx_test.go index 3e1d31383d..f4386aff08 100644 --- a/x/auth/client/tx_test.go +++ b/x/auth/client/tx_test.go @@ -7,17 +7,17 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" ) var ( diff --git a/x/auth/genesis.go b/x/auth/genesis.go index 851b588083..3bfd863d7a 100644 --- a/x/auth/genesis.go +++ b/x/auth/genesis.go @@ -1,9 +1,9 @@ package auth import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/keeper" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // InitGenesis - Init store state from genesis data diff --git a/x/auth/keeper/account.go b/x/auth/keeper/account.go index 9921bb96f9..829a2c345b 100644 --- a/x/auth/keeper/account.go +++ b/x/auth/keeper/account.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // NewAccountWithAddress implements AccountKeeperI. diff --git a/x/auth/keeper/grpc_query.go b/x/auth/keeper/grpc_query.go index cf3c7b8443..cc35aa204e 100644 --- a/x/auth/keeper/grpc_query.go +++ b/x/auth/keeper/grpc_query.go @@ -6,9 +6,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) var _ types.QueryServer = AccountKeeper{} diff --git a/x/auth/keeper/grpc_query_test.go b/x/auth/keeper/grpc_query_test.go index 47c48f0276..d731c6606f 100644 --- a/x/auth/keeper/grpc_query_test.go +++ b/x/auth/keeper/grpc_query_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func (suite *KeeperTestSuite) TestGRPCQueryAccount() { diff --git a/x/auth/keeper/integration_test.go b/x/auth/keeper/integration_test.go index d2069d6d35..266a4b3da0 100644 --- a/x/auth/keeper/integration_test.go +++ b/x/auth/keeper/integration_test.go @@ -3,9 +3,9 @@ package keeper_test import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" ) // returns context and app with params set on account keeper diff --git a/x/auth/keeper/keeper.go b/x/auth/keeper/keeper.go index 92d9f9b76e..83593be820 100644 --- a/x/auth/keeper/keeper.go +++ b/x/auth/keeper/keeper.go @@ -6,12 +6,12 @@ import ( gogotypes "github.com/gogo/protobuf/types" "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // AccountKeeperI is the interface contract that x/auth's keeper implements. diff --git a/x/auth/keeper/keeper_bench_test.go b/x/auth/keeper/keeper_bench_test.go index a217eddaca..d9ef480067 100644 --- a/x/auth/keeper/keeper_bench_test.go +++ b/x/auth/keeper/keeper_bench_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func BenchmarkAccountMapperGetAccountFound(b *testing.B) { diff --git a/x/auth/keeper/keeper_test.go b/x/auth/keeper/keeper_test.go index 87744d58c5..d2f67f53e7 100644 --- a/x/auth/keeper/keeper_test.go +++ b/x/auth/keeper/keeper_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/keeper" + "github.com/line/lbm-sdk/v2/x/auth/types" ) const ( diff --git a/x/auth/keeper/params.go b/x/auth/keeper/params.go index 0236c7ae16..59f478bd76 100644 --- a/x/auth/keeper/params.go +++ b/x/auth/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // SetParams sets the auth module's parameters. diff --git a/x/auth/keeper/querier.go b/x/auth/keeper/querier.go index 130aaacda9..282395862b 100644 --- a/x/auth/keeper/querier.go +++ b/x/auth/keeper/querier.go @@ -3,10 +3,10 @@ package keeper import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // NewQuerier creates a querier for auth REST endpoints diff --git a/x/auth/keeper/querier_test.go b/x/auth/keeper/querier_test.go index b64f971b3c..e5ed184bca 100644 --- a/x/auth/keeper/querier_test.go +++ b/x/auth/keeper/querier_test.go @@ -4,15 +4,15 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/line/lbm-sdk/v2/codec" "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - keep "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + keep "github.com/line/lbm-sdk/v2/x/auth/keeper" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func TestQueryAccount(t *testing.T) { diff --git a/x/auth/legacy/legacytx/amino_signing.go b/x/auth/legacy/legacytx/amino_signing.go index d09b1b30ac..79ef5b695e 100644 --- a/x/auth/legacy/legacytx/amino_signing.go +++ b/x/auth/legacy/legacytx/amino_signing.go @@ -3,12 +3,12 @@ package legacytx import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) // stdTxSignModeHandler is a SignModeHandler that handles SIGN_MODE_LEGACY_AMINO_JSON diff --git a/x/auth/legacy/legacytx/amino_signing_test.go b/x/auth/legacy/legacytx/amino_signing_test.go index 7abccbfd82..8fbc039d13 100644 --- a/x/auth/legacy/legacytx/amino_signing_test.go +++ b/x/auth/legacy/legacytx/amino_signing_test.go @@ -5,11 +5,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) func TestLegacyAminoJSONHandler_GetSignBytes(t *testing.T) { diff --git a/x/auth/legacy/legacytx/codec.go b/x/auth/legacy/legacytx/codec.go index 2bad4718e1..5fc7e3dd2d 100644 --- a/x/auth/legacy/legacytx/codec.go +++ b/x/auth/legacy/legacytx/codec.go @@ -1,7 +1,7 @@ package legacytx import ( - "github.com/cosmos/cosmos-sdk/codec" + "github.com/line/lbm-sdk/v2/codec" ) func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { diff --git a/x/auth/legacy/legacytx/config_test.go b/x/auth/legacy/legacytx/config_test.go index 95a37b1e4d..bfcde94429 100644 --- a/x/auth/legacy/legacytx/config_test.go +++ b/x/auth/legacy/legacytx/config_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - cryptoAmino "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/testutil" + "github.com/line/lbm-sdk/v2/codec" + cryptoAmino "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/testutil" ) func testCodec() *codec.LegacyAmino { diff --git a/x/auth/legacy/legacytx/stdsign.go b/x/auth/legacy/legacytx/stdsign.go index 5803190523..96532379d7 100644 --- a/x/auth/legacy/legacytx/stdsign.go +++ b/x/auth/legacy/legacytx/stdsign.go @@ -3,13 +3,13 @@ package legacytx import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/legacy" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // StdSignDoc is replay-prevention structure. diff --git a/x/auth/legacy/legacytx/stdsignmsg.go b/x/auth/legacy/legacytx/stdsignmsg.go index 07ee29a063..0f78415f4c 100644 --- a/x/auth/legacy/legacytx/stdsignmsg.go +++ b/x/auth/legacy/legacytx/stdsignmsg.go @@ -1,8 +1,8 @@ package legacytx import ( - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var _ types.UnpackInterfacesMessage = StdSignMsg{} diff --git a/x/auth/legacy/legacytx/stdtx.go b/x/auth/legacy/legacytx/stdtx.go index 2b8a6c0e05..7f6af8915b 100644 --- a/x/auth/legacy/legacytx/stdtx.go +++ b/x/auth/legacy/legacytx/stdtx.go @@ -5,13 +5,13 @@ import ( "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec/legacy" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/codec/legacy" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + txtypes "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // Interface implementation checks diff --git a/x/auth/legacy/legacytx/stdtx_builder.go b/x/auth/legacy/legacytx/stdtx_builder.go index 153c4b2bbb..969aeecdfa 100644 --- a/x/auth/legacy/legacytx/stdtx_builder.go +++ b/x/auth/legacy/legacytx/stdtx_builder.go @@ -3,12 +3,12 @@ package legacytx import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authsigning "github.com/line/lbm-sdk/v2/x/auth/signing" ) // StdTxBuilder wraps StdTx to implement to the context.TxBuilder interface. diff --git a/x/auth/legacy/legacytx/stdtx_test.go b/x/auth/legacy/legacytx/stdtx_test.go index a702a82841..810466e07f 100644 --- a/x/auth/legacy/legacytx/stdtx_test.go +++ b/x/auth/legacy/legacytx/stdtx_test.go @@ -9,16 +9,16 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) var ( diff --git a/x/auth/legacy/v034/types.go b/x/auth/legacy/v034/types.go index c5df671017..8f5f4bc403 100644 --- a/x/auth/legacy/v034/types.go +++ b/x/auth/legacy/v034/types.go @@ -3,7 +3,7 @@ package v034 import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/auth/legacy/v036/migrate.go b/x/auth/legacy/v036/migrate.go index c651df6994..b1f97c8442 100644 --- a/x/auth/legacy/v036/migrate.go +++ b/x/auth/legacy/v036/migrate.go @@ -3,7 +3,7 @@ package v036 import ( - v034auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v034" + v034auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v034" ) // Migrate accepts exported genesis state from v0.34 and migrates it to v0.36 diff --git a/x/auth/legacy/v036/migrate_test.go b/x/auth/legacy/v036/migrate_test.go index 739c43223f..62a95f2a6f 100644 --- a/x/auth/legacy/v036/migrate_test.go +++ b/x/auth/legacy/v036/migrate_test.go @@ -3,8 +3,8 @@ package v036 import ( "testing" - "github.com/cosmos/cosmos-sdk/types" - v034auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v034" + "github.com/line/lbm-sdk/v2/types" + v034auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v034" "github.com/stretchr/testify/require" ) diff --git a/x/auth/legacy/v036/types.go b/x/auth/legacy/v036/types.go index 2490f4baa2..f73232f035 100644 --- a/x/auth/legacy/v036/types.go +++ b/x/auth/legacy/v036/types.go @@ -2,7 +2,7 @@ // nolint package v036 -import v034auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v034" +import v034auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v034" const ( ModuleName = "auth" diff --git a/x/auth/legacy/v038/migrate.go b/x/auth/legacy/v038/migrate.go index 46947075c8..1c124b5605 100644 --- a/x/auth/legacy/v038/migrate.go +++ b/x/auth/legacy/v038/migrate.go @@ -1,8 +1,8 @@ package v038 import ( - v036auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v036" - v036genaccounts "github.com/cosmos/cosmos-sdk/x/genaccounts/legacy/v036" + v036auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v036" + v036genaccounts "github.com/line/lbm-sdk/v2/x/genaccounts/legacy/v036" ) // Migrate accepts exported genesis state from v0.34 and migrates it to v0.38 diff --git a/x/auth/legacy/v038/migrate_test.go b/x/auth/legacy/v038/migrate_test.go index e83ccfe8e2..35dfe6fe8b 100644 --- a/x/auth/legacy/v038/migrate_test.go +++ b/x/auth/legacy/v038/migrate_test.go @@ -4,10 +4,10 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - v034auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v034" - v036auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v036" - v036genaccounts "github.com/cosmos/cosmos-sdk/x/genaccounts/legacy/v036" + sdk "github.com/line/lbm-sdk/v2/types" + v034auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v034" + v036auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v036" + v036genaccounts "github.com/line/lbm-sdk/v2/x/genaccounts/legacy/v036" "github.com/stretchr/testify/require" ) diff --git a/x/auth/legacy/v038/types.go b/x/auth/legacy/v038/types.go index e9977c1d29..d4092af6b8 100644 --- a/x/auth/legacy/v038/types.go +++ b/x/auth/legacy/v038/types.go @@ -13,11 +13,11 @@ import ( tmcrypto "github.com/tendermint/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - v034auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v034" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + v034auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v034" ) const ( diff --git a/x/auth/legacy/v039/migrate.go b/x/auth/legacy/v039/migrate.go index c29048fca5..f133bca6f3 100644 --- a/x/auth/legacy/v039/migrate.go +++ b/x/auth/legacy/v039/migrate.go @@ -3,7 +3,7 @@ package v039 import ( "fmt" - v038auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v038" + v038auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v038" ) // Migrate accepts exported genesis state from v0.38 and migrates it to v0.39 diff --git a/x/auth/legacy/v039/migrate_test.go b/x/auth/legacy/v039/migrate_test.go index 6972789c00..d31abcf1fd 100644 --- a/x/auth/legacy/v039/migrate_test.go +++ b/x/auth/legacy/v039/migrate_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - v038auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v038" - v039auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v039" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + sdk "github.com/line/lbm-sdk/v2/types" + v038auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v038" + v039auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v039" ) func TestMigrate(t *testing.T) { diff --git a/x/auth/legacy/v039/types.go b/x/auth/legacy/v039/types.go index 55c3014eb7..68d5d59ddd 100644 --- a/x/auth/legacy/v039/types.go +++ b/x/auth/legacy/v039/types.go @@ -11,13 +11,13 @@ import ( tmcrypto "github.com/tendermint/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - v034auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v034" - v038auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v038" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/legacy" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + v034auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v034" + v038auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v038" ) const ( diff --git a/x/auth/legacy/v040/migrate.go b/x/auth/legacy/v040/migrate.go index 363ec7ba82..7277aa9835 100644 --- a/x/auth/legacy/v040/migrate.go +++ b/x/auth/legacy/v040/migrate.go @@ -1,11 +1,11 @@ package v040 import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - v039auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v039" - v040auth "github.com/cosmos/cosmos-sdk/x/auth/types" - v040vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + v039auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v039" + v040auth "github.com/line/lbm-sdk/v2/x/auth/types" + v040vesting "github.com/line/lbm-sdk/v2/x/auth/vesting/types" ) // convertBaseAccount converts a 0.39 BaseAccount to a 0.40 BaseAccount. diff --git a/x/auth/legacy/v040/migrate_test.go b/x/auth/legacy/v040/migrate_test.go index e241046095..543945b564 100644 --- a/x/auth/legacy/v040/migrate_test.go +++ b/x/auth/legacy/v040/migrate_test.go @@ -6,14 +6,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - v034 "github.com/cosmos/cosmos-sdk/x/auth/legacy/v034" - v038auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v038" - v039auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v039" - v040auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v040" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + v034 "github.com/line/lbm-sdk/v2/x/auth/legacy/v034" + v038auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v038" + v039auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v039" + v040auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v040" ) func TestMigrate(t *testing.T) { diff --git a/x/auth/module.go b/x/auth/module.go index 73aa9a1066..9703a5ba02 100644 --- a/x/auth/module.go +++ b/x/auth/module.go @@ -12,17 +12,17 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/auth/client/cli" + "github.com/line/lbm-sdk/v2/x/auth/client/rest" + "github.com/line/lbm-sdk/v2/x/auth/keeper" + "github.com/line/lbm-sdk/v2/x/auth/simulation" + "github.com/line/lbm-sdk/v2/x/auth/types" ) var ( diff --git a/x/auth/module_test.go b/x/auth/module_test.go index 0bf268ddba..14168e07f1 100644 --- a/x/auth/module_test.go +++ b/x/auth/module_test.go @@ -7,8 +7,8 @@ import ( abcitypes "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/x/auth/signing/handler_map.go b/x/auth/signing/handler_map.go index 936de47da5..44f5f1d507 100644 --- a/x/auth/signing/handler_map.go +++ b/x/auth/signing/handler_map.go @@ -3,9 +3,9 @@ package signing import ( "fmt" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/types/tx/signing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // SignModeHandlerMap is SignModeHandler that aggregates multiple SignModeHandler's into diff --git a/x/auth/signing/handler_map_test.go b/x/auth/signing/handler_map_test.go index 041b8182e9..4488826ed3 100644 --- a/x/auth/signing/handler_map_test.go +++ b/x/auth/signing/handler_map_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + sdk "github.com/line/lbm-sdk/v2/types" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/signing" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) func MakeTestHandlerMap() signing.SignModeHandler { diff --git a/x/auth/signing/sig_verifiable_tx.go b/x/auth/signing/sig_verifiable_tx.go index 8381ad491a..e6d795e98f 100644 --- a/x/auth/signing/sig_verifiable_tx.go +++ b/x/auth/signing/sig_verifiable_tx.go @@ -1,9 +1,9 @@ package signing import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // SigVerifiableTx defines a transaction interface for all signature verification diff --git a/x/auth/signing/sign_mode_handler.go b/x/auth/signing/sign_mode_handler.go index e70246ee27..25f7963ad7 100644 --- a/x/auth/signing/sign_mode_handler.go +++ b/x/auth/signing/sign_mode_handler.go @@ -1,8 +1,8 @@ package signing import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // SignModeHandler defines a interface to be implemented by types which will handle diff --git a/x/auth/signing/verify.go b/x/auth/signing/verify.go index 5a5395de69..4d6d77b0fe 100644 --- a/x/auth/signing/verify.go +++ b/x/auth/signing/verify.go @@ -3,10 +3,10 @@ package signing import ( "fmt" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // VerifySignature verifies a transaction signature contained in SignatureData abstracting over different signing modes diff --git a/x/auth/signing/verify_test.go b/x/auth/signing/verify_test.go index 7e842d1353..03348eae00 100644 --- a/x/auth/signing/verify_test.go +++ b/x/auth/signing/verify_test.go @@ -6,17 +6,17 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/codec" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/ante" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/signing" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func TestVerifySignature(t *testing.T) { diff --git a/x/auth/simulation/decoder.go b/x/auth/simulation/decoder.go index 2fdf752037..309a48b46c 100644 --- a/x/auth/simulation/decoder.go +++ b/x/auth/simulation/decoder.go @@ -6,9 +6,9 @@ import ( gogotypes "github.com/gogo/protobuf/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/auth/types" ) type AuthUnmarshaler interface { diff --git a/x/auth/simulation/decoder_test.go b/x/auth/simulation/decoder_test.go index c7ececcf95..9129baf218 100644 --- a/x/auth/simulation/decoder_test.go +++ b/x/auth/simulation/decoder_test.go @@ -7,12 +7,12 @@ import ( gogotypes "github.com/gogo/protobuf/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/auth/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/auth/simulation" + "github.com/line/lbm-sdk/v2/x/auth/types" ) var ( diff --git a/x/auth/simulation/genesis.go b/x/auth/simulation/genesis.go index 2da36b54fa..d393f50809 100644 --- a/x/auth/simulation/genesis.go +++ b/x/auth/simulation/genesis.go @@ -5,11 +5,11 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/types" - vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/auth/types" + vestingtypes "github.com/line/lbm-sdk/v2/x/auth/vesting/types" ) // Simulation parameter constants diff --git a/x/auth/simulation/genesis_test.go b/x/auth/simulation/genesis_test.go index 830a264ff4..496ee9329b 100644 --- a/x/auth/simulation/genesis_test.go +++ b/x/auth/simulation/genesis_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/auth/simulation" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/auth/simulation/params.go b/x/auth/simulation/params.go index 5ce9ac95fc..fd99ebecb1 100644 --- a/x/auth/simulation/params.go +++ b/x/auth/simulation/params.go @@ -6,9 +6,9 @@ import ( "fmt" "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/simulation" ) const ( diff --git a/x/auth/simulation/params_test.go b/x/auth/simulation/params_test.go index b8fb384a80..837f63682f 100644 --- a/x/auth/simulation/params_test.go +++ b/x/auth/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/auth/simulation" + "github.com/line/lbm-sdk/v2/x/auth/simulation" ) func TestParamChanges(t *testing.T) { diff --git a/x/auth/testutil/suite.go b/x/auth/testutil/suite.go index f8002e68e4..3add09e16a 100644 --- a/x/auth/testutil/suite.go +++ b/x/auth/testutil/suite.go @@ -5,14 +5,14 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) // TxConfigTestSuite provides a test suite that can be used to test that a TxConfig implementation is correct diff --git a/x/auth/tx/builder.go b/x/auth/tx/builder.go index 06e347dfc7..96e502ec6d 100644 --- a/x/auth/tx/builder.go +++ b/x/auth/tx/builder.go @@ -3,14 +3,14 @@ package tx import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/ante" + authsigning "github.com/line/lbm-sdk/v2/x/auth/signing" ) // wrapper is a wrapper around the tx.Tx proto.Message which retain the raw diff --git a/x/auth/tx/builder_test.go b/x/auth/tx/builder_test.go index ddec560851..1269bce349 100644 --- a/x/auth/tx/builder_test.go +++ b/x/auth/tx/builder_test.go @@ -5,14 +5,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/legacy" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + txtypes "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) func TestTxBuilder(t *testing.T) { diff --git a/x/auth/tx/config.go b/x/auth/tx/config.go index 8402423dbf..bcec585247 100644 --- a/x/auth/tx/config.go +++ b/x/auth/tx/config.go @@ -3,13 +3,13 @@ package tx import ( "fmt" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/line/lbm-sdk/v2/codec" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) type config struct { diff --git a/x/auth/tx/config_test.go b/x/auth/tx/config_test.go index b20cf1ce4e..0007d1296b 100644 --- a/x/auth/tx/config_test.go +++ b/x/auth/tx/config_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/std" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/testutil" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/std" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/testutil" ) func TestGenerator(t *testing.T) { diff --git a/x/auth/tx/decoder.go b/x/auth/tx/decoder.go index 5f48ddd3aa..565aaddf37 100644 --- a/x/auth/tx/decoder.go +++ b/x/auth/tx/decoder.go @@ -1,11 +1,11 @@ package tx import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/unknownproto" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/unknownproto" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx" ) // DefaultTxDecoder returns a default protobuf TxDecoder using the provided Marshaler. diff --git a/x/auth/tx/direct.go b/x/auth/tx/direct.go index 4acc52a08d..87377461d6 100644 --- a/x/auth/tx/direct.go +++ b/x/auth/tx/direct.go @@ -3,11 +3,11 @@ package tx import ( "fmt" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" - sdk "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + sdk "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) // signModeDirectHandler defines the SIGN_MODE_DIRECT SignModeHandler diff --git a/x/auth/tx/direct_test.go b/x/auth/tx/direct_test.go index 731a5968da..935d4686f9 100644 --- a/x/auth/tx/direct_test.go +++ b/x/auth/tx/direct_test.go @@ -6,13 +6,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + txtypes "github.com/line/lbm-sdk/v2/types/tx" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) func TestDirectModeHandler(t *testing.T) { diff --git a/x/auth/tx/encode_decode_test.go b/x/auth/tx/encode_decode_test.go index 55fff38c36..a98f21beca 100644 --- a/x/auth/tx/encode_decode_test.go +++ b/x/auth/tx/encode_decode_test.go @@ -4,17 +4,17 @@ import ( "fmt" "testing" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/line/lbm-sdk/v2/types/tx" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/signing" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) func TestDefaultTxDecoderError(t *testing.T) { diff --git a/x/auth/tx/encoder.go b/x/auth/tx/encoder.go index 35cecac556..ce13715220 100644 --- a/x/auth/tx/encoder.go +++ b/x/auth/tx/encoder.go @@ -5,9 +5,9 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + txtypes "github.com/line/lbm-sdk/v2/types/tx" ) // DefaultTxEncoder returns a default protobuf TxEncoder using the provided Marshaler diff --git a/x/auth/tx/legacy_amino_json.go b/x/auth/tx/legacy_amino_json.go index 090e3d864e..459ad529aa 100644 --- a/x/auth/tx/legacy_amino_json.go +++ b/x/auth/tx/legacy_amino_json.go @@ -3,11 +3,11 @@ package tx import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) const aminoNonCriticalFieldsError = "protobuf transaction contains unknown non-critical fields. This is a transaction malleability issue and SIGN_MODE_LEGACY_AMINO_JSON cannot be used." diff --git a/x/auth/tx/legacy_amino_json_test.go b/x/auth/tx/legacy_amino_json_test.go index 3db3352869..c59d0c9a31 100644 --- a/x/auth/tx/legacy_amino_json_test.go +++ b/x/auth/tx/legacy_amino_json_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + cdctypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) var ( diff --git a/x/auth/tx/mode_handler.go b/x/auth/tx/mode_handler.go index f49ee16198..53ab45088b 100644 --- a/x/auth/tx/mode_handler.go +++ b/x/auth/tx/mode_handler.go @@ -3,8 +3,8 @@ package tx import ( "fmt" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + signingtypes "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/auth/signing" ) // DefaultSignModes are the default sign modes enabled for protobuf transactions. diff --git a/x/auth/tx/service.go b/x/auth/tx/service.go index a80fb3e004..6aad282c7e 100644 --- a/x/auth/tx/service.go +++ b/x/auth/tx/service.go @@ -10,11 +10,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - pagination "github.com/cosmos/cosmos-sdk/types/query" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/line/lbm-sdk/v2/client" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + pagination "github.com/line/lbm-sdk/v2/types/query" + txtypes "github.com/line/lbm-sdk/v2/types/tx" ) // baseAppSimulateFn is the signature of the Baseapp#Simulate function. @@ -122,7 +122,7 @@ func (s txServer) GetTx(ctx context.Context, req *txtypes.GetTxRequest) (*txtype } // TODO We should also check the proof flag in gRPC header. - // https://github.com/cosmos/cosmos-sdk/issues/7036. + // https://github.com/line/lbm-sdk/v2/issues/7036. result, err := queryTx(ctx, s.clientCtx, req.Hash) if err != nil { return nil, err diff --git a/x/auth/tx/service_test.go b/x/auth/tx/service_test.go index b8cb4883dc..b6d8bcf575 100644 --- a/x/auth/tx/service_test.go +++ b/x/auth/tx/service_test.go @@ -7,21 +7,21 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - bankcli "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + clienttx "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + authtx "github.com/line/lbm-sdk/v2/x/auth/tx" + bankcli "github.com/line/lbm-sdk/v2/x/bank/client/testutil" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) type IntegrationTestSuite struct { @@ -212,8 +212,8 @@ func (s IntegrationTestSuite) TestGetTxEvents_GRPC() { s.Require().Equal("foobar", grpcRes.Txs[0].Body.Memo) // Make sure fields are populated. - // ref: https://github.com/cosmos/cosmos-sdk/issues/8680 - // ref: https://github.com/cosmos/cosmos-sdk/issues/8681 + // ref: https://github.com/line/lbm-sdk/v2/issues/8680 + // ref: https://github.com/line/lbm-sdk/v2/issues/8681 s.Require().NotEmpty(grpcRes.TxResponses[0].Timestamp) s.Require().NotEmpty(grpcRes.TxResponses[0].RawLog) } @@ -343,8 +343,8 @@ func (s IntegrationTestSuite) TestGetTx_GRPCGateway() { s.Require().NotZero(result.TxResponse.Height) // Make sure fields are populated. - // ref: https://github.com/cosmos/cosmos-sdk/issues/8680 - // ref: https://github.com/cosmos/cosmos-sdk/issues/8681 + // ref: https://github.com/line/lbm-sdk/v2/issues/8680 + // ref: https://github.com/line/lbm-sdk/v2/issues/8681 s.Require().NotEmpty(result.TxResponse.Timestamp) s.Require().NotEmpty(result.TxResponse.RawLog) } diff --git a/x/auth/tx/sigs.go b/x/auth/tx/sigs.go index e2d5d63a60..fb8a83bfed 100644 --- a/x/auth/tx/sigs.go +++ b/x/auth/tx/sigs.go @@ -3,11 +3,11 @@ package tx import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/tx" + "github.com/line/lbm-sdk/v2/types/tx/signing" ) // SignatureDataToModeInfoAndSig converts a SignatureData to a ModeInfo and raw bytes signature diff --git a/x/auth/tx/sigs_test.go b/x/auth/tx/sigs_test.go index ab868db1cd..9d875506cc 100644 --- a/x/auth/tx/sigs_test.go +++ b/x/auth/tx/sigs_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/testutil/testdata" ) func TestDecodeMultisignatures(t *testing.T) { diff --git a/x/auth/tx/xauthclient.go b/x/auth/tx/xauthclient.go index 057afe529d..9eac9ebe7a 100644 --- a/x/auth/tx/xauthclient.go +++ b/x/auth/tx/xauthclient.go @@ -1,7 +1,7 @@ // Package tx 's xauthclient.go file is copy-pasted from -// https://github.com/cosmos/cosmos-sdk/blob/v0.41.3/x/auth/client/query.go +// https://github.com/line/lbm-sdk/v2/blob/v0.41.3/x/auth/client/query.go // It is duplicated as to not introduce any breaking change in 0.41.4, see PR: -// https://github.com/cosmos/cosmos-sdk/pull/8732#discussion_r584746947 +// https://github.com/line/lbm-sdk/v2/pull/8732#discussion_r584746947 package tx import ( @@ -14,9 +14,9 @@ import ( ctypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // QueryTxsByEvents performs a search for transactions for a given set of events @@ -47,7 +47,7 @@ func queryTxsByEvents(goCtx context.Context, clientCtx client.Context, events [] } // TODO: this may not always need to be proven - // https://github.com/cosmos/cosmos-sdk/issues/6807 + // https://github.com/line/lbm-sdk/v2/issues/6807 resTxs, err := node.TxSearch(goCtx, query, true, &page, &limit, orderBy) if err != nil { return nil, err @@ -82,7 +82,7 @@ func queryTx(goCtx context.Context, clientCtx client.Context, hashHexStr string) } //TODO: this may not always need to be proven - // https://github.com/cosmos/cosmos-sdk/issues/6807 + // https://github.com/line/lbm-sdk/v2/issues/6807 resTx, err := node.Tx(goCtx, hash, true) if err != nil { return nil, err diff --git a/x/auth/types/account.go b/x/auth/types/account.go index eb9939ffce..668446c4a1 100644 --- a/x/auth/types/account.go +++ b/x/auth/types/account.go @@ -11,10 +11,10 @@ import ( "github.com/tendermint/tendermint/crypto" "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var ( diff --git a/x/auth/types/account_retriever.go b/x/auth/types/account_retriever.go index f84c744188..125c6e528f 100644 --- a/x/auth/types/account_retriever.go +++ b/x/auth/types/account_retriever.go @@ -8,9 +8,9 @@ import ( grpc "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" ) var ( diff --git a/x/auth/types/account_retriever_test.go b/x/auth/types/account_retriever_test.go index 1053ffdcbd..858ae99573 100644 --- a/x/auth/types/account_retriever_test.go +++ b/x/auth/types/account_retriever_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func TestAccountRetriever(t *testing.T) { diff --git a/x/auth/types/account_test.go b/x/auth/types/account_test.go index 033b1c3ef9..f03b338278 100644 --- a/x/auth/types/account_test.go +++ b/x/auth/types/account_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func TestBaseAddressPubKey(t *testing.T) { diff --git a/x/auth/types/auth.pb.go b/x/auth/types/auth.pb.go index fa52ac5a8b..77504fa3d6 100644 --- a/x/auth/types/auth.pb.go +++ b/x/auth/types/auth.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" _ "github.com/regen-network/cosmos-proto" io "io" math "math" diff --git a/x/auth/types/codec.go b/x/auth/types/codec.go index 629e2919d2..bbb2203274 100644 --- a/x/auth/types/codec.go +++ b/x/auth/types/codec.go @@ -1,10 +1,10 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" ) // RegisterLegacyAminoCodec registers the account interfaces and concrete types on the diff --git a/x/auth/types/common_test.go b/x/auth/types/common_test.go index 5c6ff0fb64..ea61c94194 100644 --- a/x/auth/types/common_test.go +++ b/x/auth/types/common_test.go @@ -1,7 +1,7 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/simapp" + "github.com/line/lbm-sdk/v2/simapp" ) var ( diff --git a/x/auth/types/expected_keepers.go b/x/auth/types/expected_keepers.go index 0ab3f9c430..e13a486125 100644 --- a/x/auth/types/expected_keepers.go +++ b/x/auth/types/expected_keepers.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // BankKeeper defines the contract needed for supply related APIs (noalias) diff --git a/x/auth/types/genesis.go b/x/auth/types/genesis.go index 2b33aa3a5a..16a9b521ea 100644 --- a/x/auth/types/genesis.go +++ b/x/auth/types/genesis.go @@ -7,9 +7,9 @@ import ( proto "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types/module" ) var _ types.UnpackInterfacesMessage = GenesisState{} diff --git a/x/auth/types/genesis.pb.go b/x/auth/types/genesis.pb.go index 4e7396ab7c..9d16c72582 100644 --- a/x/auth/types/genesis.pb.go +++ b/x/auth/types/genesis.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/auth/types/genesis_test.go b/x/auth/types/genesis_test.go index 1030885e79..37e1a55d03 100644 --- a/x/auth/types/genesis_test.go +++ b/x/auth/types/genesis_test.go @@ -7,10 +7,10 @@ import ( proto "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/require" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func TestSanitize(t *testing.T) { diff --git a/x/auth/types/keys.go b/x/auth/types/keys.go index 4cb2538f25..a5d4ba37af 100644 --- a/x/auth/types/keys.go +++ b/x/auth/types/keys.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/auth/types/params.go b/x/auth/types/params.go index 710ee963b4..3b445effc7 100644 --- a/x/auth/types/params.go +++ b/x/auth/types/params.go @@ -5,7 +5,7 @@ import ( yaml "gopkg.in/yaml.v2" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Default parameter values diff --git a/x/auth/types/params_test.go b/x/auth/types/params_test.go index fcec36cb83..681682e2ff 100644 --- a/x/auth/types/params_test.go +++ b/x/auth/types/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) func TestParamsEqual(t *testing.T) { diff --git a/x/auth/types/permissions.go b/x/auth/types/permissions.go index 8547235003..5851f6071c 100644 --- a/x/auth/types/permissions.go +++ b/x/auth/types/permissions.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // permissions diff --git a/x/auth/types/query.go b/x/auth/types/query.go index ce0fa7fe2c..65bc8ef0ee 100644 --- a/x/auth/types/query.go +++ b/x/auth/types/query.go @@ -1,6 +1,6 @@ package types -import codectypes "github.com/cosmos/cosmos-sdk/codec/types" +import codectypes "github.com/line/lbm-sdk/v2/codec/types" func (m *QueryAccountResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error { var account AccountI diff --git a/x/auth/types/query.pb.go b/x/auth/types/query.pb.go index fcb0efa966..196ac27738 100644 --- a/x/auth/types/query.pb.go +++ b/x/auth/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" _ "github.com/regen-network/cosmos-proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" diff --git a/x/auth/vesting/client/cli/cli_test.go b/x/auth/vesting/client/cli/cli_test.go index ebd417a62b..6a97ba6956 100644 --- a/x/auth/vesting/client/cli/cli_test.go +++ b/x/auth/vesting/client/cli/cli_test.go @@ -9,11 +9,11 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/client/cli" + "github.com/line/lbm-sdk/v2/client/flags" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/vesting/client/cli" ) type IntegrationTestSuite struct { diff --git a/x/auth/vesting/client/cli/tx.go b/x/auth/vesting/client/cli/tx.go index 9cacdfdaab..9dcb001767 100644 --- a/x/auth/vesting/client/cli/tx.go +++ b/x/auth/vesting/client/cli/tx.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/vesting/types" ) // Transaction command flags diff --git a/x/auth/vesting/exported/exported.go b/x/auth/vesting/exported/exported.go index f47d24ae9e..103ab10dae 100644 --- a/x/auth/vesting/exported/exported.go +++ b/x/auth/vesting/exported/exported.go @@ -3,9 +3,9 @@ package exported import ( "time" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/x/auth/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // VestingAccount defines an account type that vests coins via a vesting schedule. diff --git a/x/auth/vesting/handler.go b/x/auth/vesting/handler.go index 1d32e9969b..74066ffba6 100644 --- a/x/auth/vesting/handler.go +++ b/x/auth/vesting/handler.go @@ -1,10 +1,10 @@ package vesting import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/keeper" + "github.com/line/lbm-sdk/v2/x/auth/vesting/types" ) // NewHandler returns a handler for x/auth message types. diff --git a/x/auth/vesting/handler_test.go b/x/auth/vesting/handler_test.go index 490fc59971..83b8ddf85c 100644 --- a/x/auth/vesting/handler_test.go +++ b/x/auth/vesting/handler_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/vesting" + "github.com/line/lbm-sdk/v2/x/auth/vesting/types" ) type HandlerTestSuite struct { diff --git a/x/auth/vesting/module.go b/x/auth/vesting/module.go index 3cc579a40e..1934954f23 100644 --- a/x/auth/vesting/module.go +++ b/x/auth/vesting/module.go @@ -8,14 +8,14 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/client/cli" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/auth/keeper" + "github.com/line/lbm-sdk/v2/x/auth/vesting/client/cli" + "github.com/line/lbm-sdk/v2/x/auth/vesting/types" ) var ( diff --git a/x/auth/vesting/msg_server.go b/x/auth/vesting/msg_server.go index dadd65dbcf..7e64fdd434 100644 --- a/x/auth/vesting/msg_server.go +++ b/x/auth/vesting/msg_server.go @@ -3,15 +3,15 @@ package vesting import ( "context" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/auth/keeper" + "github.com/line/lbm-sdk/v2/x/auth/vesting/types" ) type msgServer struct { diff --git a/x/auth/vesting/types/codec.go b/x/auth/vesting/types/codec.go index eeaf80a95a..74833a2e00 100644 --- a/x/auth/vesting/types/codec.go +++ b/x/auth/vesting/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/auth/vesting/exported" ) // RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the diff --git a/x/auth/vesting/types/common_test.go b/x/auth/vesting/types/common_test.go index 4f361059ad..4ca24839d3 100644 --- a/x/auth/vesting/types/common_test.go +++ b/x/auth/vesting/types/common_test.go @@ -1,7 +1,7 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/simapp" + "github.com/line/lbm-sdk/v2/simapp" ) var ( diff --git a/x/auth/vesting/types/expected_keepers.go b/x/auth/vesting/types/expected_keepers.go index 8212f6e375..346b7aaa5a 100644 --- a/x/auth/vesting/types/expected_keepers.go +++ b/x/auth/vesting/types/expected_keepers.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // BankKeeper defines the expected interface contract the vesting module requires diff --git a/x/auth/vesting/types/genesis_test.go b/x/auth/vesting/types/genesis_test.go index 98aabb15cf..a48f10bdd9 100644 --- a/x/auth/vesting/types/genesis_test.go +++ b/x/auth/vesting/types/genesis_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" ) var ( diff --git a/x/auth/vesting/types/msgs.go b/x/auth/vesting/types/msgs.go index 3308e03048..8d2dfb68d8 100644 --- a/x/auth/vesting/types/msgs.go +++ b/x/auth/vesting/types/msgs.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // TypeMsgCreateVestingAccount defines the type value for a MsgCreateVestingAccount. diff --git a/x/auth/vesting/types/test_common.go b/x/auth/vesting/types/test_common.go index 0e22ea2352..49612cd71e 100644 --- a/x/auth/vesting/types/test_common.go +++ b/x/auth/vesting/types/test_common.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewTestMsg generates a test message diff --git a/x/auth/vesting/types/tx.pb.go b/x/auth/vesting/types/tx.pb.go index d07a154dd3..11a6436e1a 100644 --- a/x/auth/vesting/types/tx.pb.go +++ b/x/auth/vesting/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -35,7 +35,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgCreateVestingAccount struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"amount"` EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" yaml:"end_time"` Delayed bool `protobuf:"varint,5,opt,name=delayed,proto3" json:"delayed,omitempty"` } diff --git a/x/auth/vesting/types/vesting.pb.go b/x/auth/vesting/types/vesting.pb.go index 7672ce66f8..09b9d674f4 100644 --- a/x/auth/vesting/types/vesting.pb.go +++ b/x/auth/vesting/types/vesting.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/x/auth/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types1 "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/x/auth/types" io "io" math "math" math_bits "math/bits" @@ -30,9 +30,9 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // the necessary fields needed for any vesting account implementation. type BaseVestingAccount struct { *types.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3,embedded=base_account" json:"base_account,omitempty"` - OriginalVesting github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=original_vesting,json=originalVesting,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"original_vesting" yaml:"original_vesting"` - DelegatedFree github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=delegated_free,json=delegatedFree,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"delegated_free" yaml:"delegated_free"` - DelegatedVesting github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=delegated_vesting,json=delegatedVesting,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"delegated_vesting" yaml:"delegated_vesting"` + OriginalVesting github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=original_vesting,json=originalVesting,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"original_vesting" yaml:"original_vesting"` + DelegatedFree github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=delegated_free,json=delegatedFree,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"delegated_free" yaml:"delegated_free"` + DelegatedVesting github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=delegated_vesting,json=delegatedVesting,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"delegated_vesting" yaml:"delegated_vesting"` EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" yaml:"end_time"` } @@ -149,7 +149,7 @@ var xxx_messageInfo_DelayedVestingAccount proto.InternalMessageInfo // Period defines a length of time and amount of coins that will vest. type Period struct { Length int64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"amount"` } func (m *Period) Reset() { *m = Period{} } diff --git a/x/auth/vesting/types/vesting_account.go b/x/auth/vesting/types/vesting_account.go index e011bd6efb..cead1c5d73 100644 --- a/x/auth/vesting/types/vesting_account.go +++ b/x/auth/vesting/types/vesting_account.go @@ -6,9 +6,9 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + vestexported "github.com/line/lbm-sdk/v2/x/auth/vesting/exported" ) // Compile-time type assertions diff --git a/x/auth/vesting/types/vesting_account_test.go b/x/auth/vesting/types/vesting_account_test.go index 01a5e2ad98..5f092ad0f1 100644 --- a/x/auth/vesting/types/vesting_account_test.go +++ b/x/auth/vesting/types/vesting_account_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/require" tmtime "github.com/tendermint/tendermint/types/time" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/auth/vesting/types" ) var ( diff --git a/x/bank/app_test.go b/x/bank/app_test.go index 82d898b090..1db74ef2de 100644 --- a/x/bank/app_test.go +++ b/x/bank/app_test.go @@ -6,13 +6,13 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/bank/types" + distrtypes "github.com/line/lbm-sdk/v2/x/distribution/types" ) type ( diff --git a/x/bank/atlas/atlas-v0.39.1.md b/x/bank/atlas/atlas-v0.39.1.md index affca5b9e2..405e3689cd 100644 --- a/x/bank/atlas/atlas-v0.39.1.md +++ b/x/bank/atlas/atlas-v0.39.1.md @@ -10,7 +10,7 @@ with particular kinds of accounts. ```go import ( - "github.com/cosmos/cosmos-sdk/x/bank" + "github.com/line/lbm-sdk/v2/x/bank" ) ``` diff --git a/x/bank/bench_test.go b/x/bank/bench_test.go index f1affb9d99..0799424254 100644 --- a/x/bank/bench_test.go +++ b/x/bank/bench_test.go @@ -7,12 +7,12 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var moduleAccAddr = authtypes.NewModuleAddress(stakingtypes.BondedPoolName) diff --git a/x/bank/client/cli/cli_test.go b/x/bank/client/cli/cli_test.go index 952390fe77..8cdccf05e3 100644 --- a/x/bank/client/cli/cli_test.go +++ b/x/bank/client/cli/cli_test.go @@ -9,16 +9,16 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/client/cli" - banktestutil "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/bank/client/cli" + banktestutil "github.com/line/lbm-sdk/v2/x/bank/client/testutil" + "github.com/line/lbm-sdk/v2/x/bank/types" ) type IntegrationTestSuite struct { diff --git a/x/bank/client/cli/query.go b/x/bank/client/cli/query.go index fbb9ba4382..4a19a111b5 100644 --- a/x/bank/client/cli/query.go +++ b/x/bank/client/cli/query.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/bank/types" ) const ( diff --git a/x/bank/client/cli/tx.go b/x/bank/client/cli/tx.go index d88a95fc6c..810ab6c0ed 100644 --- a/x/bank/client/cli/tx.go +++ b/x/bank/client/cli/tx.go @@ -3,11 +3,11 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // NewTxCmd returns a root CLI command handler for all x/bank transaction commands. diff --git a/x/bank/client/rest/grpc_query_test.go b/x/bank/client/rest/grpc_query_test.go index d6290a1fef..cf7717d22b 100644 --- a/x/bank/client/rest/grpc_query_test.go +++ b/x/bank/client/rest/grpc_query_test.go @@ -7,12 +7,12 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func (s *IntegrationTestSuite) TestTotalSupplyGRPCHandler() { diff --git a/x/bank/client/rest/query.go b/x/bank/client/rest/query.go index 7c88c790f8..ab429e080d 100644 --- a/x/bank/client/rest/query.go +++ b/x/bank/client/rest/query.go @@ -6,10 +6,10 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // QueryBalancesRequestHandlerFn returns a REST handler that queries for all diff --git a/x/bank/client/rest/query_test.go b/x/bank/client/rest/query_test.go index 11d731b6dc..8ee9446b5d 100644 --- a/x/bank/client/rest/query_test.go +++ b/x/bank/client/rest/query_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/bank/types" ) type IntegrationTestSuite struct { diff --git a/x/bank/client/rest/rest.go b/x/bank/client/rest/rest.go index db4909c532..ad493c9bf8 100644 --- a/x/bank/client/rest/rest.go +++ b/x/bank/client/rest/rest.go @@ -3,9 +3,9 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/line/lbm-sdk/v2/client/rest" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) // RegisterHandlers registers all x/bank transaction and query HTTP REST handlers diff --git a/x/bank/client/rest/tx.go b/x/bank/client/rest/tx.go index e630710dff..d3e2dff4ff 100644 --- a/x/bank/client/rest/tx.go +++ b/x/bank/client/rest/tx.go @@ -5,11 +5,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // SendReq defines the properties of a send request's body. diff --git a/x/bank/client/rest/tx_test.go b/x/bank/client/rest/tx_test.go index d770ebec3d..c6974d7ff8 100644 --- a/x/bank/client/rest/tx_test.go +++ b/x/bank/client/rest/tx_test.go @@ -5,16 +5,16 @@ package rest_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/rest" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - bankrest "github.com/cosmos/cosmos-sdk/x/bank/client/rest" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/rest" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/auth/legacy/legacytx" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + bankrest "github.com/line/lbm-sdk/v2/x/bank/client/rest" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" ) func (s *IntegrationTestSuite) TestCoinSend() { diff --git a/x/bank/client/testutil/cli_helpers.go b/x/bank/client/testutil/cli_helpers.go index 820c668c45..7ec10dd7f9 100644 --- a/x/bank/client/testutil/cli_helpers.go +++ b/x/bank/client/testutil/cli_helpers.go @@ -9,14 +9,14 @@ import ( "github.com/tendermint/tendermint/libs/cli" grpc "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - sdk "github.com/cosmos/cosmos-sdk/types" - bankcli "github.com/cosmos/cosmos-sdk/x/bank/client/cli" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + sdk "github.com/line/lbm-sdk/v2/types" + bankcli "github.com/line/lbm-sdk/v2/x/bank/client/cli" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func MsgSendExec(clientCtx client.Context, from, to, amount fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error) { diff --git a/x/bank/exported/exported.go b/x/bank/exported/exported.go index ae13d99d5a..1d2197d6ef 100644 --- a/x/bank/exported/exported.go +++ b/x/bank/exported/exported.go @@ -3,7 +3,7 @@ package exported import ( "github.com/gogo/protobuf/proto" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // GenesisBalance defines a genesis balance interface that allows for account diff --git a/x/bank/handler.go b/x/bank/handler.go index 0fb0f53a4c..db9d6c61da 100644 --- a/x/bank/handler.go +++ b/x/bank/handler.go @@ -1,10 +1,10 @@ package bank import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/bank/keeper" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // NewHandler returns a handler for "bank" type messages. diff --git a/x/bank/handler_test.go b/x/bank/handler_test.go index e16e8590a1..e38054ea69 100644 --- a/x/bank/handler_test.go +++ b/x/bank/handler_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) func TestInvalidMsg(t *testing.T) { diff --git a/x/bank/keeper/genesis.go b/x/bank/keeper/genesis.go index d30415c6a2..ce56dc837c 100644 --- a/x/bank/keeper/genesis.go +++ b/x/bank/keeper/genesis.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // InitGenesis initializes the bank module's state from a given genesis state. diff --git a/x/bank/keeper/genesis_test.go b/x/bank/keeper/genesis_test.go index 56c95c04be..b70dd455af 100644 --- a/x/bank/keeper/genesis_test.go +++ b/x/bank/keeper/genesis_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func (suite *IntegrationTestSuite) TestExportGenesis() { diff --git a/x/bank/keeper/grpc_query.go b/x/bank/keeper/grpc_query.go index a0621967cf..bf18ee7964 100644 --- a/x/bank/keeper/grpc_query.go +++ b/x/bank/keeper/grpc_query.go @@ -6,10 +6,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/bank/types" ) var _ types.QueryServer = BaseKeeper{} diff --git a/x/bank/keeper/grpc_query_test.go b/x/bank/keeper/grpc_query_test.go index e178f13017..878ec191fc 100644 --- a/x/bank/keeper/grpc_query_test.go +++ b/x/bank/keeper/grpc_query_test.go @@ -6,10 +6,10 @@ import ( gocontext "context" "fmt" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func (suite *IntegrationTestSuite) TestQueryBalance() { diff --git a/x/bank/keeper/invariants.go b/x/bank/keeper/invariants.go index f06cde0111..59cba6a3df 100644 --- a/x/bank/keeper/invariants.go +++ b/x/bank/keeper/invariants.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // RegisterInvariants registers the bank module invariants diff --git a/x/bank/keeper/keeper.go b/x/bank/keeper/keeper.go index 1a7d435841..9190464efd 100644 --- a/x/bank/keeper/keeper.go +++ b/x/bank/keeper/keeper.go @@ -3,15 +3,15 @@ package keeper import ( "time" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" - "github.com/cosmos/cosmos-sdk/x/bank/exported" - "github.com/cosmos/cosmos-sdk/x/bank/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + vestexported "github.com/line/lbm-sdk/v2/x/auth/vesting/exported" + "github.com/line/lbm-sdk/v2/x/bank/exported" + "github.com/line/lbm-sdk/v2/x/bank/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) var _ Keeper = (*BaseKeeper)(nil) diff --git a/x/bank/keeper/keeper_test.go b/x/bank/keeper/keeper_test.go index c250bdb2ef..edf81a5a0d 100644 --- a/x/bank/keeper/keeper_test.go +++ b/x/bank/keeper/keeper_test.go @@ -9,14 +9,14 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtime "github.com/tendermint/tendermint/types/time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authkeeper "github.com/line/lbm-sdk/v2/x/auth/keeper" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + vesting "github.com/line/lbm-sdk/v2/x/auth/vesting/types" + "github.com/line/lbm-sdk/v2/x/bank/keeper" + "github.com/line/lbm-sdk/v2/x/bank/types" ) const ( diff --git a/x/bank/keeper/msg_server.go b/x/bank/keeper/msg_server.go index b318db2cc4..45980b8a7f 100644 --- a/x/bank/keeper/msg_server.go +++ b/x/bank/keeper/msg_server.go @@ -5,10 +5,10 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/bank/types" ) type msgServer struct { diff --git a/x/bank/keeper/querier.go b/x/bank/keeper/querier.go index b4a6148c7f..40a16459b4 100644 --- a/x/bank/keeper/querier.go +++ b/x/bank/keeper/querier.go @@ -3,11 +3,11 @@ package keeper import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // NewQuerier returns a new sdk.Keeper instance. diff --git a/x/bank/keeper/querier_test.go b/x/bank/keeper/querier_test.go index 84ec3d0957..cd2983a251 100644 --- a/x/bank/keeper/querier_test.go +++ b/x/bank/keeper/querier_test.go @@ -5,10 +5,10 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/keeper" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func (suite *IntegrationTestSuite) TestQuerier_QueryBalance() { diff --git a/x/bank/keeper/send.go b/x/bank/keeper/send.go index c1000b7d30..ffe05dd5f3 100644 --- a/x/bank/keeper/send.go +++ b/x/bank/keeper/send.go @@ -1,13 +1,13 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/bank/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // SendKeeper defines a module interface that facilitates the transfer of coins diff --git a/x/bank/keeper/view.go b/x/bank/keeper/view.go index d4bcabad2b..c2312f0344 100644 --- a/x/bank/keeper/view.go +++ b/x/bank/keeper/view.go @@ -5,12 +5,12 @@ import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + vestexported "github.com/line/lbm-sdk/v2/x/auth/vesting/exported" + "github.com/line/lbm-sdk/v2/x/bank/types" ) var _ ViewKeeper = (*BaseViewKeeper)(nil) diff --git a/x/bank/legacy/v036/types.go b/x/bank/legacy/v036/types.go index 1de8ffb9b7..0156f885f7 100644 --- a/x/bank/legacy/v036/types.go +++ b/x/bank/legacy/v036/types.go @@ -3,7 +3,7 @@ package v036 import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ModuleName = "supply" diff --git a/x/bank/legacy/v040/migrate.go b/x/bank/legacy/v040/migrate.go index ab2e596f57..9b1f5196e2 100644 --- a/x/bank/legacy/v040/migrate.go +++ b/x/bank/legacy/v040/migrate.go @@ -1,10 +1,10 @@ package v040 import ( - v039auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v039" - v036supply "github.com/cosmos/cosmos-sdk/x/bank/legacy/v036" - v038bank "github.com/cosmos/cosmos-sdk/x/bank/legacy/v038" - v040bank "github.com/cosmos/cosmos-sdk/x/bank/types" + v039auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v039" + v036supply "github.com/line/lbm-sdk/v2/x/bank/legacy/v036" + v038bank "github.com/line/lbm-sdk/v2/x/bank/legacy/v038" + v040bank "github.com/line/lbm-sdk/v2/x/bank/types" ) // Migrate accepts exported v0.39 x/auth and v0.38 x/bank genesis state and diff --git a/x/bank/legacy/v040/migrate_test.go b/x/bank/legacy/v040/migrate_test.go index 9b458e1209..47a625d132 100644 --- a/x/bank/legacy/v040/migrate_test.go +++ b/x/bank/legacy/v040/migrate_test.go @@ -5,14 +5,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - v038auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v038" - v039auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v039" - v036supply "github.com/cosmos/cosmos-sdk/x/bank/legacy/v036" - v038bank "github.com/cosmos/cosmos-sdk/x/bank/legacy/v038" - v040bank "github.com/cosmos/cosmos-sdk/x/bank/legacy/v040" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + v038auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v038" + v039auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v039" + v036supply "github.com/line/lbm-sdk/v2/x/bank/legacy/v036" + v038bank "github.com/line/lbm-sdk/v2/x/bank/legacy/v038" + v040bank "github.com/line/lbm-sdk/v2/x/bank/legacy/v040" ) func TestMigrate(t *testing.T) { diff --git a/x/bank/module.go b/x/bank/module.go index f271fa2197..06415f0450 100644 --- a/x/bank/module.go +++ b/x/bank/module.go @@ -12,18 +12,18 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/client/cli" - "github.com/cosmos/cosmos-sdk/x/bank/client/rest" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/bank/client/cli" + "github.com/line/lbm-sdk/v2/x/bank/client/rest" + "github.com/line/lbm-sdk/v2/x/bank/keeper" + "github.com/line/lbm-sdk/v2/x/bank/simulation" + "github.com/line/lbm-sdk/v2/x/bank/types" ) var ( diff --git a/x/bank/simulation/decoder.go b/x/bank/simulation/decoder.go index be885eac6e..b4b1350747 100644 --- a/x/bank/simulation/decoder.go +++ b/x/bank/simulation/decoder.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/bank/exported" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/bank/exported" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // SupplyUnmarshaler defines the expected encoding store functions. diff --git a/x/bank/simulation/decoder_test.go b/x/bank/simulation/decoder_test.go index 82ab32c149..be6c39218e 100644 --- a/x/bank/simulation/decoder_test.go +++ b/x/bank/simulation/decoder_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/bank/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/bank/simulation" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/bank/simulation/genesis.go b/x/bank/simulation/genesis.go index 9031d03364..474dbe8ed2 100644 --- a/x/bank/simulation/genesis.go +++ b/x/bank/simulation/genesis.go @@ -7,9 +7,9 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // RandomGenesisDefaultSendParam computes randomized allow all send transfers param for the bank module diff --git a/x/bank/simulation/genesis_test.go b/x/bank/simulation/genesis_test.go index fc31ca38e9..ea78c48ff3 100644 --- a/x/bank/simulation/genesis_test.go +++ b/x/bank/simulation/genesis_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/bank/simulation" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/bank/simulation/operations.go b/x/bank/simulation/operations.go index 9fcc80f0fe..9e56449c96 100644 --- a/x/bank/simulation/operations.go +++ b/x/bank/simulation/operations.go @@ -3,16 +3,16 @@ package simulation import ( "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp/helpers" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/bank/keeper" + "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/simulation" ) // Simulation operation weights constants diff --git a/x/bank/simulation/operations_test.go b/x/bank/simulation/operations_test.go index 144dc5dd34..bba70dd382 100644 --- a/x/bank/simulation/operations_test.go +++ b/x/bank/simulation/operations_test.go @@ -8,12 +8,12 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/simapp" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/bank/simulation" + "github.com/line/lbm-sdk/v2/x/bank/types" ) type SimTestSuite struct { diff --git a/x/bank/simulation/params.go b/x/bank/simulation/params.go index c3da182205..0910c08a20 100644 --- a/x/bank/simulation/params.go +++ b/x/bank/simulation/params.go @@ -7,10 +7,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/bank/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/x/bank/simulation/params_test.go b/x/bank/simulation/params_test.go index 3045bb5075..aeba1bceba 100644 --- a/x/bank/simulation/params_test.go +++ b/x/bank/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/bank/simulation" + "github.com/line/lbm-sdk/v2/x/bank/simulation" ) func TestParamChanges(t *testing.T) { diff --git a/x/bank/types/balance.go b/x/bank/types/balance.go index 7c017ee900..aab4ebc792 100644 --- a/x/bank/types/balance.go +++ b/x/bank/types/balance.go @@ -6,9 +6,9 @@ import ( fmt "fmt" "sort" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/exported" ) var _ exported.GenesisBalance = (*Balance)(nil) diff --git a/x/bank/types/balance_test.go b/x/bank/types/balance_test.go index 9736c847ba..e7fa2b7bee 100644 --- a/x/bank/types/balance_test.go +++ b/x/bank/types/balance_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + sdk "github.com/line/lbm-sdk/v2/types" + bank "github.com/line/lbm-sdk/v2/x/bank/types" ) func TestBalanceValidate(t *testing.T) { diff --git a/x/bank/types/bank.pb.go b/x/bank/types/bank.pb.go index ef1c52c1cc..10780dbc3c 100644 --- a/x/bank/types/bank.pb.go +++ b/x/bank/types/bank.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" _ "github.com/regen-network/cosmos-proto" io "io" math "math" @@ -134,7 +134,7 @@ func (m *SendEnabled) GetEnabled() bool { // Input models transaction input. type Input struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"coins"` } func (m *Input) Reset() { *m = Input{} } @@ -173,7 +173,7 @@ var xxx_messageInfo_Input proto.InternalMessageInfo // Output models transaction outputs. type Output struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"coins"` } func (m *Output) Reset() { *m = Output{} } @@ -212,7 +212,7 @@ var xxx_messageInfo_Output proto.InternalMessageInfo // Supply represents a struct that passively keeps track of the total supply // amounts in the network. type Supply struct { - Total github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=total,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total"` + Total github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=total,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"total"` } func (m *Supply) Reset() { *m = Supply{} } diff --git a/x/bank/types/codec.go b/x/bank/types/codec.go index ef1c897d97..79e60e865d 100644 --- a/x/bank/types/codec.go +++ b/x/bank/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - "github.com/cosmos/cosmos-sdk/x/bank/exported" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" + "github.com/line/lbm-sdk/v2/x/bank/exported" ) // RegisterLegacyAminoCodec registers the necessary x/bank interfaces and concrete types diff --git a/x/bank/types/errors.go b/x/bank/types/errors.go index ab88b40e9b..228a04ce7e 100644 --- a/x/bank/types/errors.go +++ b/x/bank/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/bank module sentinel errors diff --git a/x/bank/types/expected_keepers.go b/x/bank/types/expected_keepers.go index 7307864b86..46fffbabee 100644 --- a/x/bank/types/expected_keepers.go +++ b/x/bank/types/expected_keepers.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // AccountKeeper defines the account contract that must be fulfilled when diff --git a/x/bank/types/genesis.go b/x/bank/types/genesis.go index 4adc758f3b..5d7aa56c12 100644 --- a/x/bank/types/genesis.go +++ b/x/bank/types/genesis.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) // Validate performs basic validation of supply genesis data returning an diff --git a/x/bank/types/genesis.pb.go b/x/bank/types/genesis.pb.go index f1d124bdd4..ccce2bb651 100644 --- a/x/bank/types/genesis.pb.go +++ b/x/bank/types/genesis.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" io "io" math "math" math_bits "math/bits" @@ -32,7 +32,7 @@ type GenesisState struct { // balances is an array containing the balances of all the accounts. Balances []Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances"` // supply represents the total supply. - Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` + Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=supply,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"supply"` // denom_metadata defines the metadata of the differents coins. DenomMetadata []Metadata `protobuf:"bytes,4,rep,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata" yaml:"denom_metadata"` } @@ -104,7 +104,7 @@ type Balance struct { // address is the address of the balance holder. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // coins defines the different coins this balance holds. - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"coins"` } func (m *Balance) Reset() { *m = Balance{} } diff --git a/x/bank/types/genesis_test.go b/x/bank/types/genesis_test.go index 6e8009d83f..27b782b076 100644 --- a/x/bank/types/genesis_test.go +++ b/x/bank/types/genesis_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func TestGenesisStateValidate(t *testing.T) { diff --git a/x/bank/types/key.go b/x/bank/types/key.go index ec8619d001..a8a026d0ae 100644 --- a/x/bank/types/key.go +++ b/x/bank/types/key.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/bank/types/key_test.go b/x/bank/types/key_test.go index f3b5717fbe..4cde983b9b 100644 --- a/x/bank/types/key_test.go +++ b/x/bank/types/key_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func cloneAppend(bz []byte, tail []byte) (res []byte) { diff --git a/x/bank/types/metadata.go b/x/bank/types/metadata.go index ce7794053d..bacb31f38a 100644 --- a/x/bank/types/metadata.go +++ b/x/bank/types/metadata.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // Validate performs a basic validation of the coin metadata fields. It checks: diff --git a/x/bank/types/metadata_test.go b/x/bank/types/metadata_test.go index 64241e6098..762b4c2732 100644 --- a/x/bank/types/metadata_test.go +++ b/x/bank/types/metadata_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/x/bank/types" ) func TestMetadataValidate(t *testing.T) { diff --git a/x/bank/types/msgs.go b/x/bank/types/msgs.go index 22fdc30b38..d66eaf28c9 100644 --- a/x/bank/types/msgs.go +++ b/x/bank/types/msgs.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // bank message types diff --git a/x/bank/types/msgs_test.go b/x/bank/types/msgs_test.go index 96132150ad..1c92f7cf2e 100644 --- a/x/bank/types/msgs_test.go +++ b/x/bank/types/msgs_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestMsgSendRoute(t *testing.T) { diff --git a/x/bank/types/params.go b/x/bank/types/params.go index ed94ead347..a9478a3bc8 100644 --- a/x/bank/types/params.go +++ b/x/bank/types/params.go @@ -5,8 +5,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/line/lbm-sdk/v2/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) const ( diff --git a/x/bank/types/params_test.go b/x/bank/types/params_test.go index f6f95d7373..43ba73d942 100644 --- a/x/bank/types/params_test.go +++ b/x/bank/types/params_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_validateSendEnabledParam(t *testing.T) { diff --git a/x/bank/types/querier.go b/x/bank/types/querier.go index 1ef0093386..e98ba400d9 100644 --- a/x/bank/types/querier.go +++ b/x/bank/types/querier.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" ) // Querier path constants diff --git a/x/bank/types/query.pb.go b/x/bank/types/query.pb.go index c4bedb0098..6879e0e2ff 100644 --- a/x/bank/types/query.pb.go +++ b/x/bank/types/query.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" + query "github.com/line/lbm-sdk/v2/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -164,7 +164,7 @@ var xxx_messageInfo_QueryAllBalancesRequest proto.InternalMessageInfo // method. type QueryAllBalancesResponse struct { // balances is the balances of all the coins. - Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"` + Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"balances"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -258,7 +258,7 @@ var xxx_messageInfo_QueryTotalSupplyRequest proto.InternalMessageInfo // method type QueryTotalSupplyResponse struct { // supply is the supply of the coins - Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` + Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=supply,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"supply"` } func (m *QueryTotalSupplyResponse) Reset() { *m = QueryTotalSupplyResponse{} } diff --git a/x/bank/types/supply.go b/x/bank/types/supply.go index c5c14b15bc..ff47f2029d 100644 --- a/x/bank/types/supply.go +++ b/x/bank/types/supply.go @@ -5,8 +5,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/exported" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/bank/exported" ) // Implements Delegation interface diff --git a/x/bank/types/supply_test.go b/x/bank/types/supply_test.go index 6fff2182c8..a6d8d5d135 100644 --- a/x/bank/types/supply_test.go +++ b/x/bank/types/supply_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestSupplyMarshalYAML(t *testing.T) { diff --git a/x/bank/types/tx.pb.go b/x/bank/types/tx.pb.go index 6dd52c4b64..3043336398 100644 --- a/x/bank/types/tx.pb.go +++ b/x/bank/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -34,7 +34,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgSend struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"amount"` } func (m *MsgSend) Reset() { *m = MsgSend{} } diff --git a/x/capability/genesis.go b/x/capability/genesis.go index ba8e09dcd3..41206d264b 100644 --- a/x/capability/genesis.go +++ b/x/capability/genesis.go @@ -1,9 +1,9 @@ package capability import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/capability/keeper" + "github.com/line/lbm-sdk/v2/x/capability/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/capability/keeper/keeper.go b/x/capability/keeper/keeper.go index 61de033899..233b5db35d 100644 --- a/x/capability/keeper/keeper.go +++ b/x/capability/keeper/keeper.go @@ -6,11 +6,11 @@ import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/capability/types" ) type ( diff --git a/x/capability/keeper/keeper_test.go b/x/capability/keeper/keeper_test.go index e62176a724..d3a920fbf4 100644 --- a/x/capability/keeper/keeper_test.go +++ b/x/capability/keeper/keeper_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/capability/keeper" + "github.com/line/lbm-sdk/v2/x/capability/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) type KeeperTestSuite struct { diff --git a/x/capability/module.go b/x/capability/module.go index 7957f57747..18fa4f5792 100644 --- a/x/capability/module.go +++ b/x/capability/module.go @@ -11,15 +11,15 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/simulation" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + cdctypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/capability/keeper" + "github.com/line/lbm-sdk/v2/x/capability/simulation" + "github.com/line/lbm-sdk/v2/x/capability/types" ) var ( diff --git a/x/capability/simulation/decoder.go b/x/capability/simulation/decoder.go index 9ab5521b74..e57777a66b 100644 --- a/x/capability/simulation/decoder.go +++ b/x/capability/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/capability/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/capability/simulation/decoder_test.go b/x/capability/simulation/decoder_test.go index 9115805059..c711492813 100644 --- a/x/capability/simulation/decoder_test.go +++ b/x/capability/simulation/decoder_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/capability/simulation" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/capability/simulation" + "github.com/line/lbm-sdk/v2/x/capability/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/capability/simulation/genesis.go b/x/capability/simulation/genesis.go index ab1d11fb3d..47fcfcd230 100644 --- a/x/capability/simulation/genesis.go +++ b/x/capability/simulation/genesis.go @@ -7,8 +7,8 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/capability/types" ) // Simulation parameter constants diff --git a/x/capability/simulation/genesis_test.go b/x/capability/simulation/genesis_test.go index 16d54c177a..3bc233cee5 100644 --- a/x/capability/simulation/genesis_test.go +++ b/x/capability/simulation/genesis_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/capability/simulation" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/capability/simulation" + "github.com/line/lbm-sdk/v2/x/capability/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/capability/types/errors.go b/x/capability/types/errors.go index 7c582ccbb0..7d794b67bd 100644 --- a/x/capability/types/errors.go +++ b/x/capability/types/errors.go @@ -3,7 +3,7 @@ package types // DONTCOVER import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/capability module sentinel errors diff --git a/x/capability/types/keys.go b/x/capability/types/keys.go index 5f171e28a7..ac4e9288b0 100644 --- a/x/capability/types/keys.go +++ b/x/capability/types/keys.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/capability/types/keys_test.go b/x/capability/types/keys_test.go index e767c3d342..e10c36d7fa 100644 --- a/x/capability/types/keys_test.go +++ b/x/capability/types/keys_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/line/lbm-sdk/v2/x/capability/types" ) func TestRevCapabilityKey(t *testing.T) { diff --git a/x/capability/types/types.go b/x/capability/types/types.go index 2dcceb8c88..e298c34cd0 100644 --- a/x/capability/types/types.go +++ b/x/capability/types/types.go @@ -6,7 +6,7 @@ import ( yaml "gopkg.in/yaml.v2" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // NewCapability returns a reference to a new Capability to be used as an diff --git a/x/capability/types/types_test.go b/x/capability/types/types_test.go index 8cec569d2f..a83b6fff0e 100644 --- a/x/capability/types/types_test.go +++ b/x/capability/types/types_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/line/lbm-sdk/v2/x/capability/types" ) func TestCapabilityKey(t *testing.T) { diff --git a/x/crisis/abci.go b/x/crisis/abci.go index fa1b932b8f..36394ecba3 100644 --- a/x/crisis/abci.go +++ b/x/crisis/abci.go @@ -3,10 +3,10 @@ package crisis import ( "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/crisis/keeper" + "github.com/line/lbm-sdk/v2/x/crisis/types" ) // check all registered invariants diff --git a/x/crisis/client/cli/cli_test.go b/x/crisis/client/cli/cli_test.go index 92b4396149..87275fd518 100644 --- a/x/crisis/client/cli/cli_test.go +++ b/x/crisis/client/cli/cli_test.go @@ -9,11 +9,11 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/client/cli" + "github.com/line/lbm-sdk/v2/client/flags" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/crisis/client/cli" ) type IntegrationTestSuite struct { diff --git a/x/crisis/client/cli/tx.go b/x/crisis/client/cli/tx.go index c18231724e..d486d2116c 100644 --- a/x/crisis/client/cli/tx.go +++ b/x/crisis/client/cli/tx.go @@ -5,10 +5,10 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/x/crisis/types" ) // NewTxCmd returns a root CLI command handler for all x/crisis transaction commands. diff --git a/x/crisis/handler.go b/x/crisis/handler.go index 0e6cf985f8..6fd85146fd 100644 --- a/x/crisis/handler.go +++ b/x/crisis/handler.go @@ -1,9 +1,9 @@ package crisis import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/crisis/types" ) // RouterKey diff --git a/x/crisis/handler_test.go b/x/crisis/handler_test.go index dcde377f6d..63565b85e5 100644 --- a/x/crisis/handler_test.go +++ b/x/crisis/handler_test.go @@ -9,14 +9,14 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - "github.com/cosmos/cosmos-sdk/x/crisis/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/crisis" + "github.com/line/lbm-sdk/v2/x/crisis/types" + distrtypes "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/crisis/keeper/genesis.go b/x/crisis/keeper/genesis.go index 8420201d4e..bd5051be3b 100644 --- a/x/crisis/keeper/genesis.go +++ b/x/crisis/keeper/genesis.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/crisis/types" ) // new crisis genesis diff --git a/x/crisis/keeper/keeper.go b/x/crisis/keeper/keeper.go index b9c563d529..de49225617 100644 --- a/x/crisis/keeper/keeper.go +++ b/x/crisis/keeper/keeper.go @@ -6,9 +6,9 @@ import ( "github.com/tendermint/tendermint/libs/log" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/crisis/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Keeper - crisis keeper diff --git a/x/crisis/keeper/keeper_test.go b/x/crisis/keeper/keeper_test.go index 563c0e4b10..e7d2301e2e 100644 --- a/x/crisis/keeper/keeper_test.go +++ b/x/crisis/keeper/keeper_test.go @@ -7,8 +7,8 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestLogger(t *testing.T) { diff --git a/x/crisis/keeper/msg_server.go b/x/crisis/keeper/msg_server.go index 304f8b1724..7b6c932b81 100644 --- a/x/crisis/keeper/msg_server.go +++ b/x/crisis/keeper/msg_server.go @@ -3,8 +3,8 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/crisis/types" ) var _ types.MsgServer = Keeper{} diff --git a/x/crisis/keeper/params.go b/x/crisis/keeper/params.go index d44efa4ebf..546bcbd4f0 100644 --- a/x/crisis/keeper/params.go +++ b/x/crisis/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/crisis/types" ) // GetConstantFee get's the constant fee from the paramSpace diff --git a/x/crisis/legacy/v039/types.go b/x/crisis/legacy/v039/types.go index 44903e3491..1ce8a01edc 100644 --- a/x/crisis/legacy/v039/types.go +++ b/x/crisis/legacy/v039/types.go @@ -1,6 +1,6 @@ package v039 -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/line/lbm-sdk/v2/types" const ( ModuleName = "crisis" diff --git a/x/crisis/legacy/v040/migrate.go b/x/crisis/legacy/v040/migrate.go index eb97ba9ee6..6b970e4c9e 100644 --- a/x/crisis/legacy/v040/migrate.go +++ b/x/crisis/legacy/v040/migrate.go @@ -1,8 +1,8 @@ package v040 import ( - v039crisis "github.com/cosmos/cosmos-sdk/x/crisis/legacy/v039" - v040crisis "github.com/cosmos/cosmos-sdk/x/crisis/types" + v039crisis "github.com/line/lbm-sdk/v2/x/crisis/legacy/v039" + v040crisis "github.com/line/lbm-sdk/v2/x/crisis/types" ) // Migrate accepts exported v0.39 x/crisis genesis state and diff --git a/x/crisis/module.go b/x/crisis/module.go index 5d34c1ce28..dc243d6f97 100644 --- a/x/crisis/module.go +++ b/x/crisis/module.go @@ -10,15 +10,15 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/crisis/client/cli" - "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/crisis/client/cli" + "github.com/line/lbm-sdk/v2/x/crisis/keeper" + "github.com/line/lbm-sdk/v2/x/crisis/types" ) var ( diff --git a/x/crisis/types/codec.go b/x/crisis/types/codec.go index ac02c54630..07b45036b3 100644 --- a/x/crisis/types/codec.go +++ b/x/crisis/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" ) // RegisterLegacyAminoCodec registers the necessary x/crisis interfaces and concrete types diff --git a/x/crisis/types/errors.go b/x/crisis/types/errors.go index cf8c4901b3..7817dc4416 100644 --- a/x/crisis/types/errors.go +++ b/x/crisis/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/crisis module sentinel errors diff --git a/x/crisis/types/expected_keepers.go b/x/crisis/types/expected_keepers.go index 3cd0e9e7f5..7a313a7c58 100644 --- a/x/crisis/types/expected_keepers.go +++ b/x/crisis/types/expected_keepers.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // SupplyKeeper defines the expected supply keeper (noalias) diff --git a/x/crisis/types/genesis.go b/x/crisis/types/genesis.go index f530991302..be89ab652c 100644 --- a/x/crisis/types/genesis.go +++ b/x/crisis/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewGenesisState creates a new GenesisState object diff --git a/x/crisis/types/genesis.pb.go b/x/crisis/types/genesis.pb.go index 06a870ff71..4e744bbc9c 100644 --- a/x/crisis/types/genesis.pb.go +++ b/x/crisis/types/genesis.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/types" io "io" math "math" math_bits "math/bits" diff --git a/x/crisis/types/msgs.go b/x/crisis/types/msgs.go index 6161a1d4b7..cfeccdc061 100644 --- a/x/crisis/types/msgs.go +++ b/x/crisis/types/msgs.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // ensure Msg interface compliance at compile time diff --git a/x/crisis/types/params.go b/x/crisis/types/params.go index 880f350f11..203cdace6e 100644 --- a/x/crisis/types/params.go +++ b/x/crisis/types/params.go @@ -3,8 +3,8 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/line/lbm-sdk/v2/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) var ( diff --git a/x/crisis/types/route.go b/x/crisis/types/route.go index 1096798e8c..67862a8e1e 100644 --- a/x/crisis/types/route.go +++ b/x/crisis/types/route.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // invariant route diff --git a/x/distribution/abci.go b/x/distribution/abci.go index 7c612c1665..8f225d1f2c 100644 --- a/x/distribution/abci.go +++ b/x/distribution/abci.go @@ -5,10 +5,10 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/keeper" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // BeginBlocker sets the proposer for determining distribution during endblock diff --git a/x/distribution/client/cli/cli_test.go b/x/distribution/client/cli/cli_test.go index 40331db7b9..b07c18a2de 100644 --- a/x/distribution/client/cli/cli_test.go +++ b/x/distribution/client/cli/cli_test.go @@ -13,15 +13,15 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - testnet "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" - distrtestutil "github.com/cosmos/cosmos-sdk/x/distribution/client/testutil" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + testnet "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/client/cli" + distrtestutil "github.com/line/lbm-sdk/v2/x/distribution/client/testutil" + minttypes "github.com/line/lbm-sdk/v2/x/mint/types" ) type IntegrationTestSuite struct { diff --git a/x/distribution/client/cli/query.go b/x/distribution/client/cli/query.go index 3b6032ce7b..704d5e9891 100644 --- a/x/distribution/client/cli/query.go +++ b/x/distribution/client/cli/query.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/distribution/client/cli/tx.go b/x/distribution/client/cli/tx.go index d62bcd21fa..00f2ef49ea 100644 --- a/x/distribution/client/cli/tx.go +++ b/x/distribution/client/cli/tx.go @@ -8,13 +8,13 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/distribution/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" ) // Transaction flags for the x/distribution module diff --git a/x/distribution/client/cli/tx_test.go b/x/distribution/client/cli/tx_test.go index 36a946e7cc..7348f8bd7d 100644 --- a/x/distribution/client/cli/tx_test.go +++ b/x/distribution/client/cli/tx_test.go @@ -5,17 +5,17 @@ import ( "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/simapp/params" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/simapp/params" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/testutil/testdata" "github.com/stretchr/testify/require" "github.com/stretchr/testify/assert" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_splitAndCall_NoMessages(t *testing.T) { diff --git a/x/distribution/client/cli/utils.go b/x/distribution/client/cli/utils.go index fe531e49b9..3e4bd03102 100644 --- a/x/distribution/client/cli/utils.go +++ b/x/distribution/client/cli/utils.go @@ -3,8 +3,8 @@ package cli import ( "io/ioutil" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // ParseCommunityPoolSpendProposalWithDeposit reads and parses a CommunityPoolSpendProposalWithDeposit from a file. diff --git a/x/distribution/client/common/common.go b/x/distribution/client/common/common.go index a2d5fceda0..933c5c2fab 100644 --- a/x/distribution/client/common/common.go +++ b/x/distribution/client/common/common.go @@ -3,9 +3,9 @@ package common import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // QueryDelegationRewards queries a delegation rewards between a delegator and a diff --git a/x/distribution/client/common/common_test.go b/x/distribution/client/common/common_test.go index 6b3ecdd5cd..f45951a2b3 100644 --- a/x/distribution/client/common/common_test.go +++ b/x/distribution/client/common/common_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) func TestQueryDelegationRewardsAddrValidation(t *testing.T) { diff --git a/x/distribution/client/proposal_handler.go b/x/distribution/client/proposal_handler.go index 517f508bff..7165d73f97 100644 --- a/x/distribution/client/proposal_handler.go +++ b/x/distribution/client/proposal_handler.go @@ -1,9 +1,9 @@ package client import ( - "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" - "github.com/cosmos/cosmos-sdk/x/distribution/client/rest" - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" + "github.com/line/lbm-sdk/v2/x/distribution/client/cli" + "github.com/line/lbm-sdk/v2/x/distribution/client/rest" + govclient "github.com/line/lbm-sdk/v2/x/gov/client" ) // ProposalHandler is the community spend proposal handler. diff --git a/x/distribution/client/rest/grpc_query_test.go b/x/distribution/client/rest/grpc_query_test.go index 639c7cb7d8..67a28445e1 100644 --- a/x/distribution/client/rest/grpc_query_test.go +++ b/x/distribution/client/rest/grpc_query_test.go @@ -7,13 +7,13 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) type IntegrationTestSuite struct { diff --git a/x/distribution/client/rest/query.go b/x/distribution/client/rest/query.go index 0fb923afc9..eec6c4fec3 100644 --- a/x/distribution/client/rest/query.go +++ b/x/distribution/client/rest/query.go @@ -6,12 +6,12 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/x/distribution/client/common" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/x/distribution/client/common" + "github.com/line/lbm-sdk/v2/x/distribution/types" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { diff --git a/x/distribution/client/rest/rest.go b/x/distribution/client/rest/rest.go index 3fdcef89e1..d51462729e 100644 --- a/x/distribution/client/rest/rest.go +++ b/x/distribution/client/rest/rest.go @@ -5,13 +5,13 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + clientrest "github.com/line/lbm-sdk/v2/client/rest" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/distribution/types" + govrest "github.com/line/lbm-sdk/v2/x/gov/client/rest" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" ) func RegisterHandlers(clientCtx client.Context, rtr *mux.Router) { diff --git a/x/distribution/client/rest/tx.go b/x/distribution/client/rest/tx.go index 675be4af1a..e31fe14739 100644 --- a/x/distribution/client/rest/tx.go +++ b/x/distribution/client/rest/tx.go @@ -5,12 +5,12 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/distribution/client/common" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/distribution/client/common" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) type ( diff --git a/x/distribution/client/rest/utils.go b/x/distribution/client/rest/utils.go index 3f7a3d0020..72e987534f 100644 --- a/x/distribution/client/rest/utils.go +++ b/x/distribution/client/rest/utils.go @@ -1,8 +1,8 @@ package rest import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" ) type ( diff --git a/x/distribution/client/testutil/helpers.go b/x/distribution/client/testutil/helpers.go index 19612c23fe..dc4f88ab44 100644 --- a/x/distribution/client/testutil/helpers.go +++ b/x/distribution/client/testutil/helpers.go @@ -5,8 +5,8 @@ import ( "context" "fmt" - "github.com/cosmos/cosmos-sdk/client" - distrcli "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" + "github.com/line/lbm-sdk/v2/client" + distrcli "github.com/line/lbm-sdk/v2/x/distribution/client/cli" ) func MsgWithdrawDelegatorRewardExec(clientCtx client.Context, valAddr fmt.Stringer, extraArgs ...string) ([]byte, error) { diff --git a/x/distribution/handler.go b/x/distribution/handler.go index 279a6bf726..983fa1a895 100644 --- a/x/distribution/handler.go +++ b/x/distribution/handler.go @@ -1,11 +1,11 @@ package distribution import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/distribution/keeper" + "github.com/line/lbm-sdk/v2/x/distribution/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" ) func NewHandler(k keeper.Keeper) sdk.Handler { diff --git a/x/distribution/keeper/alias_functions.go b/x/distribution/keeper/alias_functions.go index 5d7f1b97f2..779f8178cb 100644 --- a/x/distribution/keeper/alias_functions.go +++ b/x/distribution/keeper/alias_functions.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // get outstanding rewards diff --git a/x/distribution/keeper/allocation.go b/x/distribution/keeper/allocation.go index 9436bada9d..094d2edd3b 100644 --- a/x/distribution/keeper/allocation.go +++ b/x/distribution/keeper/allocation.go @@ -5,9 +5,9 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // AllocateTokens handles distribution of the collected fees diff --git a/x/distribution/keeper/allocation_test.go b/x/distribution/keeper/allocation_test.go index 9d8b0012a5..9fb33bc81e 100644 --- a/x/distribution/keeper/allocation_test.go +++ b/x/distribution/keeper/allocation_test.go @@ -7,11 +7,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestAllocateTokensToValidatorWithCommission(t *testing.T) { diff --git a/x/distribution/keeper/common_test.go b/x/distribution/keeper/common_test.go index 807fd45c25..cd9b9a2fa0 100644 --- a/x/distribution/keeper/common_test.go +++ b/x/distribution/keeper/common_test.go @@ -1,10 +1,10 @@ package keeper_test import ( - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) var ( diff --git a/x/distribution/keeper/delegation.go b/x/distribution/keeper/delegation.go index 61631da5dc..a401f3f7e3 100644 --- a/x/distribution/keeper/delegation.go +++ b/x/distribution/keeper/delegation.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // initialize starting info for a new delegation diff --git a/x/distribution/keeper/delegation_test.go b/x/distribution/keeper/delegation_test.go index ac8ac4a334..b52b2ac220 100644 --- a/x/distribution/keeper/delegation_test.go +++ b/x/distribution/keeper/delegation_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestCalculateRewardsBasic(t *testing.T) { diff --git a/x/distribution/keeper/fee_pool.go b/x/distribution/keeper/fee_pool.go index a604750135..0720b677fa 100644 --- a/x/distribution/keeper/fee_pool.go +++ b/x/distribution/keeper/fee_pool.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // DistributeFromFeePool distributes funds from the distribution module account to diff --git a/x/distribution/keeper/genesis.go b/x/distribution/keeper/genesis.go index 4aa25671a3..9cff237576 100644 --- a/x/distribution/keeper/genesis.go +++ b/x/distribution/keeper/genesis.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // InitGenesis sets distribution information for genesis diff --git a/x/distribution/keeper/grpc_query.go b/x/distribution/keeper/grpc_query.go index 7991634fc4..9e52b01875 100644 --- a/x/distribution/keeper/grpc_query.go +++ b/x/distribution/keeper/grpc_query.go @@ -6,12 +6,12 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/distribution/keeper/grpc_query_test.go b/x/distribution/keeper/grpc_query_test.go index 4121440946..342f4e9525 100644 --- a/x/distribution/keeper/grpc_query_test.go +++ b/x/distribution/keeper/grpc_query_test.go @@ -8,14 +8,14 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/distribution/types" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) type KeeperTestSuite struct { diff --git a/x/distribution/keeper/hooks.go b/x/distribution/keeper/hooks.go index ba951ed1ac..fda1cd6b2d 100644 --- a/x/distribution/keeper/hooks.go +++ b/x/distribution/keeper/hooks.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // Wrapper struct diff --git a/x/distribution/keeper/invariants.go b/x/distribution/keeper/invariants.go index 0a23d36be8..a48c2fec0b 100644 --- a/x/distribution/keeper/invariants.go +++ b/x/distribution/keeper/invariants.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // register all distribution invariants diff --git a/x/distribution/keeper/keeper.go b/x/distribution/keeper/keeper.go index 0d5c32f78e..51c4de3128 100644 --- a/x/distribution/keeper/keeper.go +++ b/x/distribution/keeper/keeper.go @@ -5,11 +5,11 @@ import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/distribution/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Keeper of the distribution store diff --git a/x/distribution/keeper/keeper_test.go b/x/distribution/keeper/keeper_test.go index a8205dfdc1..47c0c4b7ae 100644 --- a/x/distribution/keeper/keeper_test.go +++ b/x/distribution/keeper/keeper_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) func TestSetWithdrawAddr(t *testing.T) { diff --git a/x/distribution/keeper/msg_server.go b/x/distribution/keeper/msg_server.go index bff869ee55..76c9bcb497 100644 --- a/x/distribution/keeper/msg_server.go +++ b/x/distribution/keeper/msg_server.go @@ -5,9 +5,9 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) type msgServer struct { diff --git a/x/distribution/keeper/params.go b/x/distribution/keeper/params.go index 23b4bbeb81..259dad65e8 100644 --- a/x/distribution/keeper/params.go +++ b/x/distribution/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // GetParams returns the total set of distribution parameters. diff --git a/x/distribution/keeper/proposal_handler.go b/x/distribution/keeper/proposal_handler.go index d96bfc6490..5b3c740f41 100644 --- a/x/distribution/keeper/proposal_handler.go +++ b/x/distribution/keeper/proposal_handler.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // HandleCommunityPoolSpendProposal is a handler for executing a passed community spend proposal diff --git a/x/distribution/keeper/querier.go b/x/distribution/keeper/querier.go index 71370e24ba..ff80c1ffc2 100644 --- a/x/distribution/keeper/querier.go +++ b/x/distribution/keeper/querier.go @@ -5,11 +5,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { diff --git a/x/distribution/keeper/querier_test.go b/x/distribution/keeper/querier_test.go index 9a3da854ab..280ea5d7b2 100644 --- a/x/distribution/keeper/querier_test.go +++ b/x/distribution/keeper/querier_test.go @@ -8,15 +8,15 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/distribution/keeper" + "github.com/line/lbm-sdk/v2/x/distribution/types" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) const custom = "custom" diff --git a/x/distribution/keeper/store.go b/x/distribution/keeper/store.go index 302e2ee81e..a94672617f 100644 --- a/x/distribution/keeper/store.go +++ b/x/distribution/keeper/store.go @@ -3,8 +3,8 @@ package keeper import ( gogotypes "github.com/gogo/protobuf/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // get the delegator withdraw address, defaulting to the delegator address diff --git a/x/distribution/keeper/validator.go b/x/distribution/keeper/validator.go index 3d1953c3b5..37b8f306ac 100644 --- a/x/distribution/keeper/validator.go +++ b/x/distribution/keeper/validator.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // initialize rewards for a new validator diff --git a/x/distribution/legacy/v034/types.go b/x/distribution/legacy/v034/types.go index 3ef672f4af..804df771f6 100644 --- a/x/distribution/legacy/v034/types.go +++ b/x/distribution/legacy/v034/types.go @@ -3,7 +3,7 @@ package v034 import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // ---------------------------------------------------------------------------- diff --git a/x/distribution/legacy/v036/migrate.go b/x/distribution/legacy/v036/migrate.go index 7cbe3b99cb..01a48e8088 100644 --- a/x/distribution/legacy/v036/migrate.go +++ b/x/distribution/legacy/v036/migrate.go @@ -1,7 +1,7 @@ package v036 import ( - v034distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v034" + v034distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v034" ) // Migrate accepts exported genesis state from v0.34 and migrates it to v0.36 diff --git a/x/distribution/legacy/v036/migrate_test.go b/x/distribution/legacy/v036/migrate_test.go index d0cd69e5e5..5b53988f8b 100644 --- a/x/distribution/legacy/v036/migrate_test.go +++ b/x/distribution/legacy/v036/migrate_test.go @@ -3,9 +3,9 @@ package v036 import ( "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/types" - v034distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v034" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/types" + v034distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v034" "github.com/stretchr/testify/require" ) diff --git a/x/distribution/legacy/v036/types.go b/x/distribution/legacy/v036/types.go index 1c43eb5acd..3243322371 100644 --- a/x/distribution/legacy/v036/types.go +++ b/x/distribution/legacy/v036/types.go @@ -6,11 +6,11 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - v034distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v034" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + v034distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v034" + "github.com/line/lbm-sdk/v2/x/distribution/types" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" ) // ---------------------------------------------------------------------------- diff --git a/x/distribution/legacy/v038/migrate.go b/x/distribution/legacy/v038/migrate.go index cd00668b1e..d32eeb1240 100644 --- a/x/distribution/legacy/v038/migrate.go +++ b/x/distribution/legacy/v038/migrate.go @@ -4,7 +4,7 @@ package v038 // nolint import ( - v036distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v036" + v036distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v036" ) // Migrate accepts exported genesis state from v0.36 or v0.37 and migrates it to diff --git a/x/distribution/legacy/v038/types.go b/x/distribution/legacy/v038/types.go index af7146418d..d8926b9582 100644 --- a/x/distribution/legacy/v038/types.go +++ b/x/distribution/legacy/v038/types.go @@ -1,9 +1,9 @@ package v038 import ( - sdk "github.com/cosmos/cosmos-sdk/types" - v034distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v034" - v036distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v036" + sdk "github.com/line/lbm-sdk/v2/types" + v034distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v034" + v036distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v036" ) // DONTCOVER diff --git a/x/distribution/legacy/v040/migrate.go b/x/distribution/legacy/v040/migrate.go index b0ba30bba8..5ab815cf3b 100644 --- a/x/distribution/legacy/v040/migrate.go +++ b/x/distribution/legacy/v040/migrate.go @@ -1,8 +1,8 @@ package v040 import ( - v038distribution "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v038" - v040distribution "github.com/cosmos/cosmos-sdk/x/distribution/types" + v038distribution "github.com/line/lbm-sdk/v2/x/distribution/legacy/v038" + v040distribution "github.com/line/lbm-sdk/v2/x/distribution/types" ) // Migrate accepts exported x/distribution genesis state from v0.38 and migrates it diff --git a/x/distribution/module.go b/x/distribution/module.go index 034be6d965..315f150843 100644 --- a/x/distribution/module.go +++ b/x/distribution/module.go @@ -12,18 +12,18 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - sdkclient "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" - "github.com/cosmos/cosmos-sdk/x/distribution/client/rest" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + sdkclient "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + cdctypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/client/cli" + "github.com/line/lbm-sdk/v2/x/distribution/client/rest" + "github.com/line/lbm-sdk/v2/x/distribution/keeper" + "github.com/line/lbm-sdk/v2/x/distribution/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingkeeper "github.com/line/lbm-sdk/v2/x/staking/keeper" ) var ( diff --git a/x/distribution/module_test.go b/x/distribution/module_test.go index 113622d208..5b78625997 100644 --- a/x/distribution/module_test.go +++ b/x/distribution/module_test.go @@ -7,9 +7,9 @@ import ( abcitypes "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/simapp" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/x/distribution/proposal_handler_test.go b/x/distribution/proposal_handler_test.go index 575dbb199c..033b7be8c0 100644 --- a/x/distribution/proposal_handler_test.go +++ b/x/distribution/proposal_handler_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/distribution" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) var ( diff --git a/x/distribution/simulation/decoder.go b/x/distribution/simulation/decoder.go index a2be7dc188..2af8b49b45 100644 --- a/x/distribution/simulation/decoder.go +++ b/x/distribution/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/distribution/simulation/decoder_test.go b/x/distribution/simulation/decoder_test.go index 7a705f97da..383d263330 100644 --- a/x/distribution/simulation/decoder_test.go +++ b/x/distribution/simulation/decoder_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/distribution/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/distribution/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) var ( diff --git a/x/distribution/simulation/genesis.go b/x/distribution/simulation/genesis.go index 3f64d5c01e..7f53077488 100644 --- a/x/distribution/simulation/genesis.go +++ b/x/distribution/simulation/genesis.go @@ -7,9 +7,9 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // Simulation parameter constants diff --git a/x/distribution/simulation/genesis_test.go b/x/distribution/simulation/genesis_test.go index e923fbd4c8..3db569e002 100644 --- a/x/distribution/simulation/genesis_test.go +++ b/x/distribution/simulation/genesis_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/distribution/simulation/operations.go b/x/distribution/simulation/operations.go index 09090d1f64..731e7e0f11 100644 --- a/x/distribution/simulation/operations.go +++ b/x/distribution/simulation/operations.go @@ -4,16 +4,16 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/simulation" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp/helpers" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/keeper" + "github.com/line/lbm-sdk/v2/x/distribution/types" + "github.com/line/lbm-sdk/v2/x/simulation" + stakingkeeper "github.com/line/lbm-sdk/v2/x/staking/keeper" ) // Simulation operation weights constants diff --git a/x/distribution/simulation/operations_test.go b/x/distribution/simulation/operations_test.go index 4a3dff3087..666765ac49 100644 --- a/x/distribution/simulation/operations_test.go +++ b/x/distribution/simulation/operations_test.go @@ -8,14 +8,14 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/types" + distrtypes "github.com/line/lbm-sdk/v2/x/distribution/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // TestWeightedOperations tests the weights of the operations. diff --git a/x/distribution/simulation/params.go b/x/distribution/simulation/params.go index 98fcec342f..d7526023db 100644 --- a/x/distribution/simulation/params.go +++ b/x/distribution/simulation/params.go @@ -6,10 +6,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/types" ) const ( diff --git a/x/distribution/simulation/params_test.go b/x/distribution/simulation/params_test.go index d28ee9076a..1e48f1844f 100644 --- a/x/distribution/simulation/params_test.go +++ b/x/distribution/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/distribution/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/simulation" ) func TestParamChanges(t *testing.T) { diff --git a/x/distribution/simulation/proposals.go b/x/distribution/simulation/proposals.go index 719229cb96..56716ae4b5 100644 --- a/x/distribution/simulation/proposals.go +++ b/x/distribution/simulation/proposals.go @@ -3,12 +3,12 @@ package simulation import ( "math/rand" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/keeper" + "github.com/line/lbm-sdk/v2/x/distribution/types" + "github.com/line/lbm-sdk/v2/x/simulation" ) // OpWeightSubmitCommunitySpendProposal app params key for community spend proposal diff --git a/x/distribution/simulation/proposals_test.go b/x/distribution/simulation/proposals_test.go index 6d5895ea8d..85de9393a8 100644 --- a/x/distribution/simulation/proposals_test.go +++ b/x/distribution/simulation/proposals_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/simulation" + "github.com/line/lbm-sdk/v2/simapp" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/distribution/simulation" ) func TestProposalContents(t *testing.T) { diff --git a/x/distribution/types/codec.go b/x/distribution/types/codec.go index 73aca45060..89f2830519 100644 --- a/x/distribution/types/codec.go +++ b/x/distribution/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" ) // RegisterLegacyAminoCodec registers the necessary x/distribution interfaces and concrete types diff --git a/x/distribution/types/common_test.go b/x/distribution/types/common_test.go index 4e6ef6b012..95af8cf7ad 100644 --- a/x/distribution/types/common_test.go +++ b/x/distribution/types/common_test.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // nolint:deadcode,unused,varcheck diff --git a/x/distribution/types/delegator.go b/x/distribution/types/delegator.go index 8508786607..aca0614838 100644 --- a/x/distribution/types/delegator.go +++ b/x/distribution/types/delegator.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // create a new DelegatorStartingInfo diff --git a/x/distribution/types/distribution.pb.go b/x/distribution/types/distribution.pb.go index 2657160a6e..0f64e1be5c 100644 --- a/x/distribution/types/distribution.pb.go +++ b/x/distribution/types/distribution.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" io "io" math "math" math_bits "math/bits" @@ -27,9 +27,9 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the set of params for the distribution module. type Params struct { - CommunityTax github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=community_tax,json=communityTax,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"community_tax" yaml:"community_tax"` - BaseProposerReward github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=base_proposer_reward,json=baseProposerReward,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_proposer_reward" yaml:"base_proposer_reward"` - BonusProposerReward github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=bonus_proposer_reward,json=bonusProposerReward,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"bonus_proposer_reward" yaml:"bonus_proposer_reward"` + CommunityTax github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=community_tax,json=communityTax,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"community_tax" yaml:"community_tax"` + BaseProposerReward github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=base_proposer_reward,json=baseProposerReward,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"base_proposer_reward" yaml:"base_proposer_reward"` + BonusProposerReward github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=bonus_proposer_reward,json=bonusProposerReward,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"bonus_proposer_reward" yaml:"bonus_proposer_reward"` WithdrawAddrEnabled bool `protobuf:"varint,4,opt,name=withdraw_addr_enabled,json=withdrawAddrEnabled,proto3" json:"withdraw_addr_enabled,omitempty" yaml:"withdraw_addr_enabled"` } @@ -85,7 +85,7 @@ func (m *Params) GetWithdrawAddrEnabled() bool { // read that record) // + one per validator for the zeroeth period, set on initialization type ValidatorHistoricalRewards struct { - CumulativeRewardRatio github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=cumulative_reward_ratio,json=cumulativeRewardRatio,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"cumulative_reward_ratio" yaml:"cumulative_reward_ratio"` + CumulativeRewardRatio github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=cumulative_reward_ratio,json=cumulativeRewardRatio,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"cumulative_reward_ratio" yaml:"cumulative_reward_ratio"` ReferenceCount uint32 `protobuf:"varint,2,opt,name=reference_count,json=referenceCount,proto3" json:"reference_count,omitempty" yaml:"reference_count"` } @@ -140,7 +140,7 @@ func (m *ValidatorHistoricalRewards) GetReferenceCount() uint32 { // period for a validator kept as a running counter and incremented // each block as long as the validator's tokens remain constant. type ValidatorCurrentRewards struct { - Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"` + Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"rewards"` Period uint64 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` } @@ -194,7 +194,7 @@ func (m *ValidatorCurrentRewards) GetPeriod() uint64 { // ValidatorAccumulatedCommission represents accumulated commission // for a validator kept as a running counter, can be withdrawn at any time. type ValidatorAccumulatedCommission struct { - Commission github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=commission,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"commission"` + Commission github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=commission,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"commission"` } func (m *ValidatorAccumulatedCommission) Reset() { *m = ValidatorAccumulatedCommission{} } @@ -240,7 +240,7 @@ func (m *ValidatorAccumulatedCommission) GetCommission() github_com_cosmos_cosmo // ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards // for a validator inexpensive to track, allows simple sanity checks. type ValidatorOutstandingRewards struct { - Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards" yaml:"rewards"` + Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"rewards" yaml:"rewards"` } func (m *ValidatorOutstandingRewards) Reset() { *m = ValidatorOutstandingRewards{} } @@ -289,7 +289,7 @@ func (m *ValidatorOutstandingRewards) GetRewards() github_com_cosmos_cosmos_sdk_ // for delegations which are withdrawn after a slash has occurred. type ValidatorSlashEvent struct { ValidatorPeriod uint64 `protobuf:"varint,1,opt,name=validator_period,json=validatorPeriod,proto3" json:"validator_period,omitempty" yaml:"validator_period"` - Fraction github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=fraction,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fraction"` + Fraction github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=fraction,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"fraction"` } func (m *ValidatorSlashEvent) Reset() { *m = ValidatorSlashEvent{} } @@ -378,7 +378,7 @@ func (m *ValidatorSlashEvents) GetValidatorSlashEvents() []ValidatorSlashEvent { // FeePool is the global fee pool for distribution. type FeePool struct { - CommunityPool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=community_pool,json=communityPool,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"community_pool" yaml:"community_pool"` + CommunityPool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=community_pool,json=communityPool,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"community_pool" yaml:"community_pool"` } func (m *FeePool) Reset() { *m = FeePool{} } @@ -428,7 +428,7 @@ type CommunityPoolSpendProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"amount"` } func (m *CommunityPoolSpendProposal) Reset() { *m = CommunityPoolSpendProposal{} } @@ -471,7 +471,7 @@ var xxx_messageInfo_CommunityPoolSpendProposal proto.InternalMessageInfo // thus sdk.Dec is used. type DelegatorStartingInfo struct { PreviousPeriod uint64 `protobuf:"varint,1,opt,name=previous_period,json=previousPeriod,proto3" json:"previous_period,omitempty" yaml:"previous_period"` - Stake github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=stake,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"stake" yaml:"stake"` + Stake github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=stake,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"stake" yaml:"stake"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"creation_height" yaml:"creation_height"` } @@ -526,7 +526,7 @@ func (m *DelegatorStartingInfo) GetHeight() uint64 { // of a delegator's delegation reward. type DelegationDelegatorReward struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` - Reward github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=reward,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"reward"` + Reward github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=reward,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"reward"` } func (m *DelegationDelegatorReward) Reset() { *m = DelegationDelegatorReward{} } diff --git a/x/distribution/types/errors.go b/x/distribution/types/errors.go index 147cfd3203..a9ae45677c 100644 --- a/x/distribution/types/errors.go +++ b/x/distribution/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/distribution module sentinel errors diff --git a/x/distribution/types/expected_keepers.go b/x/distribution/types/expected_keepers.go index 29346d3908..8f37d3a57a 100644 --- a/x/distribution/types/expected_keepers.go +++ b/x/distribution/types/expected_keepers.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // AccountKeeper defines the expected account keeper used for simulations (noalias) diff --git a/x/distribution/types/fee_pool.go b/x/distribution/types/fee_pool.go index 645afd401a..3e7c92b43a 100644 --- a/x/distribution/types/fee_pool.go +++ b/x/distribution/types/fee_pool.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // zero fee pool diff --git a/x/distribution/types/fee_pool_test.go b/x/distribution/types/fee_pool_test.go index ebf5bc4b02..f9d9465973 100644 --- a/x/distribution/types/fee_pool_test.go +++ b/x/distribution/types/fee_pool_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestValidateGenesis(t *testing.T) { diff --git a/x/distribution/types/genesis.go b/x/distribution/types/genesis.go index 3aa251bba9..18d7a8a2e2 100644 --- a/x/distribution/types/genesis.go +++ b/x/distribution/types/genesis.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) //nolint:interfacer diff --git a/x/distribution/types/genesis.pb.go b/x/distribution/types/genesis.pb.go index 5c94d4359f..4cd1c9cfaa 100644 --- a/x/distribution/types/genesis.pb.go +++ b/x/distribution/types/genesis.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" io "io" math "math" math_bits "math/bits" @@ -73,7 +73,7 @@ type ValidatorOutstandingRewardsRecord struct { // validator_address is the address of the validator. ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` // outstanding_rewards represents the oustanding rewards of a validator. - OutstandingRewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=outstanding_rewards,json=outstandingRewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"outstanding_rewards" yaml:"outstanding_rewards"` + OutstandingRewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=outstanding_rewards,json=outstandingRewards,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"outstanding_rewards" yaml:"outstanding_rewards"` } func (m *ValidatorOutstandingRewardsRecord) Reset() { *m = ValidatorOutstandingRewardsRecord{} } diff --git a/x/distribution/types/keys.go b/x/distribution/types/keys.go index 12fe9b17b9..1091fede8a 100644 --- a/x/distribution/types/keys.go +++ b/x/distribution/types/keys.go @@ -3,7 +3,7 @@ package types import ( "encoding/binary" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/distribution/types/msg.go b/x/distribution/types/msg.go index 8dc72081e9..71cf7d4050 100644 --- a/x/distribution/types/msg.go +++ b/x/distribution/types/msg.go @@ -2,8 +2,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // distribution message types diff --git a/x/distribution/types/msg_test.go b/x/distribution/types/msg_test.go index 324626178d..36b45a98a8 100644 --- a/x/distribution/types/msg_test.go +++ b/x/distribution/types/msg_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // test ValidateBasic for MsgSetWithdrawAddress diff --git a/x/distribution/types/params.go b/x/distribution/types/params.go index ecd04ece67..743bb15fcc 100644 --- a/x/distribution/types/params.go +++ b/x/distribution/types/params.go @@ -5,8 +5,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/line/lbm-sdk/v2/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Parameter keys diff --git a/x/distribution/types/params_test.go b/x/distribution/types/params_test.go index cf25016047..b1f906c057 100644 --- a/x/distribution/types/params_test.go +++ b/x/distribution/types/params_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func Test_validateAuxFuncs(t *testing.T) { diff --git a/x/distribution/types/proposal.go b/x/distribution/types/proposal.go index 1a0d0a886e..af2a1d30b3 100644 --- a/x/distribution/types/proposal.go +++ b/x/distribution/types/proposal.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" ) const ( diff --git a/x/distribution/types/querier.go b/x/distribution/types/querier.go index fb9fd4677d..93c37d552e 100644 --- a/x/distribution/types/querier.go +++ b/x/distribution/types/querier.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // querier keys diff --git a/x/distribution/types/query.go b/x/distribution/types/query.go index caaf2b7860..90b3f45f83 100644 --- a/x/distribution/types/query.go +++ b/x/distribution/types/query.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // QueryDelegatorTotalRewardsResponse defines the properties of diff --git a/x/distribution/types/query.pb.go b/x/distribution/types/query.pb.go index 47acd5e73c..fe42bd37e6 100644 --- a/x/distribution/types/query.pb.go +++ b/x/distribution/types/query.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" + query "github.com/line/lbm-sdk/v2/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -454,7 +454,7 @@ var xxx_messageInfo_QueryDelegationRewardsRequest proto.InternalMessageInfo // Query/DelegationRewards RPC method. type QueryDelegationRewardsResponse struct { // rewards defines the rewards accrued by a delegation. - Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"` + Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"rewards"` } func (m *QueryDelegationRewardsResponse) Reset() { *m = QueryDelegationRewardsResponse{} } @@ -543,7 +543,7 @@ type QueryDelegationTotalRewardsResponse struct { // rewards defines all the rewards accrued by a delegator. Rewards []DelegationDelegatorReward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards"` // total defines the sum of all the rewards. - Total github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=total,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"total"` + Total github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=total,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"total"` } func (m *QueryDelegationTotalRewardsResponse) Reset() { *m = QueryDelegationTotalRewardsResponse{} } @@ -795,7 +795,7 @@ var xxx_messageInfo_QueryCommunityPoolRequest proto.InternalMessageInfo // RPC method. type QueryCommunityPoolResponse struct { // pool defines community pool's coins. - Pool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=pool,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"pool"` + Pool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=pool,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.DecCoins" json:"pool"` } func (m *QueryCommunityPoolResponse) Reset() { *m = QueryCommunityPoolResponse{} } diff --git a/x/distribution/types/tx.pb.go b/x/distribution/types/tx.pb.go index 55cfce4e78..7ba8c738ba 100644 --- a/x/distribution/types/tx.pb.go +++ b/x/distribution/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -265,7 +265,7 @@ var xxx_messageInfo_MsgWithdrawValidatorCommissionResponse proto.InternalMessage // MsgFundCommunityPool allows an account to directly // fund the community pool. type MsgFundCommunityPool struct { - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"amount"` Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` } diff --git a/x/distribution/types/validator.go b/x/distribution/types/validator.go index aa64a37030..42a22fc29b 100644 --- a/x/distribution/types/validator.go +++ b/x/distribution/types/validator.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // create a new ValidatorHistoricalRewards diff --git a/x/evidence/abci.go b/x/evidence/abci.go index 63866fd2bc..6200d9f074 100644 --- a/x/evidence/abci.go +++ b/x/evidence/abci.go @@ -6,10 +6,10 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/keeper" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) // BeginBlocker iterates through and handles any newly discovered evidence of diff --git a/x/evidence/client/cli/cli_test.go b/x/evidence/client/cli/cli_test.go index 84b3697b43..929a14f40d 100644 --- a/x/evidence/client/cli/cli_test.go +++ b/x/evidence/client/cli/cli_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/suite" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - testnet "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/evidence/client/cli" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + testnet "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/x/evidence/client/cli" ) type IntegrationTestSuite struct { diff --git a/x/evidence/client/cli/query.go b/x/evidence/client/cli/query.go index 9c987fb15e..c27eb9c2ce 100644 --- a/x/evidence/client/cli/query.go +++ b/x/evidence/client/cli/query.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) // GetQueryCmd returns the CLI command with all evidence module query commands diff --git a/x/evidence/client/cli/tx.go b/x/evidence/client/cli/tx.go index f13e3e8e2f..538cbdcb89 100644 --- a/x/evidence/client/cli/tx.go +++ b/x/evidence/client/cli/tx.go @@ -1,8 +1,8 @@ package cli import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/evidence/types" "github.com/spf13/cobra" ) diff --git a/x/evidence/client/evidence_handler.go b/x/evidence/client/evidence_handler.go index 7cada571cc..e78ebf02a4 100644 --- a/x/evidence/client/evidence_handler.go +++ b/x/evidence/client/evidence_handler.go @@ -3,8 +3,8 @@ package client import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/evidence/client/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/evidence/client/rest" ) type ( diff --git a/x/evidence/client/rest/query.go b/x/evidence/client/rest/query.go index 21ae8b7bb3..24884d579d 100644 --- a/x/evidence/client/rest/query.go +++ b/x/evidence/client/rest/query.go @@ -6,9 +6,9 @@ import ( "net/http" "strings" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/evidence/types" "github.com/gorilla/mux" ) diff --git a/x/evidence/client/rest/rest.go b/x/evidence/client/rest/rest.go index f2714cc7ba..4e14581b68 100644 --- a/x/evidence/client/rest/rest.go +++ b/x/evidence/client/rest/rest.go @@ -3,8 +3,8 @@ package rest import ( "net/http" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/rest" "github.com/gorilla/mux" ) diff --git a/x/evidence/client/rest/tx.go b/x/evidence/client/rest/tx.go index 0c3c0966a3..ee1ee1e78c 100644 --- a/x/evidence/client/rest/tx.go +++ b/x/evidence/client/rest/tx.go @@ -1,7 +1,7 @@ package rest import ( - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" "github.com/gorilla/mux" ) diff --git a/x/evidence/exported/evidence.go b/x/evidence/exported/evidence.go index 8cf00fa6a9..f6d63f3deb 100644 --- a/x/evidence/exported/evidence.go +++ b/x/evidence/exported/evidence.go @@ -4,7 +4,7 @@ import ( "github.com/gogo/protobuf/proto" tmbytes "github.com/tendermint/tendermint/libs/bytes" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // Evidence defines the contract which concrete evidence types of misbehavior diff --git a/x/evidence/genesis.go b/x/evidence/genesis.go index 2be3fee882..1d79e389fc 100644 --- a/x/evidence/genesis.go +++ b/x/evidence/genesis.go @@ -5,11 +5,11 @@ import ( "github.com/gogo/protobuf/proto" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/keeper" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) // InitGenesis initializes the evidence module's state from a provided genesis diff --git a/x/evidence/genesis_test.go b/x/evidence/genesis_test.go index 3ae8eee03c..189c5cbbfa 100644 --- a/x/evidence/genesis_test.go +++ b/x/evidence/genesis_test.go @@ -8,13 +8,13 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" "github.com/tendermint/tendermint/types/time" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/keeper" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) type GenesisTestSuite struct { diff --git a/x/evidence/handler.go b/x/evidence/handler.go index 93da4d7bf5..d2fa95c668 100644 --- a/x/evidence/handler.go +++ b/x/evidence/handler.go @@ -1,10 +1,10 @@ package evidence import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/evidence/keeper" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) // NewHandler returns a handler for evidence messages. diff --git a/x/evidence/handler_test.go b/x/evidence/handler_test.go index b3f95c300a..727d6d0307 100644 --- a/x/evidence/handler_test.go +++ b/x/evidence/handler_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/keeper" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) type HandlerTestSuite struct { diff --git a/x/evidence/keeper/grpc_query.go b/x/evidence/keeper/grpc_query.go index f084c16717..1bd3f459c7 100644 --- a/x/evidence/keeper/grpc_query.go +++ b/x/evidence/keeper/grpc_query.go @@ -6,14 +6,14 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/line/lbm-sdk/v2/store/prefix" + "github.com/line/lbm-sdk/v2/types/query" proto "github.com/gogo/protobuf/proto" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/evidence/keeper/grpc_query_test.go b/x/evidence/keeper/grpc_query_test.go index df760c8edf..18760f4fda 100644 --- a/x/evidence/keeper/grpc_query_test.go +++ b/x/evidence/keeper/grpc_query_test.go @@ -3,10 +3,10 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" tmbytes "github.com/tendermint/tendermint/libs/bytes" ) diff --git a/x/evidence/keeper/infraction.go b/x/evidence/keeper/infraction.go index 427c8de429..84dfb57388 100644 --- a/x/evidence/keeper/infraction.go +++ b/x/evidence/keeper/infraction.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) // HandleEquivocationEvidence implements an equivocation evidence handler. Assuming the diff --git a/x/evidence/keeper/infraction_test.go b/x/evidence/keeper/infraction_test.go index 0f1adee14f..ef2ad93f32 100644 --- a/x/evidence/keeper/infraction_test.go +++ b/x/evidence/keeper/infraction_test.go @@ -3,10 +3,10 @@ package keeper_test import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/types" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" ) func (suite *KeeperTestSuite) TestHandleDoubleSign() { diff --git a/x/evidence/keeper/keeper.go b/x/evidence/keeper/keeper.go index aa660bcff1..174991a53f 100644 --- a/x/evidence/keeper/keeper.go +++ b/x/evidence/keeper/keeper.go @@ -6,12 +6,12 @@ import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) // Keeper defines the evidence module's keeper. The keeper is responsible for diff --git a/x/evidence/keeper/keeper_test.go b/x/evidence/keeper/keeper_test.go index 9165730466..87d4dfb1f0 100644 --- a/x/evidence/keeper/keeper_test.go +++ b/x/evidence/keeper/keeper_test.go @@ -8,17 +8,17 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/staking" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/keeper" + "github.com/line/lbm-sdk/v2/x/evidence/types" + "github.com/line/lbm-sdk/v2/x/staking" ) var ( diff --git a/x/evidence/keeper/msg_server.go b/x/evidence/keeper/msg_server.go index df3cabd4fe..2023577fe0 100644 --- a/x/evidence/keeper/msg_server.go +++ b/x/evidence/keeper/msg_server.go @@ -3,8 +3,8 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) type msgServer struct { diff --git a/x/evidence/keeper/querier.go b/x/evidence/keeper/querier.go index c1ae20d4d9..c3f96d89f5 100644 --- a/x/evidence/keeper/querier.go +++ b/x/evidence/keeper/querier.go @@ -1,12 +1,12 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/evidence/keeper/querier_test.go b/x/evidence/keeper/querier_test.go index 58a1ff81bb..b5e8cb5cc6 100644 --- a/x/evidence/keeper/querier_test.go +++ b/x/evidence/keeper/querier_test.go @@ -3,10 +3,10 @@ package keeper_test import ( "strings" - "github.com/cosmos/cosmos-sdk/simapp" + "github.com/line/lbm-sdk/v2/simapp" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/evidence/legacy/v038/types.go b/x/evidence/legacy/v038/types.go index 994f718ca5..24c4e8b022 100644 --- a/x/evidence/legacy/v038/types.go +++ b/x/evidence/legacy/v038/types.go @@ -8,8 +8,8 @@ import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) // Default parameter values diff --git a/x/evidence/legacy/v040/migrate.go b/x/evidence/legacy/v040/migrate.go index f848130f34..44e9deedbf 100644 --- a/x/evidence/legacy/v040/migrate.go +++ b/x/evidence/legacy/v040/migrate.go @@ -3,9 +3,9 @@ package v040 import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - v038evidence "github.com/cosmos/cosmos-sdk/x/evidence/legacy/v038" - v040evidence "github.com/cosmos/cosmos-sdk/x/evidence/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + v038evidence "github.com/line/lbm-sdk/v2/x/evidence/legacy/v038" + v040evidence "github.com/line/lbm-sdk/v2/x/evidence/types" ) func migrateEvidence(oldEvidence v038evidence.Evidence) *codectypes.Any { diff --git a/x/evidence/legacy/v040/migrate_test.go b/x/evidence/legacy/v040/migrate_test.go index 99260f0268..e85d2d93a7 100644 --- a/x/evidence/legacy/v040/migrate_test.go +++ b/x/evidence/legacy/v040/migrate_test.go @@ -5,11 +5,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - v038evidence "github.com/cosmos/cosmos-sdk/x/evidence/legacy/v038" - v040evidence "github.com/cosmos/cosmos-sdk/x/evidence/legacy/v040" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + v038evidence "github.com/line/lbm-sdk/v2/x/evidence/legacy/v038" + v040evidence "github.com/line/lbm-sdk/v2/x/evidence/legacy/v040" ) func TestMigrate(t *testing.T) { diff --git a/x/evidence/module.go b/x/evidence/module.go index 4367fe8d58..ff68e11c5e 100644 --- a/x/evidence/module.go +++ b/x/evidence/module.go @@ -13,18 +13,18 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - eviclient "github.com/cosmos/cosmos-sdk/x/evidence/client" - "github.com/cosmos/cosmos-sdk/x/evidence/client/cli" - "github.com/cosmos/cosmos-sdk/x/evidence/client/rest" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/simulation" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + eviclient "github.com/line/lbm-sdk/v2/x/evidence/client" + "github.com/line/lbm-sdk/v2/x/evidence/client/cli" + "github.com/line/lbm-sdk/v2/x/evidence/client/rest" + "github.com/line/lbm-sdk/v2/x/evidence/keeper" + "github.com/line/lbm-sdk/v2/x/evidence/simulation" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) var ( diff --git a/x/evidence/simulation/decoder.go b/x/evidence/simulation/decoder.go index d8c185fd04..acad9ba6c4 100644 --- a/x/evidence/simulation/decoder.go +++ b/x/evidence/simulation/decoder.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) type EvidenceUnmarshaler interface { diff --git a/x/evidence/simulation/decoder_test.go b/x/evidence/simulation/decoder_test.go index a63beae501..44152baedd 100644 --- a/x/evidence/simulation/decoder_test.go +++ b/x/evidence/simulation/decoder_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/evidence/simulation" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/evidence/simulation" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/evidence/simulation/genesis.go b/x/evidence/simulation/genesis.go index 640670ebe9..cc3311c524 100644 --- a/x/evidence/simulation/genesis.go +++ b/x/evidence/simulation/genesis.go @@ -7,10 +7,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) // Simulation parameter constants diff --git a/x/evidence/simulation/genesis_test.go b/x/evidence/simulation/genesis_test.go index 8cfa086adc..7a22a06169 100644 --- a/x/evidence/simulation/genesis_test.go +++ b/x/evidence/simulation/genesis_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/evidence/simulation" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/evidence/simulation" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/evidence/types/codec.go b/x/evidence/types/codec.go index 9de2743e38..666ea66ea5 100644 --- a/x/evidence/types/codec.go +++ b/x/evidence/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" + "github.com/line/lbm-sdk/v2/x/evidence/exported" ) // RegisterLegacyAminoCodec registers all the necessary types and interfaces for the diff --git a/x/evidence/types/errors.go b/x/evidence/types/errors.go index f448027091..b8705860df 100644 --- a/x/evidence/types/errors.go +++ b/x/evidence/types/errors.go @@ -2,7 +2,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/evidence module sentinel errors diff --git a/x/evidence/types/evidence.go b/x/evidence/types/evidence.go index fca6126ec3..dbb7907d18 100644 --- a/x/evidence/types/evidence.go +++ b/x/evidence/types/evidence.go @@ -9,8 +9,8 @@ import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/exported" ) // Evidence type constants diff --git a/x/evidence/types/evidence_test.go b/x/evidence/types/evidence_test.go index c78f0b059c..04f50923f5 100644 --- a/x/evidence/types/evidence_test.go +++ b/x/evidence/types/evidence_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) func TestEquivocation_Valid(t *testing.T) { diff --git a/x/evidence/types/expected_keepers.go b/x/evidence/types/expected_keepers.go index 0f1d87774c..c8122766c3 100644 --- a/x/evidence/types/expected_keepers.go +++ b/x/evidence/types/expected_keepers.go @@ -3,9 +3,9 @@ package types import ( "time" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) type ( diff --git a/x/evidence/types/genesis.go b/x/evidence/types/genesis.go index b274ea2071..1bc0cd2b25 100644 --- a/x/evidence/types/genesis.go +++ b/x/evidence/types/genesis.go @@ -5,8 +5,8 @@ import ( proto "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/x/evidence/exported" ) var _ types.UnpackInterfacesMessage = GenesisState{} diff --git a/x/evidence/types/genesis.pb.go b/x/evidence/types/genesis.pb.go index 672a0ce8cf..a8c877ecc5 100644 --- a/x/evidence/types/genesis.pb.go +++ b/x/evidence/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/evidence/types/genesis_test.go b/x/evidence/types/genesis_test.go index 339696c82e..d465f667c7 100644 --- a/x/evidence/types/genesis_test.go +++ b/x/evidence/types/genesis_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" tmbytes "github.com/tendermint/tendermint/libs/bytes" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) func TestDefaultGenesisState(t *testing.T) { diff --git a/x/evidence/types/msgs.go b/x/evidence/types/msgs.go index cd2e2ba032..dbb7786d4e 100644 --- a/x/evidence/types/msgs.go +++ b/x/evidence/types/msgs.go @@ -5,10 +5,10 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/evidence/exported" ) // Message types for the evidence module diff --git a/x/evidence/types/msgs_test.go b/x/evidence/types/msgs_test.go index 4248b0dfba..66f145ea45 100644 --- a/x/evidence/types/msgs_test.go +++ b/x/evidence/types/msgs_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) func testMsgSubmitEvidence(t *testing.T, e exported.Evidence, s sdk.AccAddress) exported.MsgSubmitEvidenceI { diff --git a/x/evidence/types/querier.go b/x/evidence/types/querier.go index 72f8a604d3..8a4141d14f 100644 --- a/x/evidence/types/querier.go +++ b/x/evidence/types/querier.go @@ -3,7 +3,7 @@ package types import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" - query "github.com/cosmos/cosmos-sdk/types/query" + query "github.com/line/lbm-sdk/v2/types/query" ) // Querier routes for the evidence module diff --git a/x/evidence/types/query.pb.go b/x/evidence/types/query.pb.go index e084ea29c8..5258407844 100644 --- a/x/evidence/types/query.pb.go +++ b/x/evidence/types/query.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + query "github.com/line/lbm-sdk/v2/types/query" github_com_tendermint_tendermint_libs_bytes "github.com/tendermint/tendermint/libs/bytes" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" diff --git a/x/evidence/types/router.go b/x/evidence/types/router.go index 343c72e41d..99574da9e3 100644 --- a/x/evidence/types/router.go +++ b/x/evidence/types/router.go @@ -3,8 +3,8 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/exported" ) type ( diff --git a/x/evidence/types/router_test.go b/x/evidence/types/router_test.go index 01e942e9ea..dfd099f4df 100644 --- a/x/evidence/types/router_test.go +++ b/x/evidence/types/router_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/evidence/exported" + "github.com/line/lbm-sdk/v2/x/evidence/types" ) func testHandler(sdk.Context, exported.Evidence) error { return nil } diff --git a/x/evidence/types/tx.pb.go b/x/evidence/types/tx.pb.go index 0cce8d2cbb..3c9c66bc5e 100644 --- a/x/evidence/types/tx.pb.go +++ b/x/evidence/types/tx.pb.go @@ -7,10 +7,10 @@ import ( bytes "bytes" context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" _ "github.com/regen-network/cosmos-proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/genaccounts/legacy/v034/types.go b/x/genaccounts/legacy/v034/types.go index 080b534d8e..c24cb17c57 100644 --- a/x/genaccounts/legacy/v034/types.go +++ b/x/genaccounts/legacy/v034/types.go @@ -3,7 +3,7 @@ package v034 import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/genaccounts/legacy/v036/migrate.go b/x/genaccounts/legacy/v036/migrate.go index 4da938aeaf..d0289833ea 100644 --- a/x/genaccounts/legacy/v036/migrate.go +++ b/x/genaccounts/legacy/v036/migrate.go @@ -5,11 +5,11 @@ package v036 import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - v034distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v034" - v034accounts "github.com/cosmos/cosmos-sdk/x/genaccounts/legacy/v034" - v034gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v034" - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" + sdk "github.com/line/lbm-sdk/v2/types" + v034distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v034" + v034accounts "github.com/line/lbm-sdk/v2/x/genaccounts/legacy/v034" + v034gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v034" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" "github.com/tendermint/tendermint/crypto" ) diff --git a/x/genaccounts/legacy/v036/migrate_test.go b/x/genaccounts/legacy/v036/migrate_test.go index 09f6bb3e69..c4553c9364 100644 --- a/x/genaccounts/legacy/v036/migrate_test.go +++ b/x/genaccounts/legacy/v036/migrate_test.go @@ -5,12 +5,12 @@ import ( "github.com/tendermint/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/types" - v034distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v034" - v034accounts "github.com/cosmos/cosmos-sdk/x/genaccounts/legacy/v034" - v034gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v034" - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/types" + v034distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v034" + v034accounts "github.com/line/lbm-sdk/v2/x/genaccounts/legacy/v034" + v034gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v034" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" "github.com/stretchr/testify/require" ) diff --git a/x/genaccounts/legacy/v036/types.go b/x/genaccounts/legacy/v036/types.go index 8d143e69d2..1d0e1cc3d1 100644 --- a/x/genaccounts/legacy/v036/types.go +++ b/x/genaccounts/legacy/v036/types.go @@ -3,7 +3,7 @@ package v036 import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/genutil/client/cli/collect.go b/x/genutil/client/cli/collect.go index cc86258368..c88eaebf81 100644 --- a/x/genutil/client/cli/collect.go +++ b/x/genutil/client/cli/collect.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/x/genutil" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/x/genutil" + "github.com/line/lbm-sdk/v2/x/genutil/types" ) const flagGenTxDir = "gentx-dir" diff --git a/x/genutil/client/cli/gentx.go b/x/genutil/client/cli/gentx.go index 42d957346f..2137423076 100644 --- a/x/genutil/client/cli/gentx.go +++ b/x/genutil/client/cli/gentx.go @@ -15,18 +15,18 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/version" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/genutil" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/server" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/version" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/genutil" + "github.com/line/lbm-sdk/v2/x/genutil/types" + "github.com/line/lbm-sdk/v2/x/staking/client/cli" ) // GenTxCmd builds the application's gentx command. diff --git a/x/genutil/client/cli/gentx_test.go b/x/genutil/client/cli/gentx_test.go index d15ee88962..26e370ddcd 100644 --- a/x/genutil/client/cli/gentx_test.go +++ b/x/genutil/client/cli/gentx_test.go @@ -10,15 +10,15 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/genutil/client/cli" + "github.com/line/lbm-sdk/v2/x/staking/types" ) type IntegrationTestSuite struct { diff --git a/x/genutil/client/cli/init.go b/x/genutil/client/cli/init.go index 074bb7da4e..d3a1fbd673 100644 --- a/x/genutil/client/cli/init.go +++ b/x/genutil/client/cli/init.go @@ -16,13 +16,13 @@ import ( tmrand "github.com/tendermint/tendermint/libs/rand" "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/input" + "github.com/line/lbm-sdk/v2/server" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/genutil" ) const ( diff --git a/x/genutil/client/cli/init_test.go b/x/genutil/client/cli/init_test.go index 80820052df..ecdbe57795 100644 --- a/x/genutil/client/cli/init_test.go +++ b/x/genutil/client/cli/init_test.go @@ -15,18 +15,18 @@ import ( "github.com/tendermint/tendermint/libs/cli" "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/server/mock" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/server/mock" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/genutil" + genutilcli "github.com/line/lbm-sdk/v2/x/genutil/client/cli" + genutiltest "github.com/line/lbm-sdk/v2/x/genutil/client/testutil" ) var testMbm = module.NewBasicManager(genutil.AppModuleBasic{}) diff --git a/x/genutil/client/cli/migrate.go b/x/genutil/client/cli/migrate.go index 483f4aaf10..b55b6df8eb 100644 --- a/x/genutil/client/cli/migrate.go +++ b/x/genutil/client/cli/migrate.go @@ -10,15 +10,15 @@ import ( "github.com/spf13/cobra" tmjson "github.com/tendermint/tendermint/libs/json" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - v036 "github.com/cosmos/cosmos-sdk/x/genutil/legacy/v036" - v038 "github.com/cosmos/cosmos-sdk/x/genutil/legacy/v038" - v039 "github.com/cosmos/cosmos-sdk/x/genutil/legacy/v039" - v040 "github.com/cosmos/cosmos-sdk/x/genutil/legacy/v040" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + v036 "github.com/line/lbm-sdk/v2/x/genutil/legacy/v036" + v038 "github.com/line/lbm-sdk/v2/x/genutil/legacy/v038" + v039 "github.com/line/lbm-sdk/v2/x/genutil/legacy/v039" + v040 "github.com/line/lbm-sdk/v2/x/genutil/legacy/v040" + "github.com/line/lbm-sdk/v2/x/genutil/types" ) const flagGenesisTime = "genesis-time" diff --git a/x/genutil/client/cli/migrate_test.go b/x/genutil/client/cli/migrate_test.go index d31f8962a9..1fb324126b 100644 --- a/x/genutil/client/cli/migrate_test.go +++ b/x/genutil/client/cli/migrate_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/x/genutil/client/cli" ) func TestGetMigrationCallback(t *testing.T) { diff --git a/x/genutil/client/cli/validate_genesis.go b/x/genutil/client/cli/validate_genesis.go index 0514cc66fd..c5d1451d14 100644 --- a/x/genutil/client/cli/validate_genesis.go +++ b/x/genutil/client/cli/validate_genesis.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cobra" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/types/module" ) const chainUpgradeGuide = "https://docs.cosmos.network/master/migrations/chain-upgrade-guide-040.html" diff --git a/x/genutil/client/cli/validate_genesis_test.go b/x/genutil/client/cli/validate_genesis_test.go index f62aa1b7a4..d02ae33e16 100644 --- a/x/genutil/client/cli/validate_genesis_test.go +++ b/x/genutil/client/cli/validate_genesis_test.go @@ -1,9 +1,9 @@ package cli_test import ( - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/x/genutil/client/cli" ) // An example exported genesis file from a 0.37 chain. Note that evidence diff --git a/x/genutil/client/rest/query.go b/x/genutil/client/rest/query.go index dddd2b75a5..4f9946e86b 100644 --- a/x/genutil/client/rest/query.go +++ b/x/genutil/client/rest/query.go @@ -5,10 +5,10 @@ import ( "fmt" "net/http" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/genutil/types" ) // QueryGenesisTxs writes the genesis transactions to the response if no error diff --git a/x/genutil/client/testutil/helpers.go b/x/genutil/client/testutil/helpers.go index 1fc4affb7d..38451fa9c0 100644 --- a/x/genutil/client/testutil/helpers.go +++ b/x/genutil/client/testutil/helpers.go @@ -9,12 +9,12 @@ import ( "github.com/tendermint/tendermint/libs/cli" "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/types/module" - genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/types/module" + genutilcli "github.com/line/lbm-sdk/v2/x/genutil/client/cli" ) func ExecInitCmd(testMbm module.BasicManager, home string, cdc codec.JSONMarshaler) error { diff --git a/x/genutil/collect.go b/x/genutil/collect.go index ea548a5d3d..afec6c9b19 100644 --- a/x/genutil/collect.go +++ b/x/genutil/collect.go @@ -16,12 +16,12 @@ import ( cfg "github.com/tendermint/tendermint/config" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + bankexported "github.com/line/lbm-sdk/v2/x/bank/exported" + "github.com/line/lbm-sdk/v2/x/genutil/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // GenAppStateFromConfig gets the genesis app state from the config diff --git a/x/genutil/collect_test.go b/x/genutil/collect_test.go index 66244cf744..681d498f1f 100644 --- a/x/genutil/collect_test.go +++ b/x/genutil/collect_test.go @@ -11,13 +11,13 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/types" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" - "github.com/cosmos/cosmos-sdk/x/genutil" - gtypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/codec" + cdctypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/server" + "github.com/line/lbm-sdk/v2/types" + bankexported "github.com/line/lbm-sdk/v2/x/bank/exported" + "github.com/line/lbm-sdk/v2/x/genutil" + gtypes "github.com/line/lbm-sdk/v2/x/genutil/types" ) type doNothingUnmarshalJSON struct { diff --git a/x/genutil/genesis.go b/x/genutil/genesis.go index c6d17edb8d..86c1ddea90 100644 --- a/x/genutil/genesis.go +++ b/x/genutil/genesis.go @@ -3,9 +3,9 @@ package genutil import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/genutil/types" ) // InitGenesis - initialize accounts and deliver genesis transactions diff --git a/x/genutil/gentx.go b/x/genutil/gentx.go index b5415ffb31..5d90123c1a 100644 --- a/x/genutil/gentx.go +++ b/x/genutil/gentx.go @@ -6,12 +6,12 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + bankexported "github.com/line/lbm-sdk/v2/x/bank/exported" + "github.com/line/lbm-sdk/v2/x/genutil/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // SetGenTxsInAppGenesisState - sets the genesis transactions in the app genesis state diff --git a/x/genutil/gentx_test.go b/x/genutil/gentx_test.go index b4b843bc98..3f411fffa7 100644 --- a/x/genutil/gentx_test.go +++ b/x/genutil/gentx_test.go @@ -8,16 +8,16 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/simapp/helpers" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/genutil" + "github.com/line/lbm-sdk/v2/x/genutil/types" + "github.com/line/lbm-sdk/v2/x/staking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/genutil/legacy/v036/migrate.go b/x/genutil/legacy/v036/migrate.go index 204eebc233..cc8b3199fb 100644 --- a/x/genutil/legacy/v036/migrate.go +++ b/x/genutil/legacy/v036/migrate.go @@ -1,22 +1,22 @@ package v036 import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - v034auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v034" - v036auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v036" - v036bank "github.com/cosmos/cosmos-sdk/x/bank/legacy/v036" - v034distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v034" - v036distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v036" - v034genAccounts "github.com/cosmos/cosmos-sdk/x/genaccounts/legacy/v034" - v036genAccounts "github.com/cosmos/cosmos-sdk/x/genaccounts/legacy/v036" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - v034gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v034" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" - v036params "github.com/cosmos/cosmos-sdk/x/params/legacy/v036" - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" - v036staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v036" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + v034auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v034" + v036auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v036" + v036bank "github.com/line/lbm-sdk/v2/x/bank/legacy/v036" + v034distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v034" + v036distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v036" + v034genAccounts "github.com/line/lbm-sdk/v2/x/genaccounts/legacy/v034" + v036genAccounts "github.com/line/lbm-sdk/v2/x/genaccounts/legacy/v036" + "github.com/line/lbm-sdk/v2/x/genutil/types" + v034gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v034" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" + v036params "github.com/line/lbm-sdk/v2/x/params/legacy/v036" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" + v036staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v036" ) // Migrate migrates exported state from v0.34 to a v0.36 genesis state. diff --git a/x/genutil/legacy/v036/migrate_test.go b/x/genutil/legacy/v036/migrate_test.go index bdd6c4f0ff..9d766074bd 100644 --- a/x/genutil/legacy/v036/migrate_test.go +++ b/x/genutil/legacy/v036/migrate_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/genutil/types" ) var basic034Gov = []byte(` diff --git a/x/genutil/legacy/v038/migrate.go b/x/genutil/legacy/v038/migrate.go index d0ca4c4186..6e69c3b228 100644 --- a/x/genutil/legacy/v038/migrate.go +++ b/x/genutil/legacy/v038/migrate.go @@ -1,19 +1,19 @@ package v038 import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - v036auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v036" - v038auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v038" - v036distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v036" - v038distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v038" - v036genaccounts "github.com/cosmos/cosmos-sdk/x/genaccounts/legacy/v036" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" - v036params "github.com/cosmos/cosmos-sdk/x/params/legacy/v036" - v036staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v036" - v038staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v038" - v038upgrade "github.com/cosmos/cosmos-sdk/x/upgrade/legacy/v038" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + v036auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v036" + v038auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v038" + v036distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v036" + v038distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v038" + v036genaccounts "github.com/line/lbm-sdk/v2/x/genaccounts/legacy/v036" + "github.com/line/lbm-sdk/v2/x/genutil/types" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" + v036params "github.com/line/lbm-sdk/v2/x/params/legacy/v036" + v036staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v036" + v038staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v038" + v038upgrade "github.com/line/lbm-sdk/v2/x/upgrade/legacy/v038" ) // Migrate migrates exported state from v0.36/v0.37 to a v0.38 genesis state. diff --git a/x/genutil/legacy/v038/migrate_test.go b/x/genutil/legacy/v038/migrate_test.go index bbc8b476ed..bc42120ed5 100644 --- a/x/genutil/legacy/v038/migrate_test.go +++ b/x/genutil/legacy/v038/migrate_test.go @@ -3,12 +3,12 @@ package v038_test import ( "testing" - "github.com/cosmos/cosmos-sdk/client" - v036auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v036" - v036genaccounts "github.com/cosmos/cosmos-sdk/x/genaccounts/legacy/v036" - v038 "github.com/cosmos/cosmos-sdk/x/genutil/legacy/v038" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - v036staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v036" + "github.com/line/lbm-sdk/v2/client" + v036auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v036" + v036genaccounts "github.com/line/lbm-sdk/v2/x/genaccounts/legacy/v036" + v038 "github.com/line/lbm-sdk/v2/x/genutil/legacy/v038" + "github.com/line/lbm-sdk/v2/x/genutil/types" + v036staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v036" "github.com/stretchr/testify/require" ) diff --git a/x/genutil/legacy/v039/migrate.go b/x/genutil/legacy/v039/migrate.go index 99c7fce772..da54f9b349 100644 --- a/x/genutil/legacy/v039/migrate.go +++ b/x/genutil/legacy/v039/migrate.go @@ -1,15 +1,15 @@ package v039 import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - v038auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v038" - v039auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v039" - v036distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v036" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" - v036params "github.com/cosmos/cosmos-sdk/x/params/legacy/v036" - v038upgrade "github.com/cosmos/cosmos-sdk/x/upgrade/legacy/v038" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + v038auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v038" + v039auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v039" + v036distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v036" + "github.com/line/lbm-sdk/v2/x/genutil/types" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" + v036params "github.com/line/lbm-sdk/v2/x/params/legacy/v036" + v038upgrade "github.com/line/lbm-sdk/v2/x/upgrade/legacy/v038" ) // Migrate migrates exported state from v0.38 to a v0.39 genesis state. diff --git a/x/genutil/legacy/v039/migrate_test.go b/x/genutil/legacy/v039/migrate_test.go index 65a7ec3df7..299ab60f3a 100644 --- a/x/genutil/legacy/v039/migrate_test.go +++ b/x/genutil/legacy/v039/migrate_test.go @@ -5,11 +5,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - v038auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v038" - v039auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v039" - v039 "github.com/cosmos/cosmos-sdk/x/genutil/legacy/v039" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/client" + v038auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v038" + v039auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v039" + v039 "github.com/line/lbm-sdk/v2/x/genutil/legacy/v039" + "github.com/line/lbm-sdk/v2/x/genutil/types" ) var genAuthState = []byte(`{ diff --git a/x/genutil/legacy/v040/migrate.go b/x/genutil/legacy/v040/migrate.go index eb5d10690a..8e00e5f4d6 100644 --- a/x/genutil/legacy/v040/migrate.go +++ b/x/genutil/legacy/v040/migrate.go @@ -1,32 +1,32 @@ package v040 import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - v039auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v039" - v040auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v040" - v036supply "github.com/cosmos/cosmos-sdk/x/bank/legacy/v036" - v038bank "github.com/cosmos/cosmos-sdk/x/bank/legacy/v038" - v040bank "github.com/cosmos/cosmos-sdk/x/bank/legacy/v040" - v039crisis "github.com/cosmos/cosmos-sdk/x/crisis/legacy/v039" - v040crisis "github.com/cosmos/cosmos-sdk/x/crisis/legacy/v040" - v036distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v036" - v038distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v038" - v040distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v040" - v038evidence "github.com/cosmos/cosmos-sdk/x/evidence/legacy/v038" - v040evidence "github.com/cosmos/cosmos-sdk/x/evidence/legacy/v040" - v039genutil "github.com/cosmos/cosmos-sdk/x/genutil/legacy/v039" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" - v040gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v040" - v039mint "github.com/cosmos/cosmos-sdk/x/mint/legacy/v039" - v040mint "github.com/cosmos/cosmos-sdk/x/mint/legacy/v040" - v036params "github.com/cosmos/cosmos-sdk/x/params/legacy/v036" - v039slashing "github.com/cosmos/cosmos-sdk/x/slashing/legacy/v039" - v040slashing "github.com/cosmos/cosmos-sdk/x/slashing/legacy/v040" - v038staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v038" - v040staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v040" - v038upgrade "github.com/cosmos/cosmos-sdk/x/upgrade/legacy/v038" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + v039auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v039" + v040auth "github.com/line/lbm-sdk/v2/x/auth/legacy/v040" + v036supply "github.com/line/lbm-sdk/v2/x/bank/legacy/v036" + v038bank "github.com/line/lbm-sdk/v2/x/bank/legacy/v038" + v040bank "github.com/line/lbm-sdk/v2/x/bank/legacy/v040" + v039crisis "github.com/line/lbm-sdk/v2/x/crisis/legacy/v039" + v040crisis "github.com/line/lbm-sdk/v2/x/crisis/legacy/v040" + v036distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v036" + v038distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v038" + v040distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v040" + v038evidence "github.com/line/lbm-sdk/v2/x/evidence/legacy/v038" + v040evidence "github.com/line/lbm-sdk/v2/x/evidence/legacy/v040" + v039genutil "github.com/line/lbm-sdk/v2/x/genutil/legacy/v039" + "github.com/line/lbm-sdk/v2/x/genutil/types" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" + v040gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v040" + v039mint "github.com/line/lbm-sdk/v2/x/mint/legacy/v039" + v040mint "github.com/line/lbm-sdk/v2/x/mint/legacy/v040" + v036params "github.com/line/lbm-sdk/v2/x/params/legacy/v036" + v039slashing "github.com/line/lbm-sdk/v2/x/slashing/legacy/v039" + v040slashing "github.com/line/lbm-sdk/v2/x/slashing/legacy/v040" + v038staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v038" + v040staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v040" + v038upgrade "github.com/line/lbm-sdk/v2/x/upgrade/legacy/v038" ) func migrateGenutil(oldGenState v039genutil.GenesisState) *types.GenesisState { diff --git a/x/genutil/module.go b/x/genutil/module.go index bfaeb0c591..58656b70e8 100644 --- a/x/genutil/module.go +++ b/x/genutil/module.go @@ -10,12 +10,12 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + cdctypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/genutil/types" ) var ( diff --git a/x/genutil/types/expected_keepers.go b/x/genutil/types/expected_keepers.go index 341d2eb2c8..dd491342cc 100644 --- a/x/genutil/types/expected_keepers.go +++ b/x/genutil/types/expected_keepers.go @@ -5,10 +5,10 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - auth "github.com/cosmos/cosmos-sdk/x/auth/types" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + auth "github.com/line/lbm-sdk/v2/x/auth/types" + bankexported "github.com/line/lbm-sdk/v2/x/bank/exported" ) // StakingKeeper defines the expected staking keeper (noalias) diff --git a/x/genutil/types/genesis_state.go b/x/genutil/types/genesis_state.go index b3e28bb6de..5ee4b795e4 100644 --- a/x/genutil/types/genesis_state.go +++ b/x/genutil/types/genesis_state.go @@ -8,9 +8,9 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // NewGenesisState creates a new GenesisState object diff --git a/x/genutil/types/genesis_state_test.go b/x/genutil/types/genesis_state_test.go index 01e1db9fd3..21b789aaf1 100644 --- a/x/genutil/types/genesis_state_test.go +++ b/x/genutil/types/genesis_state_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/genutil/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/genutil/types/types.go b/x/genutil/types/types.go index 694eebdbe3..b012ae8ea1 100644 --- a/x/genutil/types/types.go +++ b/x/genutil/types/types.go @@ -3,8 +3,8 @@ package types import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/client" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/line/lbm-sdk/v2/client" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) // DONTCOVER diff --git a/x/genutil/utils.go b/x/genutil/utils.go index 4c46bdb6f1..68ee13f782 100644 --- a/x/genutil/utils.go +++ b/x/genutil/utils.go @@ -14,8 +14,8 @@ import ( "github.com/tendermint/tendermint/privval" tmtypes "github.com/tendermint/tendermint/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) // ExportGenesisFile creates and writes the genesis configuration to disk. An diff --git a/x/gov/abci.go b/x/gov/abci.go index f9815e0fb8..76899b6f72 100644 --- a/x/gov/abci.go +++ b/x/gov/abci.go @@ -4,10 +4,10 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/keeper" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // EndBlocker called every block, process inflation, update validator set. diff --git a/x/gov/abci_test.go b/x/gov/abci_test.go index bfda1b3590..945e7af1dd 100644 --- a/x/gov/abci_test.go +++ b/x/gov/abci_test.go @@ -9,11 +9,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/staking" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov" + "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/staking" ) func TestTickExpiredDepositPeriod(t *testing.T) { diff --git a/x/gov/client/cli/cli_test.go b/x/gov/client/cli/cli_test.go index f0ee9b40e5..264aec5ba8 100644 --- a/x/gov/client/cli/cli_test.go +++ b/x/gov/client/cli/cli_test.go @@ -7,20 +7,20 @@ import ( "strings" "testing" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/testutil" "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - govtestutil "github.com/cosmos/cosmos-sdk/x/gov/client/testutil" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client/flags" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/client/cli" + govtestutil "github.com/line/lbm-sdk/v2/x/gov/client/testutil" + "github.com/line/lbm-sdk/v2/x/gov/types" ) type IntegrationTestSuite struct { diff --git a/x/gov/client/cli/parse.go b/x/gov/client/cli/parse.go index 90066b645a..48b6b4ed25 100644 --- a/x/gov/client/cli/parse.go +++ b/x/gov/client/cli/parse.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/pflag" - govutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" + govutils "github.com/line/lbm-sdk/v2/x/gov/client/utils" ) func parseSubmitProposalFlags(fs *pflag.FlagSet) (*proposal, error) { diff --git a/x/gov/client/cli/parse_test.go b/x/gov/client/cli/parse_test.go index da6aeea719..f3e462a24f 100644 --- a/x/gov/client/cli/parse_test.go +++ b/x/gov/client/cli/parse_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/line/lbm-sdk/v2/testutil" ) func TestParseSubmitProposalFlags(t *testing.T) { diff --git a/x/gov/client/cli/query.go b/x/gov/client/cli/query.go index 8c67cd96e5..30b095b7e7 100644 --- a/x/gov/client/cli/query.go +++ b/x/gov/client/cli/query.go @@ -8,12 +8,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - gcutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + gcutils "github.com/line/lbm-sdk/v2/x/gov/client/utils" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/gov/client/cli/tx.go b/x/gov/client/cli/tx.go index 16ca7f7c68..348ccc578d 100644 --- a/x/gov/client/cli/tx.go +++ b/x/gov/client/cli/tx.go @@ -7,13 +7,13 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - govutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + govutils "github.com/line/lbm-sdk/v2/x/gov/client/utils" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // Proposal flags diff --git a/x/gov/client/proposal_handler.go b/x/gov/client/proposal_handler.go index 61ee3d8c3b..acf145224e 100644 --- a/x/gov/client/proposal_handler.go +++ b/x/gov/client/proposal_handler.go @@ -3,8 +3,8 @@ package client import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/gov/client/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/gov/client/rest" ) // function to create the rest handler diff --git a/x/gov/client/rest/grpc_query_test.go b/x/gov/client/rest/grpc_query_test.go index 027ce2962e..75c113751b 100644 --- a/x/gov/client/rest/grpc_query_test.go +++ b/x/gov/client/rest/grpc_query_test.go @@ -9,14 +9,14 @@ import ( "github.com/golang/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - govtestutil "github.com/cosmos/cosmos-sdk/x/gov/client/testutil" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/gov/client/cli" + govtestutil "github.com/line/lbm-sdk/v2/x/gov/client/testutil" + "github.com/line/lbm-sdk/v2/x/gov/types" ) type IntegrationTestSuite struct { diff --git a/x/gov/client/rest/query.go b/x/gov/client/rest/query.go index ffdbd8bc02..940b5be4ed 100644 --- a/x/gov/client/rest/query.go +++ b/x/gov/client/rest/query.go @@ -7,11 +7,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - gcutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + gcutils "github.com/line/lbm-sdk/v2/x/gov/client/utils" + "github.com/line/lbm-sdk/v2/x/gov/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { diff --git a/x/gov/client/rest/rest.go b/x/gov/client/rest/rest.go index f11798e967..45dbd03979 100644 --- a/x/gov/client/rest/rest.go +++ b/x/gov/client/rest/rest.go @@ -5,10 +5,10 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/line/lbm-sdk/v2/client" + clientrest "github.com/line/lbm-sdk/v2/client/rest" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" ) // REST Variable names diff --git a/x/gov/client/rest/rest_test.go b/x/gov/client/rest/rest_test.go index df7f2e4cc6..3429747a2b 100644 --- a/x/gov/client/rest/rest_test.go +++ b/x/gov/client/rest/rest_test.go @@ -5,8 +5,8 @@ package rest_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/gov/types" ) func (s *IntegrationTestSuite) TestLegacyGetAllProposals() { diff --git a/x/gov/client/rest/tx.go b/x/gov/client/rest/tx.go index 284c671481..54ac8f15f5 100644 --- a/x/gov/client/rest/tx.go +++ b/x/gov/client/rest/tx.go @@ -6,11 +6,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/types/rest" - gcutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/types/rest" + gcutils "github.com/line/lbm-sdk/v2/x/gov/client/utils" + "github.com/line/lbm-sdk/v2/x/gov/types" ) func registerTxHandlers(clientCtx client.Context, r *mux.Router, phs []ProposalRESTHandler) { diff --git a/x/gov/client/testutil/helpers.go b/x/gov/client/testutil/helpers.go index 535cb8d09c..57e34740d3 100644 --- a/x/gov/client/testutil/helpers.go +++ b/x/gov/client/testutil/helpers.go @@ -3,12 +3,12 @@ package testutil import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - sdk "github.com/cosmos/cosmos-sdk/types" - govcli "github.com/cosmos/cosmos-sdk/x/gov/client/cli" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + sdk "github.com/line/lbm-sdk/v2/types" + govcli "github.com/line/lbm-sdk/v2/x/gov/client/cli" ) var commonArgs = []string{ diff --git a/x/gov/client/utils/query.go b/x/gov/client/utils/query.go index e543f526b3..00dacbdafe 100644 --- a/x/gov/client/utils/query.go +++ b/x/gov/client/utils/query.go @@ -3,10 +3,10 @@ package utils import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/gov/types" ) const ( diff --git a/x/gov/client/utils/query_test.go b/x/gov/client/utils/query_test.go index 81b15a457f..70d6955f67 100644 --- a/x/gov/client/utils/query_test.go +++ b/x/gov/client/utils/query_test.go @@ -9,13 +9,13 @@ import ( ctypes "github.com/tendermint/tendermint/rpc/core/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/gov/client/utils" + "github.com/line/lbm-sdk/v2/x/gov/types" ) type TxSearchMock struct { diff --git a/x/gov/client/utils/utils.go b/x/gov/client/utils/utils.go index 86e4dc5f3e..bb980f4049 100644 --- a/x/gov/client/utils/utils.go +++ b/x/gov/client/utils/utils.go @@ -1,6 +1,6 @@ package utils -import "github.com/cosmos/cosmos-sdk/x/gov/types" +import "github.com/line/lbm-sdk/v2/x/gov/types" // NormalizeVoteOption - normalize user specified vote option func NormalizeVoteOption(option string) string { diff --git a/x/gov/client/utils/utils_test.go b/x/gov/client/utils/utils_test.go index 11098c380e..7b55f570eb 100644 --- a/x/gov/client/utils/utils_test.go +++ b/x/gov/client/utils/utils_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/gov/client/utils" + "github.com/line/lbm-sdk/v2/x/gov/client/utils" ) func TestNormalizeProposalStatus(t *testing.T) { diff --git a/x/gov/common_test.go b/x/gov/common_test.go index 5ef50ea5db..51fdb126b0 100644 --- a/x/gov/common_test.go +++ b/x/gov/common_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/gov/genesis.go b/x/gov/genesis.go index 553edbaa0f..6757b63dab 100644 --- a/x/gov/genesis.go +++ b/x/gov/genesis.go @@ -3,9 +3,9 @@ package gov import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/keeper" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // InitGenesis - store genesis parameters diff --git a/x/gov/genesis_test.go b/x/gov/genesis_test.go index 2fb3aea946..4a0e6a7820 100644 --- a/x/gov/genesis_test.go +++ b/x/gov/genesis_test.go @@ -10,12 +10,12 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/x/auth" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/gov" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/x/auth" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/gov" + "github.com/line/lbm-sdk/v2/x/gov/types" ) func TestImportExportQueues(t *testing.T) { diff --git a/x/gov/handler.go b/x/gov/handler.go index 25d97bfabb..d92be4ddca 100644 --- a/x/gov/handler.go +++ b/x/gov/handler.go @@ -1,10 +1,10 @@ package gov import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/gov/keeper" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // NewHandler creates an sdk.Handler for all the gov type messages diff --git a/x/gov/handler_test.go b/x/gov/handler_test.go index a62134e425..ca340fef60 100644 --- a/x/gov/handler_test.go +++ b/x/gov/handler_test.go @@ -6,13 +6,13 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/line/lbm-sdk/v2/testutil/testdata" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov" + "github.com/line/lbm-sdk/v2/x/gov/keeper" ) func TestInvalidMsg(t *testing.T) { diff --git a/x/gov/keeper/common_test.go b/x/gov/keeper/common_test.go index 7ba9c5827f..435297ec61 100644 --- a/x/gov/keeper/common_test.go +++ b/x/gov/keeper/common_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/staking" + stakingkeeper "github.com/line/lbm-sdk/v2/x/staking/keeper" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/gov/keeper/deposit.go b/x/gov/keeper/deposit.go index 507ac67937..ba53ee68af 100644 --- a/x/gov/keeper/deposit.go +++ b/x/gov/keeper/deposit.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // GetDeposit gets the deposit of a specific depositor on a specific proposal diff --git a/x/gov/keeper/deposit_test.go b/x/gov/keeper/deposit_test.go index dfa857dc57..0be26f90dd 100644 --- a/x/gov/keeper/deposit_test.go +++ b/x/gov/keeper/deposit_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestDeposits(t *testing.T) { diff --git a/x/gov/keeper/grpc_query.go b/x/gov/keeper/grpc_query.go index 93a0e05937..af1e0b26d8 100644 --- a/x/gov/keeper/grpc_query.go +++ b/x/gov/keeper/grpc_query.go @@ -6,10 +6,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/gov/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/gov/keeper/grpc_query_test.go b/x/gov/keeper/grpc_query_test.go index dc330d7348..51a2950021 100644 --- a/x/gov/keeper/grpc_query_test.go +++ b/x/gov/keeper/grpc_query_test.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/gov/types" ) func (suite *KeeperTestSuite) TestGRPCQueryProposal() { diff --git a/x/gov/keeper/invariants.go b/x/gov/keeper/invariants.go index d0ec4dbfac..5ec97adf9c 100644 --- a/x/gov/keeper/invariants.go +++ b/x/gov/keeper/invariants.go @@ -5,8 +5,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // RegisterInvariants registers all governance invariants diff --git a/x/gov/keeper/keeper.go b/x/gov/keeper/keeper.go index 60db99d32c..d031431f3b 100644 --- a/x/gov/keeper/keeper.go +++ b/x/gov/keeper/keeper.go @@ -6,10 +6,10 @@ import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // Keeper defines the governance module Keeper diff --git a/x/gov/keeper/keeper_test.go b/x/gov/keeper/keeper_test.go index 105a9d0028..48ca6bb2d5 100644 --- a/x/gov/keeper/keeper_test.go +++ b/x/gov/keeper/keeper_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" ) type KeeperTestSuite struct { diff --git a/x/gov/keeper/msg_server.go b/x/gov/keeper/msg_server.go index 39ddf3ab45..3c26c1a172 100644 --- a/x/gov/keeper/msg_server.go +++ b/x/gov/keeper/msg_server.go @@ -7,9 +7,9 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" ) type msgServer struct { diff --git a/x/gov/keeper/params.go b/x/gov/keeper/params.go index 0c6fc4338b..439d0bab0b 100644 --- a/x/gov/keeper/params.go +++ b/x/gov/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // GetDepositParams returns the current DepositParams from the global param store diff --git a/x/gov/keeper/proposal.go b/x/gov/keeper/proposal.go index 14a324d780..09efc6966f 100644 --- a/x/gov/keeper/proposal.go +++ b/x/gov/keeper/proposal.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // SubmitProposal create new proposal given a content diff --git a/x/gov/keeper/proposal_test.go b/x/gov/keeper/proposal_test.go index 1a833737d9..9f9e630fc4 100644 --- a/x/gov/keeper/proposal_test.go +++ b/x/gov/keeper/proposal_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" ) func TestGetSetProposal(t *testing.T) { diff --git a/x/gov/keeper/querier.go b/x/gov/keeper/querier.go index 6eb343d070..31fd140b26 100644 --- a/x/gov/keeper/querier.go +++ b/x/gov/keeper/querier.go @@ -3,11 +3,11 @@ package keeper import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // NewQuerier creates a new gov Querier instance diff --git a/x/gov/keeper/querier_test.go b/x/gov/keeper/querier_test.go index 9960fb116b..ea30c09608 100644 --- a/x/gov/keeper/querier_test.go +++ b/x/gov/keeper/querier_test.go @@ -10,11 +10,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/keeper" + "github.com/line/lbm-sdk/v2/x/gov/types" ) const custom = "custom" diff --git a/x/gov/keeper/tally.go b/x/gov/keeper/tally.go index cddfd59027..b09951d5d3 100644 --- a/x/gov/keeper/tally.go +++ b/x/gov/keeper/tally.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // TODO: Break into several smaller functions for clarity diff --git a/x/gov/keeper/tally_test.go b/x/gov/keeper/tally_test.go index 77f468cd2c..a675e05358 100644 --- a/x/gov/keeper/tally_test.go +++ b/x/gov/keeper/tally_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/staking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestTallyNoOneVotes(t *testing.T) { diff --git a/x/gov/keeper/vote.go b/x/gov/keeper/vote.go index a35569bc34..8d385a993a 100644 --- a/x/gov/keeper/vote.go +++ b/x/gov/keeper/vote.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // AddVote adds a vote on a specific proposal diff --git a/x/gov/keeper/vote_test.go b/x/gov/keeper/vote_test.go index 5f5bf0cc73..73e65dc9d2 100644 --- a/x/gov/keeper/vote_test.go +++ b/x/gov/keeper/vote_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/types" ) func TestVotes(t *testing.T) { diff --git a/x/gov/legacy/v034/types.go b/x/gov/legacy/v034/types.go index dd98cca21b..31e3ab7cdc 100644 --- a/x/gov/legacy/v034/types.go +++ b/x/gov/legacy/v034/types.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) var ( diff --git a/x/gov/legacy/v036/migrate.go b/x/gov/legacy/v036/migrate.go index d20df1d9c7..5519316ff4 100644 --- a/x/gov/legacy/v036/migrate.go +++ b/x/gov/legacy/v036/migrate.go @@ -1,7 +1,7 @@ package v036 import ( - v034gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v034" + v034gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v034" ) // Migrate accepts exported genesis state from v0.34 and migrates it to v0.36 diff --git a/x/gov/legacy/v036/types.go b/x/gov/legacy/v036/types.go index d0bc4620bc..a18a4cb3ce 100644 --- a/x/gov/legacy/v036/types.go +++ b/x/gov/legacy/v036/types.go @@ -7,9 +7,9 @@ import ( "strings" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - v034gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v034" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + v034gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v034" ) const ( diff --git a/x/gov/legacy/v040/migrate.go b/x/gov/legacy/v040/migrate.go index 2accb74284..ee446cfedb 100644 --- a/x/gov/legacy/v040/migrate.go +++ b/x/gov/legacy/v040/migrate.go @@ -5,16 +5,16 @@ import ( proto "github.com/gogo/protobuf/proto" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - v036distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v036" - v040distr "github.com/cosmos/cosmos-sdk/x/distribution/types" - v034gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v034" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" - v040gov "github.com/cosmos/cosmos-sdk/x/gov/types" - v036params "github.com/cosmos/cosmos-sdk/x/params/legacy/v036" - v040params "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - v038upgrade "github.com/cosmos/cosmos-sdk/x/upgrade/legacy/v038" - v040upgrade "github.com/cosmos/cosmos-sdk/x/upgrade/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + v036distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v036" + v040distr "github.com/line/lbm-sdk/v2/x/distribution/types" + v034gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v034" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" + v040gov "github.com/line/lbm-sdk/v2/x/gov/types" + v036params "github.com/line/lbm-sdk/v2/x/params/legacy/v036" + v040params "github.com/line/lbm-sdk/v2/x/params/types/proposal" + v038upgrade "github.com/line/lbm-sdk/v2/x/upgrade/legacy/v038" + v040upgrade "github.com/line/lbm-sdk/v2/x/upgrade/types" ) func migrateVoteOption(oldVoteOption v034gov.VoteOption) v040gov.VoteOption { diff --git a/x/gov/legacy/v040/migrate_test.go b/x/gov/legacy/v040/migrate_test.go index 049f5b8853..448ec1fe60 100644 --- a/x/gov/legacy/v040/migrate_test.go +++ b/x/gov/legacy/v040/migrate_test.go @@ -6,14 +6,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - v036distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v036" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" - v040gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v040" - v036params "github.com/cosmos/cosmos-sdk/x/params/legacy/v036" - v038upgrade "github.com/cosmos/cosmos-sdk/x/upgrade/legacy/v038" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + v036distr "github.com/line/lbm-sdk/v2/x/distribution/legacy/v036" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" + v040gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v040" + v036params "github.com/line/lbm-sdk/v2/x/params/legacy/v036" + v038upgrade "github.com/line/lbm-sdk/v2/x/upgrade/legacy/v038" ) func TestMigrate(t *testing.T) { diff --git a/x/gov/module.go b/x/gov/module.go index ad2191660c..44f0f9712f 100644 --- a/x/gov/module.go +++ b/x/gov/module.go @@ -15,18 +15,18 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - "github.com/cosmos/cosmos-sdk/x/gov/client/rest" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + govclient "github.com/line/lbm-sdk/v2/x/gov/client" + "github.com/line/lbm-sdk/v2/x/gov/client/cli" + "github.com/line/lbm-sdk/v2/x/gov/client/rest" + "github.com/line/lbm-sdk/v2/x/gov/keeper" + "github.com/line/lbm-sdk/v2/x/gov/simulation" + "github.com/line/lbm-sdk/v2/x/gov/types" ) var ( diff --git a/x/gov/module_test.go b/x/gov/module_test.go index 4e54c0b79a..5702b47395 100644 --- a/x/gov/module_test.go +++ b/x/gov/module_test.go @@ -7,9 +7,9 @@ import ( abcitypes "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/simapp" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/gov/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/x/gov/simulation/decoder.go b/x/gov/simulation/decoder.go index 75cb4a5fcc..e0c009f0ac 100644 --- a/x/gov/simulation/decoder.go +++ b/x/gov/simulation/decoder.go @@ -5,9 +5,9 @@ import ( "encoding/binary" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/gov/simulation/decoder_test.go b/x/gov/simulation/decoder_test.go index 7a5b0fc1bc..e1750ab2ac 100644 --- a/x/gov/simulation/decoder_test.go +++ b/x/gov/simulation/decoder_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/gov/simulation" + "github.com/line/lbm-sdk/v2/x/gov/types" ) var ( diff --git a/x/gov/simulation/genesis.go b/x/gov/simulation/genesis.go index 3f9ed2d086..60d46a2923 100644 --- a/x/gov/simulation/genesis.go +++ b/x/gov/simulation/genesis.go @@ -8,10 +8,10 @@ import ( "math/rand" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // Simulation parameter constants diff --git a/x/gov/simulation/genesis_test.go b/x/gov/simulation/genesis_test.go index db8b98bff1..b15d809dc0 100644 --- a/x/gov/simulation/genesis_test.go +++ b/x/gov/simulation/genesis_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/gov/simulation" + "github.com/line/lbm-sdk/v2/x/gov/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/gov/simulation/operations.go b/x/gov/simulation/operations.go index 2ea89ca97b..1783fe9259 100644 --- a/x/gov/simulation/operations.go +++ b/x/gov/simulation/operations.go @@ -5,15 +5,15 @@ import ( "math/rand" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp/helpers" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/gov/keeper" + "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/simulation" ) var initialProposalID = uint64(100000000000000) diff --git a/x/gov/simulation/operations_test.go b/x/gov/simulation/operations_test.go index 9c6e8306f8..5f8ede5efe 100644 --- a/x/gov/simulation/operations_test.go +++ b/x/gov/simulation/operations_test.go @@ -10,13 +10,13 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/simapp" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/gov/simulation" + "github.com/line/lbm-sdk/v2/x/gov/types" + minttypes "github.com/line/lbm-sdk/v2/x/mint/types" ) type MockWeightedProposalContent struct { diff --git a/x/gov/simulation/params.go b/x/gov/simulation/params.go index c0f0ac05ae..4869c5a321 100644 --- a/x/gov/simulation/params.go +++ b/x/gov/simulation/params.go @@ -7,10 +7,10 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/simulation" ) const ( diff --git a/x/gov/simulation/params_test.go b/x/gov/simulation/params_test.go index de528d14d9..fc4f0502ba 100644 --- a/x/gov/simulation/params_test.go +++ b/x/gov/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/gov/simulation" + "github.com/line/lbm-sdk/v2/x/gov/simulation" ) func TestParamChanges(t *testing.T) { diff --git a/x/gov/simulation/proposals.go b/x/gov/simulation/proposals.go index 322774c984..37b78bb37e 100644 --- a/x/gov/simulation/proposals.go +++ b/x/gov/simulation/proposals.go @@ -3,11 +3,11 @@ package simulation import ( "math/rand" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/simulation" ) // OpWeightSubmitTextProposal app params key for text proposal diff --git a/x/gov/simulation/proposals_test.go b/x/gov/simulation/proposals_test.go index dcd6f3c3f0..8bde760792 100644 --- a/x/gov/simulation/proposals_test.go +++ b/x/gov/simulation/proposals_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/simulation" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/gov/simulation" ) func TestProposalContents(t *testing.T) { diff --git a/x/gov/types/codec.go b/x/gov/types/codec.go index 46deb5c59e..b8123a7a85 100644 --- a/x/gov/types/codec.go +++ b/x/gov/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" ) // RegisterLegacyAminoCodec registers all the necessary types and interfaces for the diff --git a/x/gov/types/content.go b/x/gov/types/content.go index 44cbe6af75..9d724fb24d 100644 --- a/x/gov/types/content.go +++ b/x/gov/types/content.go @@ -3,8 +3,8 @@ package types import ( "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // Constants pertaining to a Content object diff --git a/x/gov/types/deposit.go b/x/gov/types/deposit.go index e386088737..70da5b97c5 100644 --- a/x/gov/types/deposit.go +++ b/x/gov/types/deposit.go @@ -5,7 +5,7 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewDeposit creates a new Deposit instance diff --git a/x/gov/types/errors.go b/x/gov/types/errors.go index 96973f1751..18fcd2c0ba 100644 --- a/x/gov/types/errors.go +++ b/x/gov/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/gov module sentinel errors diff --git a/x/gov/types/expected_keepers.go b/x/gov/types/expected_keepers.go index f862a9bce5..d20030d8ee 100644 --- a/x/gov/types/expected_keepers.go +++ b/x/gov/types/expected_keepers.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // ParamSubspace defines the expected Subspace interface for parameters (noalias) diff --git a/x/gov/types/genesis.go b/x/gov/types/genesis.go index 7f2d138ae3..55bd33fad3 100644 --- a/x/gov/types/genesis.go +++ b/x/gov/types/genesis.go @@ -3,8 +3,8 @@ package types import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewGenesisState creates a new genesis state for the governance module diff --git a/x/gov/types/gov.pb.go b/x/gov/types/gov.pb.go index 57730bcb90..9ffc607356 100644 --- a/x/gov/types/gov.pb.go +++ b/x/gov/types/gov.pb.go @@ -5,14 +5,14 @@ package types import ( fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/golang/protobuf/ptypes/duration" _ "github.com/golang/protobuf/ptypes/timestamp" + types1 "github.com/line/lbm-sdk/v2/codec/types" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/types" _ "github.com/regen-network/cosmos-proto" io "io" math "math" @@ -165,7 +165,7 @@ var xxx_messageInfo_TextProposal proto.InternalMessageInfo type Deposit struct { ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" yaml:"proposal_id"` Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"amount"` } func (m *Deposit) Reset() { *m = Deposit{} } @@ -208,7 +208,7 @@ type Proposal struct { FinalTallyResult TallyResult `protobuf:"bytes,4,opt,name=final_tally_result,json=finalTallyResult,proto3" json:"final_tally_result" yaml:"final_tally_result"` SubmitTime time.Time `protobuf:"bytes,5,opt,name=submit_time,json=submitTime,proto3,stdtime" json:"submit_time" yaml:"submit_time"` DepositEndTime time.Time `protobuf:"bytes,6,opt,name=deposit_end_time,json=depositEndTime,proto3,stdtime" json:"deposit_end_time" yaml:"deposit_end_time"` - TotalDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,7,rep,name=total_deposit,json=totalDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total_deposit" yaml:"total_deposit"` + TotalDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,7,rep,name=total_deposit,json=totalDeposit,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"total_deposit" yaml:"total_deposit"` VotingStartTime time.Time `protobuf:"bytes,8,opt,name=voting_start_time,json=votingStartTime,proto3,stdtime" json:"voting_start_time" yaml:"voting_start_time"` VotingEndTime time.Time `protobuf:"bytes,9,opt,name=voting_end_time,json=votingEndTime,proto3,stdtime" json:"voting_end_time" yaml:"voting_end_time"` } @@ -247,10 +247,10 @@ var xxx_messageInfo_Proposal proto.InternalMessageInfo // TallyResult defines a standard tally for a governance proposal. type TallyResult struct { - Yes github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=yes,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"yes"` - Abstain github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=abstain,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"abstain"` - No github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=no,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"no"` - NoWithVeto github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=no_with_veto,json=noWithVeto,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"no_with_veto" yaml:"no_with_veto"` + Yes github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=yes,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"yes"` + Abstain github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=abstain,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"abstain"` + No github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=no,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"no"` + NoWithVeto github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=no_with_veto,json=noWithVeto,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"no_with_veto" yaml:"no_with_veto"` } func (m *TallyResult) Reset() { *m = TallyResult{} } @@ -328,7 +328,7 @@ var xxx_messageInfo_Vote proto.InternalMessageInfo // DepositParams defines the params for deposits on governance proposals. type DepositParams struct { // Minimum deposit for a proposal to enter voting period. - MinDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=min_deposit,json=minDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"min_deposit,omitempty" yaml:"min_deposit"` + MinDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=min_deposit,json=minDeposit,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"min_deposit,omitempty" yaml:"min_deposit"` // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 // months. MaxDepositPeriod time.Duration `protobuf:"bytes,2,opt,name=max_deposit_period,json=maxDepositPeriod,proto3,stdduration" json:"max_deposit_period,omitempty" yaml:"max_deposit_period"` @@ -408,12 +408,12 @@ var xxx_messageInfo_VotingParams proto.InternalMessageInfo type TallyParams struct { // Minimum percentage of total stake needed to vote for a result to be // considered valid. - Quorum github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=quorum,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quorum,omitempty"` + Quorum github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=quorum,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"quorum,omitempty"` // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. - Threshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=threshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"threshold,omitempty"` + Threshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=threshold,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"threshold,omitempty"` // Minimum value of Veto votes to Total votes ratio for proposal to be // vetoed. Default value: 1/3. - VetoThreshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=veto_threshold,json=vetoThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"veto_threshold,omitempty" yaml:"veto_threshold"` + VetoThreshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=veto_threshold,json=vetoThreshold,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"veto_threshold,omitempty" yaml:"veto_threshold"` } func (m *TallyParams) Reset() { *m = TallyParams{} } diff --git a/x/gov/types/keys.go b/x/gov/types/keys.go index 7681116fc4..d002fbab73 100644 --- a/x/gov/types/keys.go +++ b/x/gov/types/keys.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/gov/types/keys_test.go b/x/gov/types/keys_test.go index 80dfa7d207..dcd34c3c92 100644 --- a/x/gov/types/keys_test.go +++ b/x/gov/types/keys_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + sdk "github.com/line/lbm-sdk/v2/types" ) var addr = sdk.AccAddress(ed25519.GenPrivKey().PubKey().Address()) diff --git a/x/gov/types/msgs.go b/x/gov/types/msgs.go index e97c25ce8f..2602c5e840 100644 --- a/x/gov/types/msgs.go +++ b/x/gov/types/msgs.go @@ -7,9 +7,9 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // Governance message types and routes diff --git a/x/gov/types/msgs_test.go b/x/gov/types/msgs_test.go index 9d7d6a3682..281ad1f57f 100644 --- a/x/gov/types/msgs_test.go +++ b/x/gov/types/msgs_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var ( diff --git a/x/gov/types/params.go b/x/gov/types/params.go index 5421136f39..2797641588 100644 --- a/x/gov/types/params.go +++ b/x/gov/types/params.go @@ -6,8 +6,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/line/lbm-sdk/v2/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Default period for deposits & voting diff --git a/x/gov/types/proposal.go b/x/gov/types/proposal.go index 0c856647f6..4fe0c9779b 100644 --- a/x/gov/types/proposal.go +++ b/x/gov/types/proposal.go @@ -8,9 +8,9 @@ import ( "github.com/gogo/protobuf/proto" yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // DefaultStartingProposalID is 1 diff --git a/x/gov/types/querier.go b/x/gov/types/querier.go index fe9b5e0f15..10497f81cf 100644 --- a/x/gov/types/querier.go +++ b/x/gov/types/querier.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // DONTCOVER diff --git a/x/gov/types/query.pb.go b/x/gov/types/query.pb.go index 4ca1f33ae5..01d86af079 100644 --- a/x/gov/types/query.pb.go +++ b/x/gov/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/line/lbm-sdk/v2/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/gov/types/router.go b/x/gov/types/router.go index bc4d51251d..f6e5cd3672 100644 --- a/x/gov/types/router.go +++ b/x/gov/types/router.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var _ Router = (*router)(nil) diff --git a/x/gov/types/tally.go b/x/gov/types/tally.go index a4e9ee9086..eada3ef1b9 100644 --- a/x/gov/types/tally.go +++ b/x/gov/types/tally.go @@ -3,7 +3,7 @@ package types import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // ValidatorGovInfo used for tallying diff --git a/x/gov/types/tx.pb.go b/x/gov/types/tx.pb.go index 0261e1c139..c4dcd48cf2 100644 --- a/x/gov/types/tx.pb.go +++ b/x/gov/types/tx.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types1 "github.com/line/lbm-sdk/v2/types" _ "github.com/regen-network/cosmos-proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -36,7 +36,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // proposal Content. type MsgSubmitProposal struct { Content *types.Any `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - InitialDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=initial_deposit,json=initialDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"initial_deposit" yaml:"initial_deposit"` + InitialDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=initial_deposit,json=initialDeposit,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"initial_deposit" yaml:"initial_deposit"` Proposer string `protobuf:"bytes,3,opt,name=proposer,proto3" json:"proposer,omitempty"` } @@ -197,7 +197,7 @@ var xxx_messageInfo_MsgVoteResponse proto.InternalMessageInfo type MsgDeposit struct { ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id" yaml:"proposal_id"` Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/line/lbm-sdk/v2/types.Coins" json:"amount"` } func (m *MsgDeposit) Reset() { *m = MsgDeposit{} } diff --git a/x/gov/types/vote.go b/x/gov/types/vote.go index 363887a289..fd25bbcaba 100644 --- a/x/gov/types/vote.go +++ b/x/gov/types/vote.go @@ -5,7 +5,7 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewVote creates a new Vote instance diff --git a/x/ibc/applications/transfer/client/cli/cli.go b/x/ibc/applications/transfer/client/cli/cli.go index d3ca8341e9..66c5aaff8d 100644 --- a/x/ibc/applications/transfer/client/cli/cli.go +++ b/x/ibc/applications/transfer/client/cli/cli.go @@ -3,7 +3,7 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) // GetQueryCmd returns the query commands for IBC connections diff --git a/x/ibc/applications/transfer/client/cli/query.go b/x/ibc/applications/transfer/client/cli/query.go index 7d281bb415..def6ac59d3 100644 --- a/x/ibc/applications/transfer/client/cli/query.go +++ b/x/ibc/applications/transfer/client/cli/query.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // GetCmdQueryDenomTrace defines the command to query a a denomination trace from a given hash. diff --git a/x/ibc/applications/transfer/client/cli/tx.go b/x/ibc/applications/transfer/client/cli/tx.go index c9c6fde517..0af00501c9 100644 --- a/x/ibc/applications/transfer/client/cli/tx.go +++ b/x/ibc/applications/transfer/client/cli/tx.go @@ -6,14 +6,14 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channelutils "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/client/utils" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channelutils "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/client/utils" ) const ( diff --git a/x/ibc/applications/transfer/handler.go b/x/ibc/applications/transfer/handler.go index 7c992c920e..425ec1b923 100644 --- a/x/ibc/applications/transfer/handler.go +++ b/x/ibc/applications/transfer/handler.go @@ -1,9 +1,9 @@ package transfer import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // NewHandler returns sdk.Handler for IBC token transfer module messages diff --git a/x/ibc/applications/transfer/handler_test.go b/x/ibc/applications/transfer/handler_test.go index 92a0421011..ab2359a302 100644 --- a/x/ibc/applications/transfer/handler_test.go +++ b/x/ibc/applications/transfer/handler_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type TransferTestSuite struct { diff --git a/x/ibc/applications/transfer/keeper/encoding.go b/x/ibc/applications/transfer/keeper/encoding.go index ddb1bc4b0c..4d4118481c 100644 --- a/x/ibc/applications/transfer/keeper/encoding.go +++ b/x/ibc/applications/transfer/keeper/encoding.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // UnmarshalDenomTrace attempts to decode and return an DenomTrace object from diff --git a/x/ibc/applications/transfer/keeper/genesis.go b/x/ibc/applications/transfer/keeper/genesis.go index 58a0c08115..d910098b54 100644 --- a/x/ibc/applications/transfer/keeper/genesis.go +++ b/x/ibc/applications/transfer/keeper/genesis.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // InitGenesis initializes the ibc-transfer state and binds to PortID. diff --git a/x/ibc/applications/transfer/keeper/genesis_test.go b/x/ibc/applications/transfer/keeper/genesis_test.go index a85434911f..8b0cdd50fe 100644 --- a/x/ibc/applications/transfer/keeper/genesis_test.go +++ b/x/ibc/applications/transfer/keeper/genesis_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) func (suite *KeeperTestSuite) TestGenesis() { diff --git a/x/ibc/applications/transfer/keeper/grpc_query.go b/x/ibc/applications/transfer/keeper/grpc_query.go index b6347895b4..1da5dd9d30 100644 --- a/x/ibc/applications/transfer/keeper/grpc_query.go +++ b/x/ibc/applications/transfer/keeper/grpc_query.go @@ -7,11 +7,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/ibc/applications/transfer/keeper/grpc_query_test.go b/x/ibc/applications/transfer/keeper/grpc_query_test.go index 0b16e0726b..1b119f5f75 100644 --- a/x/ibc/applications/transfer/keeper/grpc_query_test.go +++ b/x/ibc/applications/transfer/keeper/grpc_query_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) func (suite *KeeperTestSuite) TestQueryDenomTrace() { diff --git a/x/ibc/applications/transfer/keeper/keeper.go b/x/ibc/applications/transfer/keeper/keeper.go index a2eebb55e1..23927db0a4 100644 --- a/x/ibc/applications/transfer/keeper/keeper.go +++ b/x/ibc/applications/transfer/keeper/keeper.go @@ -4,17 +4,17 @@ import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + capabilitykeeper "github.com/line/lbm-sdk/v2/x/capability/keeper" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Keeper defines the IBC fungible transfer keeper diff --git a/x/ibc/applications/transfer/keeper/keeper_test.go b/x/ibc/applications/transfer/keeper/keeper_test.go index cce9cbccae..d4c54c27bb 100644 --- a/x/ibc/applications/transfer/keeper/keeper_test.go +++ b/x/ibc/applications/transfer/keeper/keeper_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/suite" "github.com/tendermint/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/baseapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type KeeperTestSuite struct { diff --git a/x/ibc/applications/transfer/keeper/mbt_relay_test.go b/x/ibc/applications/transfer/keeper/mbt_relay_test.go index defcbbbc8d..7caf2f32d8 100644 --- a/x/ibc/applications/transfer/keeper/mbt_relay_test.go +++ b/x/ibc/applications/transfer/keeper/mbt_relay_test.go @@ -13,13 +13,13 @@ import ( "github.com/tendermint/tendermint/crypto" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type TlaBalance struct { diff --git a/x/ibc/applications/transfer/keeper/msg_server.go b/x/ibc/applications/transfer/keeper/msg_server.go index dd2999af34..ec60f736cf 100644 --- a/x/ibc/applications/transfer/keeper/msg_server.go +++ b/x/ibc/applications/transfer/keeper/msg_server.go @@ -3,8 +3,8 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) var _ types.MsgServer = Keeper{} diff --git a/x/ibc/applications/transfer/keeper/params.go b/x/ibc/applications/transfer/keeper/params.go index 39a6c5d53d..b64b6949c8 100644 --- a/x/ibc/applications/transfer/keeper/params.go +++ b/x/ibc/applications/transfer/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // GetSendEnabled retrieves the send enabled boolean from the paramstore diff --git a/x/ibc/applications/transfer/keeper/params_test.go b/x/ibc/applications/transfer/keeper/params_test.go index 96f17ff7f1..18680e24f6 100644 --- a/x/ibc/applications/transfer/keeper/params_test.go +++ b/x/ibc/applications/transfer/keeper/params_test.go @@ -1,6 +1,6 @@ package keeper_test -import "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" +import "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" func (suite *KeeperTestSuite) TestParams() { expParams := types.DefaultParams() diff --git a/x/ibc/applications/transfer/keeper/relay.go b/x/ibc/applications/transfer/keeper/relay.go index 4889014a40..9f75c15b02 100644 --- a/x/ibc/applications/transfer/keeper/relay.go +++ b/x/ibc/applications/transfer/keeper/relay.go @@ -6,13 +6,13 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // SendTransfer handles transfer sending logic. There are 2 possible cases: diff --git a/x/ibc/applications/transfer/keeper/relay_test.go b/x/ibc/applications/transfer/keeper/relay_test.go index 9f30317517..c3fcb79612 100644 --- a/x/ibc/applications/transfer/keeper/relay_test.go +++ b/x/ibc/applications/transfer/keeper/relay_test.go @@ -3,13 +3,13 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) // test sending from chainA to chainB using both coin that orignate on diff --git a/x/ibc/applications/transfer/module.go b/x/ibc/applications/transfer/module.go index 764f61e92b..866eee9a12 100644 --- a/x/ibc/applications/transfer/module.go +++ b/x/ibc/applications/transfer/module.go @@ -14,21 +14,21 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/client/cli" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - porttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/client/cli" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + porttypes "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) var ( @@ -197,7 +197,7 @@ func ValidateTransferChannelParams( version string, ) error { // NOTE: for escrow address security only 2^32 channels are allowed to be created - // Issue: https://github.com/cosmos/cosmos-sdk/issues/7737 + // Issue: https://github.com/line/lbm-sdk/v2/issues/7737 channelSequence, err := channeltypes.ParseChannelSequence(channelID) if err != nil { return err diff --git a/x/ibc/applications/transfer/module_test.go b/x/ibc/applications/transfer/module_test.go index d2acfb4043..66997885ba 100644 --- a/x/ibc/applications/transfer/module_test.go +++ b/x/ibc/applications/transfer/module_test.go @@ -3,12 +3,12 @@ package transfer_test import ( "math" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *TransferTestSuite) TestOnChanOpenInit() { diff --git a/x/ibc/applications/transfer/simulation/decoder.go b/x/ibc/applications/transfer/simulation/decoder.go index df78345038..234a50afb0 100644 --- a/x/ibc/applications/transfer/simulation/decoder.go +++ b/x/ibc/applications/transfer/simulation/decoder.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // TransferUnmarshaler defines the expected encoding store functions. diff --git a/x/ibc/applications/transfer/simulation/decoder_test.go b/x/ibc/applications/transfer/simulation/decoder_test.go index 729a067e02..00b4c4477d 100644 --- a/x/ibc/applications/transfer/simulation/decoder_test.go +++ b/x/ibc/applications/transfer/simulation/decoder_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/ibc/applications/transfer/simulation/genesis.go b/x/ibc/applications/transfer/simulation/genesis.go index a51bce9f47..b0947b1933 100644 --- a/x/ibc/applications/transfer/simulation/genesis.go +++ b/x/ibc/applications/transfer/simulation/genesis.go @@ -6,9 +6,9 @@ import ( "math/rand" "strings" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // Simulation parameter constants diff --git a/x/ibc/applications/transfer/simulation/genesis_test.go b/x/ibc/applications/transfer/simulation/genesis_test.go index 12791d7445..a5d5de97ce 100644 --- a/x/ibc/applications/transfer/simulation/genesis_test.go +++ b/x/ibc/applications/transfer/simulation/genesis_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/ibc/applications/transfer/simulation/params.go b/x/ibc/applications/transfer/simulation/params.go index 67c61f514e..a5ef523526 100644 --- a/x/ibc/applications/transfer/simulation/params.go +++ b/x/ibc/applications/transfer/simulation/params.go @@ -6,10 +6,10 @@ import ( gogotypes "github.com/gogo/protobuf/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/x/ibc/applications/transfer/simulation/params_test.go b/x/ibc/applications/transfer/simulation/params_test.go index a692d4328e..775a0a7197 100644 --- a/x/ibc/applications/transfer/simulation/params_test.go +++ b/x/ibc/applications/transfer/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/simulation" ) func TestParamChanges(t *testing.T) { diff --git a/x/ibc/applications/transfer/types/codec.go b/x/ibc/applications/transfer/types/codec.go index 24ad7e5a90..3b4cf45953 100644 --- a/x/ibc/applications/transfer/types/codec.go +++ b/x/ibc/applications/transfer/types/codec.go @@ -1,10 +1,10 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" ) // RegisterLegacyAminoCodec registers the necessary x/ibc transfer interfaces and concrete types diff --git a/x/ibc/applications/transfer/types/coin.go b/x/ibc/applications/transfer/types/coin.go index 08ae9a8d32..a823147c0b 100644 --- a/x/ibc/applications/transfer/types/coin.go +++ b/x/ibc/applications/transfer/types/coin.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // SenderChainIsSource returns false if the denomination originally came diff --git a/x/ibc/applications/transfer/types/errors.go b/x/ibc/applications/transfer/types/errors.go index 07cba19491..0d323295b0 100644 --- a/x/ibc/applications/transfer/types/errors.go +++ b/x/ibc/applications/transfer/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // IBC channel sentinel errors diff --git a/x/ibc/applications/transfer/types/expected_keepers.go b/x/ibc/applications/transfer/types/expected_keepers.go index 284463350e..2c62881114 100644 --- a/x/ibc/applications/transfer/types/expected_keepers.go +++ b/x/ibc/applications/transfer/types/expected_keepers.go @@ -1,12 +1,12 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - ibcexported "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + ibcexported "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // AccountKeeper defines the contract required for account APIs. diff --git a/x/ibc/applications/transfer/types/genesis.go b/x/ibc/applications/transfer/types/genesis.go index 682b04c4cf..d44056fd35 100644 --- a/x/ibc/applications/transfer/types/genesis.go +++ b/x/ibc/applications/transfer/types/genesis.go @@ -1,7 +1,7 @@ package types import ( - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // NewGenesisState creates a new ibc-transfer GenesisState instance. diff --git a/x/ibc/applications/transfer/types/genesis_test.go b/x/ibc/applications/transfer/types/genesis_test.go index a2aba58ca6..72ff1ef410 100644 --- a/x/ibc/applications/transfer/types/genesis_test.go +++ b/x/ibc/applications/transfer/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) func TestValidateGenesis(t *testing.T) { diff --git a/x/ibc/applications/transfer/types/keys.go b/x/ibc/applications/transfer/types/keys.go index c156af3fd8..18afe8a58c 100644 --- a/x/ibc/applications/transfer/types/keys.go +++ b/x/ibc/applications/transfer/types/keys.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/ibc/applications/transfer/types/keys_test.go b/x/ibc/applications/transfer/types/keys_test.go index 9ab3314c2e..1adabcaff6 100644 --- a/x/ibc/applications/transfer/types/keys_test.go +++ b/x/ibc/applications/transfer/types/keys_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" + "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" ) // Test that there is domain separation between the port id and the channel id otherwise an diff --git a/x/ibc/applications/transfer/types/msgs.go b/x/ibc/applications/transfer/types/msgs.go index cf2293213a..7ef990ea09 100644 --- a/x/ibc/applications/transfer/types/msgs.go +++ b/x/ibc/applications/transfer/types/msgs.go @@ -3,10 +3,10 @@ package types import ( "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // msg types diff --git a/x/ibc/applications/transfer/types/msgs_test.go b/x/ibc/applications/transfer/types/msgs_test.go index 1fc70c543b..78d770cf35 100644 --- a/x/ibc/applications/transfer/types/msgs_test.go +++ b/x/ibc/applications/transfer/types/msgs_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) // define constants used for testing diff --git a/x/ibc/applications/transfer/types/packet.go b/x/ibc/applications/transfer/types/packet.go index d726577f6f..1bcd81676b 100644 --- a/x/ibc/applications/transfer/types/packet.go +++ b/x/ibc/applications/transfer/types/packet.go @@ -4,8 +4,8 @@ import ( "strings" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) var ( diff --git a/x/ibc/applications/transfer/types/params.go b/x/ibc/applications/transfer/types/params.go index 4ecdfab77e..299f1ad53a 100644 --- a/x/ibc/applications/transfer/types/params.go +++ b/x/ibc/applications/transfer/types/params.go @@ -3,7 +3,7 @@ package types import ( "fmt" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) const ( diff --git a/x/ibc/applications/transfer/types/query.pb.go b/x/ibc/applications/transfer/types/query.pb.go index 1c1d692951..1b979fd9fb 100644 --- a/x/ibc/applications/transfer/types/query.pb.go +++ b/x/ibc/applications/transfer/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/line/lbm-sdk/v2/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/ibc/applications/transfer/types/trace.go b/x/ibc/applications/transfer/types/trace.go index f45113efa3..d42e4533ee 100644 --- a/x/ibc/applications/transfer/types/trace.go +++ b/x/ibc/applications/transfer/types/trace.go @@ -10,9 +10,9 @@ import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" tmtypes "github.com/tendermint/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // ParseDenomTrace parses a string with the ibc prefix (denom trace) and the base denomination @@ -163,7 +163,7 @@ func ValidatePrefixedDenom(denom string) error { // ValidateIBCDenom validates that the given denomination is either: // // - A valid base denomination (eg: 'uatom') -// - A valid fungible token representation (i.e 'ibc/{hash}') per ADR 001 https://github.com/cosmos/cosmos-sdk/blob/master/docs/architecture/adr-001-coin-source-tracing.md +// - A valid fungible token representation (i.e 'ibc/{hash}') per ADR 001 https://github.com/line/lbm-sdk/v2/blob/master/docs/architecture/adr-001-coin-source-tracing.md func ValidateIBCDenom(denom string) error { if err := sdk.ValidateDenom(denom); err != nil { return err diff --git a/x/ibc/applications/transfer/types/tx.pb.go b/x/ibc/applications/transfer/types/tx.pb.go index e3a630b427..af0be5f0c5 100644 --- a/x/ibc/applications/transfer/types/tx.pb.go +++ b/x/ibc/applications/transfer/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/types" + types1 "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/ibc/core/02-client/abci.go b/x/ibc/core/02-client/abci.go index 3c56d90ad3..abe01f2b40 100644 --- a/x/ibc/core/02-client/abci.go +++ b/x/ibc/core/02-client/abci.go @@ -1,9 +1,9 @@ package client import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // BeginBlocker updates an existing localhost client with the latest block height. diff --git a/x/ibc/core/02-client/abci_test.go b/x/ibc/core/02-client/abci_test.go index 3a296618b3..6bd28fbf86 100644 --- a/x/ibc/core/02-client/abci_test.go +++ b/x/ibc/core/02-client/abci_test.go @@ -5,11 +5,11 @@ import ( "github.com/stretchr/testify/suite" - client "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - localhosttypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + client "github.com/line/lbm-sdk/v2/x/ibc/core/02-client" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + localhosttypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type ClientTestSuite struct { diff --git a/x/ibc/core/02-client/client/cli/cli.go b/x/ibc/core/02-client/client/cli/cli.go index 375d8f6369..e6bea904c8 100644 --- a/x/ibc/core/02-client/client/cli/cli.go +++ b/x/ibc/core/02-client/client/cli/cli.go @@ -3,8 +3,8 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) // GetQueryCmd returns the query commands for IBC clients diff --git a/x/ibc/core/02-client/client/cli/query.go b/x/ibc/core/02-client/client/cli/query.go index a1e9b45d22..a667c7541a 100644 --- a/x/ibc/core/02-client/client/cli/query.go +++ b/x/ibc/core/02-client/client/cli/query.go @@ -7,12 +7,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/client/utils" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/client/utils" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) const ( diff --git a/x/ibc/core/02-client/client/utils/utils.go b/x/ibc/core/02-client/client/utils/utils.go index 1a7bc003bc..9f13016dae 100644 --- a/x/ibc/core/02-client/client/utils/utils.go +++ b/x/ibc/core/02-client/client/utils/utils.go @@ -5,16 +5,16 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - - "github.com/cosmos/cosmos-sdk/codec" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - ibcclient "github.com/cosmos/cosmos-sdk/x/ibc/core/client" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/client" + + "github.com/line/lbm-sdk/v2/codec" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + ibcclient "github.com/line/lbm-sdk/v2/x/ibc/core/client" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) // QueryClientState returns a client state. If prove is true, it performs an ABCI store query diff --git a/x/ibc/core/02-client/genesis.go b/x/ibc/core/02-client/genesis.go index 26635f0784..7324f03657 100644 --- a/x/ibc/core/02-client/genesis.go +++ b/x/ibc/core/02-client/genesis.go @@ -3,10 +3,10 @@ package client import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // InitGenesis initializes the ibc client submodule's state from a provided genesis diff --git a/x/ibc/core/02-client/keeper/client.go b/x/ibc/core/02-client/keeper/client.go index e822402bfb..6aa2ab5a12 100644 --- a/x/ibc/core/02-client/keeper/client.go +++ b/x/ibc/core/02-client/keeper/client.go @@ -5,11 +5,11 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CreateClient creates a new client state and populates it with a given consensus diff --git a/x/ibc/core/02-client/keeper/client_test.go b/x/ibc/core/02-client/keeper/client_test.go index 21d59b7402..7914fc804b 100644 --- a/x/ibc/core/02-client/keeper/client_test.go +++ b/x/ibc/core/02-client/keeper/client_test.go @@ -7,15 +7,15 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - localhosttypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibctestingmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + localhosttypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibctestingmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" + upgradetypes "github.com/line/lbm-sdk/v2/x/upgrade/types" ) func (suite *KeeperTestSuite) TestCreateClient() { diff --git a/x/ibc/core/02-client/keeper/encoding.go b/x/ibc/core/02-client/keeper/encoding.go index f2a07b864d..85dcb063c0 100644 --- a/x/ibc/core/02-client/keeper/encoding.go +++ b/x/ibc/core/02-client/keeper/encoding.go @@ -1,8 +1,8 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // UnmarshalClientState attempts to decode and return an ClientState object from diff --git a/x/ibc/core/02-client/keeper/grpc_query.go b/x/ibc/core/02-client/keeper/grpc_query.go index 6328e5de3b..5eab555dfd 100644 --- a/x/ibc/core/02-client/keeper/grpc_query.go +++ b/x/ibc/core/02-client/keeper/grpc_query.go @@ -9,13 +9,13 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ types.QueryServer = Keeper{} diff --git a/x/ibc/core/02-client/keeper/grpc_query_test.go b/x/ibc/core/02-client/keeper/grpc_query_test.go index 5e361a76f0..95c19deac0 100644 --- a/x/ibc/core/02-client/keeper/grpc_query_test.go +++ b/x/ibc/core/02-client/keeper/grpc_query_test.go @@ -4,15 +4,15 @@ import ( "fmt" "time" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *KeeperTestSuite) TestQueryClientState() { diff --git a/x/ibc/core/02-client/keeper/keeper.go b/x/ibc/core/02-client/keeper/keeper.go index 67c5c0658d..57a842b1c4 100644 --- a/x/ibc/core/02-client/keeper/keeper.go +++ b/x/ibc/core/02-client/keeper/keeper.go @@ -8,17 +8,17 @@ import ( "github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/light" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" + upgradetypes "github.com/line/lbm-sdk/v2/x/upgrade/types" ) // Keeper represents a type that grants read and write permissions to any client diff --git a/x/ibc/core/02-client/keeper/keeper_test.go b/x/ibc/core/02-client/keeper/keeper_test.go index c22e80cc9e..d5141a2f8a 100644 --- a/x/ibc/core/02-client/keeper/keeper_test.go +++ b/x/ibc/core/02-client/keeper/keeper_test.go @@ -10,20 +10,20 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - localhosttypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibctestingmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + localhosttypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibctestingmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) const ( diff --git a/x/ibc/core/02-client/keeper/params.go b/x/ibc/core/02-client/keeper/params.go index 04f4a25637..ef7b5171f5 100644 --- a/x/ibc/core/02-client/keeper/params.go +++ b/x/ibc/core/02-client/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) // GetAllowedClients retrieves the receive enabled boolean from the paramstore diff --git a/x/ibc/core/02-client/keeper/params_test.go b/x/ibc/core/02-client/keeper/params_test.go index 9df0859710..7b379aa54b 100644 --- a/x/ibc/core/02-client/keeper/params_test.go +++ b/x/ibc/core/02-client/keeper/params_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) func (suite *KeeperTestSuite) TestParams() { diff --git a/x/ibc/core/02-client/keeper/proposal.go b/x/ibc/core/02-client/keeper/proposal.go index 6b17278e09..b824facb17 100644 --- a/x/ibc/core/02-client/keeper/proposal.go +++ b/x/ibc/core/02-client/keeper/proposal.go @@ -3,11 +3,11 @@ package keeper import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // ClientUpdateProposal will try to update the client with the new header if and only if diff --git a/x/ibc/core/02-client/keeper/proposal_test.go b/x/ibc/core/02-client/keeper/proposal_test.go index ada205402b..2dd11aab0d 100644 --- a/x/ibc/core/02-client/keeper/proposal_test.go +++ b/x/ibc/core/02-client/keeper/proposal_test.go @@ -1,11 +1,11 @@ package keeper_test import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *KeeperTestSuite) TestClientUpdateProposal() { diff --git a/x/ibc/core/02-client/module.go b/x/ibc/core/02-client/module.go index 9a051ba1ab..4685b5c668 100644 --- a/x/ibc/core/02-client/module.go +++ b/x/ibc/core/02-client/module.go @@ -4,8 +4,8 @@ import ( "github.com/gogo/protobuf/grpc" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/client/cli" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/client/cli" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) // Name returns the IBC client name diff --git a/x/ibc/core/02-client/proposal_handler.go b/x/ibc/core/02-client/proposal_handler.go index befa95df64..e530e18171 100644 --- a/x/ibc/core/02-client/proposal_handler.go +++ b/x/ibc/core/02-client/proposal_handler.go @@ -1,11 +1,11 @@ package client import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) // NewClientUpdateProposalHandler defines the client update proposal handler diff --git a/x/ibc/core/02-client/proposal_handler_test.go b/x/ibc/core/02-client/proposal_handler_test.go index 91c1451b70..47aaa06e9e 100644 --- a/x/ibc/core/02-client/proposal_handler_test.go +++ b/x/ibc/core/02-client/proposal_handler_test.go @@ -1,14 +1,14 @@ package client_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - client "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + sdk "github.com/line/lbm-sdk/v2/types" + distributiontypes "github.com/line/lbm-sdk/v2/x/distribution/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + client "github.com/line/lbm-sdk/v2/x/ibc/core/02-client" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *ClientTestSuite) TestNewClientUpdateProposalHandler() { diff --git a/x/ibc/core/02-client/simulation/decoder.go b/x/ibc/core/02-client/simulation/decoder.go index 03a803b1b1..1118f8cb5e 100644 --- a/x/ibc/core/02-client/simulation/decoder.go +++ b/x/ibc/core/02-client/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/keeper" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/keeper" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ ClientUnmarshaler = (*keeper.Keeper)(nil) diff --git a/x/ibc/core/02-client/simulation/decoder_test.go b/x/ibc/core/02-client/simulation/decoder_test.go index 095834ba0d..ea3029d64f 100644 --- a/x/ibc/core/02-client/simulation/decoder_test.go +++ b/x/ibc/core/02-client/simulation/decoder_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/ibc/core/02-client/simulation/genesis.go b/x/ibc/core/02-client/simulation/genesis.go index 2f23197026..091ab83276 100644 --- a/x/ibc/core/02-client/simulation/genesis.go +++ b/x/ibc/core/02-client/simulation/genesis.go @@ -3,8 +3,8 @@ package simulation import ( "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) // GenClientGenesis returns the default client genesis state. diff --git a/x/ibc/core/02-client/types/client.go b/x/ibc/core/02-client/types/client.go index 6d51828af0..54ee351440 100644 --- a/x/ibc/core/02-client/types/client.go +++ b/x/ibc/core/02-client/types/client.go @@ -8,10 +8,10 @@ import ( proto "github.com/gogo/protobuf/proto" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/core/02-client/types/client.pb.go b/x/ibc/core/02-client/types/client.pb.go index a42ddef4c5..838c9e51ae 100644 --- a/x/ibc/core/02-client/types/client.pb.go +++ b/x/ibc/core/02-client/types/client.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/ibc/core/02-client/types/client_test.go b/x/ibc/core/02-client/types/client_test.go index 2dfd3967d2..e738be5d9f 100644 --- a/x/ibc/core/02-client/types/client_test.go +++ b/x/ibc/core/02-client/types/client_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *TypesTestSuite) TestMarshalConsensusStateWithHeight() { diff --git a/x/ibc/core/02-client/types/codec.go b/x/ibc/core/02-client/types/codec.go index 8d79dcdaa4..09ff68690d 100644 --- a/x/ibc/core/02-client/types/codec.go +++ b/x/ibc/core/02-client/types/codec.go @@ -3,11 +3,11 @@ package types import ( proto "github.com/gogo/protobuf/proto" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/msgservice" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/msgservice" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // RegisterInterfaces registers the client interfaces to protobuf Any. diff --git a/x/ibc/core/02-client/types/codec_test.go b/x/ibc/core/02-client/types/codec_test.go index 75cfc97eb0..5180d8eb14 100644 --- a/x/ibc/core/02-client/types/codec_test.go +++ b/x/ibc/core/02-client/types/codec_test.go @@ -1,13 +1,13 @@ package types_test import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - localhosttypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + localhosttypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type caseAny struct { diff --git a/x/ibc/core/02-client/types/encoding.go b/x/ibc/core/02-client/types/encoding.go index 8621484563..425cc6cd2a 100644 --- a/x/ibc/core/02-client/types/encoding.go +++ b/x/ibc/core/02-client/types/encoding.go @@ -3,8 +3,8 @@ package types import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // MustUnmarshalClientState attempts to decode and return an ClientState object from diff --git a/x/ibc/core/02-client/types/encoding_test.go b/x/ibc/core/02-client/types/encoding_test.go index 89953bc9f1..7ad1439202 100644 --- a/x/ibc/core/02-client/types/encoding_test.go +++ b/x/ibc/core/02-client/types/encoding_test.go @@ -1,8 +1,8 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) func (suite *TypesTestSuite) TestMarshalHeader() { diff --git a/x/ibc/core/02-client/types/errors.go b/x/ibc/core/02-client/types/errors.go index 09dc92959a..1b3b5f84c8 100644 --- a/x/ibc/core/02-client/types/errors.go +++ b/x/ibc/core/02-client/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // IBC client sentinel errors diff --git a/x/ibc/core/02-client/types/events.go b/x/ibc/core/02-client/types/events.go index 7a9bae2205..6e571e2416 100644 --- a/x/ibc/core/02-client/types/events.go +++ b/x/ibc/core/02-client/types/events.go @@ -3,7 +3,7 @@ package types import ( "fmt" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // IBC client events diff --git a/x/ibc/core/02-client/types/expected_keepers.go b/x/ibc/core/02-client/types/expected_keepers.go index defc81506b..13c2567d06 100644 --- a/x/ibc/core/02-client/types/expected_keepers.go +++ b/x/ibc/core/02-client/types/expected_keepers.go @@ -3,8 +3,8 @@ package types import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // StakingKeeper expected staking keeper diff --git a/x/ibc/core/02-client/types/genesis.go b/x/ibc/core/02-client/types/genesis.go index 3f197208e3..7cd244d0e8 100644 --- a/x/ibc/core/02-client/types/genesis.go +++ b/x/ibc/core/02-client/types/genesis.go @@ -4,9 +4,9 @@ import ( "fmt" "sort" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/core/02-client/types/genesis_test.go b/x/ibc/core/02-client/types/genesis_test.go index d57b8d1ba5..a6cd2629a9 100644 --- a/x/ibc/core/02-client/types/genesis_test.go +++ b/x/ibc/core/02-client/types/genesis_test.go @@ -5,15 +5,15 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - client "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - localhosttypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibctestingmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + client "github.com/line/lbm-sdk/v2/x/ibc/core/02-client" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + localhosttypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibctestingmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) const ( diff --git a/x/ibc/core/02-client/types/height.go b/x/ibc/core/02-client/types/height.go index 4216d54e66..c65f1d9e6a 100644 --- a/x/ibc/core/02-client/types/height.go +++ b/x/ibc/core/02-client/types/height.go @@ -7,9 +7,9 @@ import ( "strconv" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.Height = (*Height)(nil) diff --git a/x/ibc/core/02-client/types/height_test.go b/x/ibc/core/02-client/types/height_test.go index a455b7f58d..b8147221bd 100644 --- a/x/ibc/core/02-client/types/height_test.go +++ b/x/ibc/core/02-client/types/height_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) func TestZeroHeight(t *testing.T) { diff --git a/x/ibc/core/02-client/types/keys.go b/x/ibc/core/02-client/types/keys.go index 321f5e3ffa..e06aa28ca5 100644 --- a/x/ibc/core/02-client/types/keys.go +++ b/x/ibc/core/02-client/types/keys.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) const ( diff --git a/x/ibc/core/02-client/types/keys_test.go b/x/ibc/core/02-client/types/keys_test.go index 4938145236..8bedf8722d 100644 --- a/x/ibc/core/02-client/types/keys_test.go +++ b/x/ibc/core/02-client/types/keys_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" ) // tests ParseClientIdentifier and IsValidClientID diff --git a/x/ibc/core/02-client/types/msgs.go b/x/ibc/core/02-client/types/msgs.go index 1e884123d7..0848399ec3 100644 --- a/x/ibc/core/02-client/types/msgs.go +++ b/x/ibc/core/02-client/types/msgs.go @@ -1,11 +1,11 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // message types for the IBC client diff --git a/x/ibc/core/02-client/types/msgs_test.go b/x/ibc/core/02-client/types/msgs_test.go index e42725bae2..b01750ddc7 100644 --- a/x/ibc/core/02-client/types/msgs_test.go +++ b/x/ibc/core/02-client/types/msgs_test.go @@ -7,12 +7,12 @@ import ( "github.com/golang/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - solomachinetypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + solomachinetypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type TypesTestSuite struct { diff --git a/x/ibc/core/02-client/types/params.go b/x/ibc/core/02-client/types/params.go index 6477e3f6f4..a3cac08cac 100644 --- a/x/ibc/core/02-client/types/params.go +++ b/x/ibc/core/02-client/types/params.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) var ( diff --git a/x/ibc/core/02-client/types/params_test.go b/x/ibc/core/02-client/types/params_test.go index dac80a4b42..c551efb63d 100644 --- a/x/ibc/core/02-client/types/params_test.go +++ b/x/ibc/core/02-client/types/params_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) func TestValidateParams(t *testing.T) { diff --git a/x/ibc/core/02-client/types/proposal.go b/x/ibc/core/02-client/types/proposal.go index 334a9d4599..958a3db5e7 100644 --- a/x/ibc/core/02-client/types/proposal.go +++ b/x/ibc/core/02-client/types/proposal.go @@ -1,10 +1,10 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) const ( diff --git a/x/ibc/core/02-client/types/proposal_test.go b/x/ibc/core/02-client/types/proposal_test.go index 5a47cf2f01..fc1b4065c9 100644 --- a/x/ibc/core/02-client/types/proposal_test.go +++ b/x/ibc/core/02-client/types/proposal_test.go @@ -1,12 +1,12 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *TypesTestSuite) TestNewUpdateClientProposal() { diff --git a/x/ibc/core/02-client/types/query.go b/x/ibc/core/02-client/types/query.go index c46bbfcfe7..fed608777a 100644 --- a/x/ibc/core/02-client/types/query.go +++ b/x/ibc/core/02-client/types/query.go @@ -1,8 +1,8 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/core/02-client/types/query.pb.go b/x/ibc/core/02-client/types/query.pb.go index 651becb899..ec86f31838 100644 --- a/x/ibc/core/02-client/types/query.pb.go +++ b/x/ibc/core/02-client/types/query.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + query "github.com/line/lbm-sdk/v2/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/ibc/core/02-client/types/tx.pb.go b/x/ibc/core/02-client/types/tx.pb.go index a314223fcf..d1fd1f08d7 100644 --- a/x/ibc/core/02-client/types/tx.pb.go +++ b/x/ibc/core/02-client/types/tx.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/ibc/core/03-connection/client/cli/cli.go b/x/ibc/core/03-connection/client/cli/cli.go index 01bb6f9b11..2ef772dd82 100644 --- a/x/ibc/core/03-connection/client/cli/cli.go +++ b/x/ibc/core/03-connection/client/cli/cli.go @@ -3,8 +3,8 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" ) // GetQueryCmd returns the query commands for IBC connections diff --git a/x/ibc/core/03-connection/client/cli/query.go b/x/ibc/core/03-connection/client/cli/query.go index 071410398d..27b9d04819 100644 --- a/x/ibc/core/03-connection/client/cli/query.go +++ b/x/ibc/core/03-connection/client/cli/query.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/client/utils" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/client/utils" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // GetCmdQueryConnections defines the command to query all the connection ends diff --git a/x/ibc/core/03-connection/client/cli/tx.go b/x/ibc/core/03-connection/client/cli/tx.go index 339e2e9770..18971c0452 100644 --- a/x/ibc/core/03-connection/client/cli/tx.go +++ b/x/ibc/core/03-connection/client/cli/tx.go @@ -8,15 +8,15 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/version" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/client/utils" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/version" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/client/utils" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) const ( diff --git a/x/ibc/core/03-connection/client/utils/utils.go b/x/ibc/core/03-connection/client/utils/utils.go index e1eb1ce00c..b9e929e9b4 100644 --- a/x/ibc/core/03-connection/client/utils/utils.go +++ b/x/ibc/core/03-connection/client/utils/utils.go @@ -7,16 +7,16 @@ import ( "github.com/pkg/errors" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clientutils "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/client/utils" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - ibcclient "github.com/cosmos/cosmos-sdk/x/ibc/core/client" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clientutils "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/client/utils" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + ibcclient "github.com/line/lbm-sdk/v2/x/ibc/core/client" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // QueryConnection returns a connection end. diff --git a/x/ibc/core/03-connection/genesis.go b/x/ibc/core/03-connection/genesis.go index a1bb30f1fe..47a1ca7c41 100644 --- a/x/ibc/core/03-connection/genesis.go +++ b/x/ibc/core/03-connection/genesis.go @@ -1,9 +1,9 @@ package connection import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" ) // InitGenesis initializes the ibc connection submodule's state from a provided genesis diff --git a/x/ibc/core/03-connection/keeper/grpc_query.go b/x/ibc/core/03-connection/keeper/grpc_query.go index 62b1c00a34..d8dd180e14 100644 --- a/x/ibc/core/03-connection/keeper/grpc_query.go +++ b/x/ibc/core/03-connection/keeper/grpc_query.go @@ -6,13 +6,13 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/query" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) var _ types.QueryServer = Keeper{} diff --git a/x/ibc/core/03-connection/keeper/grpc_query_test.go b/x/ibc/core/03-connection/keeper/grpc_query_test.go index 14fdb425d9..89e58bf510 100644 --- a/x/ibc/core/03-connection/keeper/grpc_query_test.go +++ b/x/ibc/core/03-connection/keeper/grpc_query_test.go @@ -3,13 +3,13 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *KeeperTestSuite) TestQueryConnection() { diff --git a/x/ibc/core/03-connection/keeper/handshake.go b/x/ibc/core/03-connection/keeper/handshake.go index b8f7466f15..6220c547d6 100644 --- a/x/ibc/core/03-connection/keeper/handshake.go +++ b/x/ibc/core/03-connection/keeper/handshake.go @@ -5,13 +5,13 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // ConnOpenInit initialises a connection attempt on chain A. The generated connection identifier diff --git a/x/ibc/core/03-connection/keeper/handshake_test.go b/x/ibc/core/03-connection/keeper/handshake_test.go index 101c061a75..35a6329bfa 100644 --- a/x/ibc/core/03-connection/keeper/handshake_test.go +++ b/x/ibc/core/03-connection/keeper/handshake_test.go @@ -3,11 +3,11 @@ package keeper_test import ( "time" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) // TestConnOpenInit - chainA initializes (INIT state) a connection with diff --git a/x/ibc/core/03-connection/keeper/keeper.go b/x/ibc/core/03-connection/keeper/keeper.go index 6637268687..e6882b80df 100644 --- a/x/ibc/core/03-connection/keeper/keeper.go +++ b/x/ibc/core/03-connection/keeper/keeper.go @@ -3,14 +3,14 @@ package keeper import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // Keeper defines the IBC connection keeper diff --git a/x/ibc/core/03-connection/keeper/keeper_test.go b/x/ibc/core/03-connection/keeper/keeper_test.go index f2a1124b55..5683facc8b 100644 --- a/x/ibc/core/03-connection/keeper/keeper_test.go +++ b/x/ibc/core/03-connection/keeper/keeper_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type KeeperTestSuite struct { diff --git a/x/ibc/core/03-connection/keeper/verify.go b/x/ibc/core/03-connection/keeper/verify.go index ddb1ea6b96..a4cb41457f 100644 --- a/x/ibc/core/03-connection/keeper/verify.go +++ b/x/ibc/core/03-connection/keeper/verify.go @@ -1,10 +1,10 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // VerifyClientState verifies a proof of a client state of the running machine diff --git a/x/ibc/core/03-connection/keeper/verify_test.go b/x/ibc/core/03-connection/keeper/verify_test.go index 2d94955d8e..c50cbdc058 100644 --- a/x/ibc/core/03-connection/keeper/verify_test.go +++ b/x/ibc/core/03-connection/keeper/verify_test.go @@ -4,14 +4,14 @@ import ( "fmt" "time" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibcmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibcmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) var defaultTimeoutHeight = clienttypes.NewHeight(0, 100000) diff --git a/x/ibc/core/03-connection/module.go b/x/ibc/core/03-connection/module.go index 6100caa462..22650d288f 100644 --- a/x/ibc/core/03-connection/module.go +++ b/x/ibc/core/03-connection/module.go @@ -4,8 +4,8 @@ import ( "github.com/gogo/protobuf/grpc" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/client/cli" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/client/cli" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" ) // Name returns the IBC connection ICS name. diff --git a/x/ibc/core/03-connection/simulation/decoder.go b/x/ibc/core/03-connection/simulation/decoder.go index ef988a103f..7c99a9df57 100644 --- a/x/ibc/core/03-connection/simulation/decoder.go +++ b/x/ibc/core/03-connection/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/ibc/core/03-connection/simulation/decoder_test.go b/x/ibc/core/03-connection/simulation/decoder_test.go index 673bf64006..2b0773a933 100644 --- a/x/ibc/core/03-connection/simulation/decoder_test.go +++ b/x/ibc/core/03-connection/simulation/decoder_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) func TestDecodeStore(t *testing.T) { diff --git a/x/ibc/core/03-connection/simulation/genesis.go b/x/ibc/core/03-connection/simulation/genesis.go index 43b0823776..89566dfb6f 100644 --- a/x/ibc/core/03-connection/simulation/genesis.go +++ b/x/ibc/core/03-connection/simulation/genesis.go @@ -3,8 +3,8 @@ package simulation import ( "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" ) // GenConnectionGenesis returns the default connection genesis state. diff --git a/x/ibc/core/03-connection/types/codec.go b/x/ibc/core/03-connection/types/codec.go index 6105fa9ee1..1a5f623a52 100644 --- a/x/ibc/core/03-connection/types/codec.go +++ b/x/ibc/core/03-connection/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // RegisterInterfaces register the ibc interfaces submodule implementations to protobuf diff --git a/x/ibc/core/03-connection/types/connection.go b/x/ibc/core/03-connection/types/connection.go index 197af83cad..bb253f8ee9 100644 --- a/x/ibc/core/03-connection/types/connection.go +++ b/x/ibc/core/03-connection/types/connection.go @@ -1,10 +1,10 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.ConnectionI = (*ConnectionEnd)(nil) diff --git a/x/ibc/core/03-connection/types/connection.pb.go b/x/ibc/core/03-connection/types/connection.pb.go index 14b85c62d4..ed2560fe38 100644 --- a/x/ibc/core/03-connection/types/connection.pb.go +++ b/x/ibc/core/03-connection/types/connection.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" io "io" math "math" math_bits "math/bits" diff --git a/x/ibc/core/03-connection/types/connection_test.go b/x/ibc/core/03-connection/types/connection_test.go index e7e91538c4..9a289b6a93 100644 --- a/x/ibc/core/03-connection/types/connection_test.go +++ b/x/ibc/core/03-connection/types/connection_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) var ( diff --git a/x/ibc/core/03-connection/types/errors.go b/x/ibc/core/03-connection/types/errors.go index 107a0e087c..91e661e221 100644 --- a/x/ibc/core/03-connection/types/errors.go +++ b/x/ibc/core/03-connection/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // IBC connection sentinel errors diff --git a/x/ibc/core/03-connection/types/events.go b/x/ibc/core/03-connection/types/events.go index 3cb5997bd1..69a3b076ed 100644 --- a/x/ibc/core/03-connection/types/events.go +++ b/x/ibc/core/03-connection/types/events.go @@ -3,7 +3,7 @@ package types import ( "fmt" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // IBC connection events diff --git a/x/ibc/core/03-connection/types/expected_keepers.go b/x/ibc/core/03-connection/types/expected_keepers.go index 9fc9958671..824481e436 100644 --- a/x/ibc/core/03-connection/types/expected_keepers.go +++ b/x/ibc/core/03-connection/types/expected_keepers.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // ClientKeeper expected account IBC client keeper diff --git a/x/ibc/core/03-connection/types/genesis.go b/x/ibc/core/03-connection/types/genesis.go index b10c300a84..ece3519226 100644 --- a/x/ibc/core/03-connection/types/genesis.go +++ b/x/ibc/core/03-connection/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // NewConnectionPaths creates a ConnectionPaths instance. diff --git a/x/ibc/core/03-connection/types/genesis_test.go b/x/ibc/core/03-connection/types/genesis_test.go index 846837f9af..3817fd710a 100644 --- a/x/ibc/core/03-connection/types/genesis_test.go +++ b/x/ibc/core/03-connection/types/genesis_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func TestValidateGenesis(t *testing.T) { diff --git a/x/ibc/core/03-connection/types/keys.go b/x/ibc/core/03-connection/types/keys.go index 65af565c2a..18eeccae3f 100644 --- a/x/ibc/core/03-connection/types/keys.go +++ b/x/ibc/core/03-connection/types/keys.go @@ -4,8 +4,8 @@ import ( "fmt" "regexp" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) const ( diff --git a/x/ibc/core/03-connection/types/keys_test.go b/x/ibc/core/03-connection/types/keys_test.go index 6adb8090f8..b18ca701e4 100644 --- a/x/ibc/core/03-connection/types/keys_test.go +++ b/x/ibc/core/03-connection/types/keys_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" ) // tests ParseConnectionSequence and IsValidConnectionID diff --git a/x/ibc/core/03-connection/types/msgs.go b/x/ibc/core/03-connection/types/msgs.go index 3ba1aed8e7..91c4644c39 100644 --- a/x/ibc/core/03-connection/types/msgs.go +++ b/x/ibc/core/03-connection/types/msgs.go @@ -1,13 +1,13 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/core/03-connection/types/msgs_test.go b/x/ibc/core/03-connection/types/msgs_test.go index 57c1925f66..0a486eec29 100644 --- a/x/ibc/core/03-connection/types/msgs_test.go +++ b/x/ibc/core/03-connection/types/msgs_test.go @@ -10,16 +10,16 @@ import ( abci "github.com/tendermint/tendermint/abci/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/store/iavl" + "github.com/line/lbm-sdk/v2/store/rootmulti" + storetypes "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) var ( diff --git a/x/ibc/core/03-connection/types/query.go b/x/ibc/core/03-connection/types/query.go index 7661b38d9b..e9fa99fb13 100644 --- a/x/ibc/core/03-connection/types/query.go +++ b/x/ibc/core/03-connection/types/query.go @@ -1,9 +1,9 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/core/03-connection/types/query.pb.go b/x/ibc/core/03-connection/types/query.pb.go index 6796cdb1f8..2e53ef6b14 100644 --- a/x/ibc/core/03-connection/types/query.pb.go +++ b/x/ibc/core/03-connection/types/query.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" - types "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types1 "github.com/line/lbm-sdk/v2/codec/types" + query "github.com/line/lbm-sdk/v2/types/query" + types "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/ibc/core/03-connection/types/tx.pb.go b/x/ibc/core/03-connection/types/tx.pb.go index 00e4fd9d0b..7e53d37c91 100644 --- a/x/ibc/core/03-connection/types/tx.pb.go +++ b/x/ibc/core/03-connection/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - types1 "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + types1 "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/ibc/core/03-connection/types/version.go b/x/ibc/core/03-connection/types/version.go index 10c5b33d28..88f5903863 100644 --- a/x/ibc/core/03-connection/types/version.go +++ b/x/ibc/core/03-connection/types/version.go @@ -3,8 +3,8 @@ package types import ( "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/core/03-connection/types/version_test.go b/x/ibc/core/03-connection/types/version_test.go index 8f882dd327..3c2a5b0f24 100644 --- a/x/ibc/core/03-connection/types/version_test.go +++ b/x/ibc/core/03-connection/types/version_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func TestValidateVersion(t *testing.T) { diff --git a/x/ibc/core/04-channel/client/cli/cli.go b/x/ibc/core/04-channel/client/cli/cli.go index baf386feca..cd54b9003e 100644 --- a/x/ibc/core/04-channel/client/cli/cli.go +++ b/x/ibc/core/04-channel/client/cli/cli.go @@ -3,8 +3,8 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // GetQueryCmd returns the query commands for IBC channels diff --git a/x/ibc/core/04-channel/client/cli/query.go b/x/ibc/core/04-channel/client/cli/query.go index 5d059c08cf..80e16c16ea 100644 --- a/x/ibc/core/04-channel/client/cli/query.go +++ b/x/ibc/core/04-channel/client/cli/query.go @@ -7,12 +7,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/client/utils" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/client/utils" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) const ( diff --git a/x/ibc/core/04-channel/client/cli/tx.go b/x/ibc/core/04-channel/client/cli/tx.go index 21aafba194..75ec795c27 100644 --- a/x/ibc/core/04-channel/client/cli/tx.go +++ b/x/ibc/core/04-channel/client/cli/tx.go @@ -6,13 +6,13 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - ibctransfertypes "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectionutils "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/client/utils" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + ibctransfertypes "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectionutils "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/client/utils" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // IBC Channel flags diff --git a/x/ibc/core/04-channel/client/utils/utils.go b/x/ibc/core/04-channel/client/utils/utils.go index 167e05d048..4582dbabbb 100644 --- a/x/ibc/core/04-channel/client/utils/utils.go +++ b/x/ibc/core/04-channel/client/utils/utils.go @@ -4,15 +4,15 @@ import ( "context" "encoding/binary" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clientutils "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/client/utils" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - ibcclient "github.com/cosmos/cosmos-sdk/x/ibc/core/client" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clientutils "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/client/utils" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + ibcclient "github.com/line/lbm-sdk/v2/x/ibc/core/client" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // QueryChannel returns a channel end. diff --git a/x/ibc/core/04-channel/genesis.go b/x/ibc/core/04-channel/genesis.go index 07fad47d77..201cdfb0d1 100644 --- a/x/ibc/core/04-channel/genesis.go +++ b/x/ibc/core/04-channel/genesis.go @@ -1,9 +1,9 @@ package channel import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // InitGenesis initializes the ibc channel submodule's state from a provided genesis diff --git a/x/ibc/core/04-channel/handler.go b/x/ibc/core/04-channel/handler.go index 375c35263e..d73986d674 100644 --- a/x/ibc/core/04-channel/handler.go +++ b/x/ibc/core/04-channel/handler.go @@ -1,11 +1,11 @@ package channel import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // HandleMsgChannelOpenInit defines the sdk.Handler for MsgChannelOpenInit diff --git a/x/ibc/core/04-channel/keeper/grpc_query.go b/x/ibc/core/04-channel/keeper/grpc_query.go index 30df0a33ac..353f705caf 100644 --- a/x/ibc/core/04-channel/keeper/grpc_query.go +++ b/x/ibc/core/04-channel/keeper/grpc_query.go @@ -8,14 +8,14 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/query" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) var _ types.QueryServer = (*Keeper)(nil) diff --git a/x/ibc/core/04-channel/keeper/grpc_query_test.go b/x/ibc/core/04-channel/keeper/grpc_query_test.go index 689c241c7b..4848a4f723 100644 --- a/x/ibc/core/04-channel/keeper/grpc_query_test.go +++ b/x/ibc/core/04-channel/keeper/grpc_query_test.go @@ -3,13 +3,13 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *KeeperTestSuite) TestQueryChannel() { diff --git a/x/ibc/core/04-channel/keeper/handshake.go b/x/ibc/core/04-channel/keeper/handshake.go index b7cff480c9..e6aa555ebe 100644 --- a/x/ibc/core/04-channel/keeper/handshake.go +++ b/x/ibc/core/04-channel/keeper/handshake.go @@ -1,15 +1,15 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - porttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + porttypes "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CounterpartyHops returns the connection hops of the counterparty channel. diff --git a/x/ibc/core/04-channel/keeper/handshake_test.go b/x/ibc/core/04-channel/keeper/handshake_test.go index 120e1f8fe2..71547c8cee 100644 --- a/x/ibc/core/04-channel/keeper/handshake_test.go +++ b/x/ibc/core/04-channel/keeper/handshake_test.go @@ -3,13 +3,13 @@ package keeper_test import ( "fmt" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type testCase = struct { diff --git a/x/ibc/core/04-channel/keeper/keeper.go b/x/ibc/core/04-channel/keeper/keeper.go index 60452f315b..6593954307 100644 --- a/x/ibc/core/04-channel/keeper/keeper.go +++ b/x/ibc/core/04-channel/keeper/keeper.go @@ -7,17 +7,17 @@ import ( "github.com/tendermint/tendermint/libs/log" db "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - porttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + capabilitykeeper "github.com/line/lbm-sdk/v2/x/capability/keeper" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + porttypes "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // Keeper defines the IBC channel keeper diff --git a/x/ibc/core/04-channel/keeper/keeper_test.go b/x/ibc/core/04-channel/keeper/keeper_test.go index a9b7dd6cf1..5b384b6325 100644 --- a/x/ibc/core/04-channel/keeper/keeper_test.go +++ b/x/ibc/core/04-channel/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) // KeeperTestSuite is a testing suite to test keeper functions. diff --git a/x/ibc/core/04-channel/keeper/packet.go b/x/ibc/core/04-channel/keeper/packet.go index 49b59733c5..9a7887fbe1 100644 --- a/x/ibc/core/04-channel/keeper/packet.go +++ b/x/ibc/core/04-channel/keeper/packet.go @@ -5,14 +5,14 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // SendPacket is called by a module in order to send an IBC packet on a channel diff --git a/x/ibc/core/04-channel/keeper/packet_test.go b/x/ibc/core/04-channel/keeper/packet_test.go index 232e687582..da063741af 100644 --- a/x/ibc/core/04-channel/keeper/packet_test.go +++ b/x/ibc/core/04-channel/keeper/packet_test.go @@ -3,14 +3,14 @@ package keeper_test import ( "fmt" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibcmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibcmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) var ( diff --git a/x/ibc/core/04-channel/keeper/timeout.go b/x/ibc/core/04-channel/keeper/timeout.go index 1f3dac918f..085e78bf2e 100644 --- a/x/ibc/core/04-channel/keeper/timeout.go +++ b/x/ibc/core/04-channel/keeper/timeout.go @@ -4,13 +4,13 @@ import ( "bytes" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // TimeoutPacket is called by a module which originally attempted to send a diff --git a/x/ibc/core/04-channel/keeper/timeout_test.go b/x/ibc/core/04-channel/keeper/timeout_test.go index 640452e881..772ff8646b 100644 --- a/x/ibc/core/04-channel/keeper/timeout_test.go +++ b/x/ibc/core/04-channel/keeper/timeout_test.go @@ -3,12 +3,12 @@ package keeper_test import ( "fmt" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) // TestTimeoutPacket test the TimeoutPacket call on chainA by ensuring the timeout has passed diff --git a/x/ibc/core/04-channel/module.go b/x/ibc/core/04-channel/module.go index 569120ad92..8249af3e0b 100644 --- a/x/ibc/core/04-channel/module.go +++ b/x/ibc/core/04-channel/module.go @@ -4,8 +4,8 @@ import ( "github.com/gogo/protobuf/grpc" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/client/cli" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/client/cli" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // Name returns the IBC channel ICS name. diff --git a/x/ibc/core/04-channel/simulation/decoder.go b/x/ibc/core/04-channel/simulation/decoder.go index 809976cc0e..61d84581fb 100644 --- a/x/ibc/core/04-channel/simulation/decoder.go +++ b/x/ibc/core/04-channel/simulation/decoder.go @@ -4,11 +4,11 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/ibc/core/04-channel/simulation/decoder_test.go b/x/ibc/core/04-channel/simulation/decoder_test.go index 5f2ba2f5ec..a288f54d2b 100644 --- a/x/ibc/core/04-channel/simulation/decoder_test.go +++ b/x/ibc/core/04-channel/simulation/decoder_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) func TestDecodeStore(t *testing.T) { diff --git a/x/ibc/core/04-channel/simulation/genesis.go b/x/ibc/core/04-channel/simulation/genesis.go index ed33902191..65f567d59c 100644 --- a/x/ibc/core/04-channel/simulation/genesis.go +++ b/x/ibc/core/04-channel/simulation/genesis.go @@ -3,8 +3,8 @@ package simulation import ( "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // GenChannelGenesis returns the default channel genesis state. diff --git a/x/ibc/core/04-channel/types/channel.go b/x/ibc/core/04-channel/types/channel.go index 8513a8123d..cd2327294e 100644 --- a/x/ibc/core/04-channel/types/channel.go +++ b/x/ibc/core/04-channel/types/channel.go @@ -3,10 +3,10 @@ package types import ( "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/core/04-channel/types/channel.pb.go b/x/ibc/core/04-channel/types/channel.pb.go index 1384a150d5..c062b0434a 100644 --- a/x/ibc/core/04-channel/types/channel.pb.go +++ b/x/ibc/core/04-channel/types/channel.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" io "io" math "math" math_bits "math/bits" diff --git a/x/ibc/core/04-channel/types/channel_test.go b/x/ibc/core/04-channel/types/channel_test.go index 30fee4443b..1cea1c7e06 100644 --- a/x/ibc/core/04-channel/types/channel_test.go +++ b/x/ibc/core/04-channel/types/channel_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) func TestChannelValidateBasic(t *testing.T) { diff --git a/x/ibc/core/04-channel/types/codec.go b/x/ibc/core/04-channel/types/codec.go index a74f0a7fc9..1b5e76517d 100644 --- a/x/ibc/core/04-channel/types/codec.go +++ b/x/ibc/core/04-channel/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // RegisterInterfaces register the ibc channel submodule interfaces to protobuf diff --git a/x/ibc/core/04-channel/types/errors.go b/x/ibc/core/04-channel/types/errors.go index 82cf773057..27ade179f6 100644 --- a/x/ibc/core/04-channel/types/errors.go +++ b/x/ibc/core/04-channel/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // IBC channel sentinel errors diff --git a/x/ibc/core/04-channel/types/events.go b/x/ibc/core/04-channel/types/events.go index b9ddb3052c..586da8234d 100644 --- a/x/ibc/core/04-channel/types/events.go +++ b/x/ibc/core/04-channel/types/events.go @@ -3,7 +3,7 @@ package types import ( "fmt" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // IBC channel events diff --git a/x/ibc/core/04-channel/types/expected_keepers.go b/x/ibc/core/04-channel/types/expected_keepers.go index d3b74b7e29..b5116f4659 100644 --- a/x/ibc/core/04-channel/types/expected_keepers.go +++ b/x/ibc/core/04-channel/types/expected_keepers.go @@ -1,10 +1,10 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // ClientKeeper expected account IBC client keeper diff --git a/x/ibc/core/04-channel/types/genesis.go b/x/ibc/core/04-channel/types/genesis.go index 2c431e97b3..a14d67d933 100644 --- a/x/ibc/core/04-channel/types/genesis.go +++ b/x/ibc/core/04-channel/types/genesis.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // NewPacketState creates a new PacketState instance. diff --git a/x/ibc/core/04-channel/types/genesis_test.go b/x/ibc/core/04-channel/types/genesis_test.go index a0d21007a7..fbea433674 100644 --- a/x/ibc/core/04-channel/types/genesis_test.go +++ b/x/ibc/core/04-channel/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) const ( diff --git a/x/ibc/core/04-channel/types/keys.go b/x/ibc/core/04-channel/types/keys.go index d3a6cde24d..533085291e 100644 --- a/x/ibc/core/04-channel/types/keys.go +++ b/x/ibc/core/04-channel/types/keys.go @@ -4,8 +4,8 @@ import ( "fmt" "regexp" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) const ( diff --git a/x/ibc/core/04-channel/types/keys_test.go b/x/ibc/core/04-channel/types/keys_test.go index 9bc6500b9a..9736ec05b5 100644 --- a/x/ibc/core/04-channel/types/keys_test.go +++ b/x/ibc/core/04-channel/types/keys_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // tests ParseChannelSequence and IsValidChannelID diff --git a/x/ibc/core/04-channel/types/msgs.go b/x/ibc/core/04-channel/types/msgs.go index da14a31030..bbf1cce0e5 100644 --- a/x/ibc/core/04-channel/types/msgs.go +++ b/x/ibc/core/04-channel/types/msgs.go @@ -3,11 +3,11 @@ package types import ( "encoding/base64" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) var _ sdk.Msg = &MsgChannelOpenInit{} diff --git a/x/ibc/core/04-channel/types/msgs_test.go b/x/ibc/core/04-channel/types/msgs_test.go index 9c27fd69ef..93485299b0 100644 --- a/x/ibc/core/04-channel/types/msgs_test.go +++ b/x/ibc/core/04-channel/types/msgs_test.go @@ -9,15 +9,15 @@ import ( abci "github.com/tendermint/tendermint/abci/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/store/iavl" + "github.com/line/lbm-sdk/v2/store/rootmulti" + storetypes "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) const ( diff --git a/x/ibc/core/04-channel/types/packet.go b/x/ibc/core/04-channel/types/packet.go index b5c8d18043..6d4a9c5203 100644 --- a/x/ibc/core/04-channel/types/packet.go +++ b/x/ibc/core/04-channel/types/packet.go @@ -3,12 +3,12 @@ package types import ( "crypto/sha256" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CommitPacket returns the packet commitment bytes. The commitment consists of: diff --git a/x/ibc/core/04-channel/types/packet_test.go b/x/ibc/core/04-channel/types/packet_test.go index 12ed828e66..f67bf12cb6 100644 --- a/x/ibc/core/04-channel/types/packet_test.go +++ b/x/ibc/core/04-channel/types/packet_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) func TestCommitPacket(t *testing.T) { diff --git a/x/ibc/core/04-channel/types/query.go b/x/ibc/core/04-channel/types/query.go index d1536dfc05..287c4daae3 100644 --- a/x/ibc/core/04-channel/types/query.go +++ b/x/ibc/core/04-channel/types/query.go @@ -1,9 +1,9 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/core/04-channel/types/query.pb.go b/x/ibc/core/04-channel/types/query.pb.go index c5cbd6e8f8..025142fb4e 100644 --- a/x/ibc/core/04-channel/types/query.pb.go +++ b/x/ibc/core/04-channel/types/query.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" - types "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types1 "github.com/line/lbm-sdk/v2/codec/types" + query "github.com/line/lbm-sdk/v2/types/query" + types "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/ibc/core/04-channel/types/tx.pb.go b/x/ibc/core/04-channel/types/tx.pb.go index df6a9653f6..e47841b960 100644 --- a/x/ibc/core/04-channel/types/tx.pb.go +++ b/x/ibc/core/04-channel/types/tx.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/ibc/core/05-port/keeper/keeper.go b/x/ibc/core/05-port/keeper/keeper.go index 8a4b2300a4..a1293c8d5c 100644 --- a/x/ibc/core/05-port/keeper/keeper.go +++ b/x/ibc/core/05-port/keeper/keeper.go @@ -5,11 +5,11 @@ import ( "github.com/tendermint/tendermint/libs/log" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + sdk "github.com/line/lbm-sdk/v2/types" + capabilitykeeper "github.com/line/lbm-sdk/v2/x/capability/keeper" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // Keeper defines the IBC connection keeper diff --git a/x/ibc/core/05-port/keeper/keeper_test.go b/x/ibc/core/05-port/keeper/keeper_test.go index 29c0e15857..23e7dff10c 100644 --- a/x/ibc/core/05-port/keeper/keeper_test.go +++ b/x/ibc/core/05-port/keeper/keeper_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/keeper" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/keeper" ) var ( diff --git a/x/ibc/core/05-port/types/errors.go b/x/ibc/core/05-port/types/errors.go index 23a2776f59..00ab4c6410 100644 --- a/x/ibc/core/05-port/types/errors.go +++ b/x/ibc/core/05-port/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // IBC port sentinel errors diff --git a/x/ibc/core/05-port/types/module.go b/x/ibc/core/05-port/types/module.go index 4c68673201..987e10af28 100644 --- a/x/ibc/core/05-port/types/module.go +++ b/x/ibc/core/05-port/types/module.go @@ -1,10 +1,10 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // IBCModule defines an interface that implements all the callbacks diff --git a/x/ibc/core/05-port/types/router.go b/x/ibc/core/05-port/types/router.go index 6bfba9076a..385c7628c6 100644 --- a/x/ibc/core/05-port/types/router.go +++ b/x/ibc/core/05-port/types/router.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // The router is a map from module name to the IBCModule diff --git a/x/ibc/core/23-commitment/types/codec.go b/x/ibc/core/23-commitment/types/codec.go index 1195c7c26d..3d461808b9 100644 --- a/x/ibc/core/23-commitment/types/codec.go +++ b/x/ibc/core/23-commitment/types/codec.go @@ -1,8 +1,8 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // RegisterInterfaces registers the commitment interfaces to protobuf Any. diff --git a/x/ibc/core/23-commitment/types/commitment_test.go b/x/ibc/core/23-commitment/types/commitment_test.go index 932599e539..2d49d5c093 100644 --- a/x/ibc/core/23-commitment/types/commitment_test.go +++ b/x/ibc/core/23-commitment/types/commitment_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/line/lbm-sdk/v2/store/iavl" + "github.com/line/lbm-sdk/v2/store/rootmulti" + storetypes "github.com/line/lbm-sdk/v2/store/types" dbm "github.com/tendermint/tm-db" ) diff --git a/x/ibc/core/23-commitment/types/errors.go b/x/ibc/core/23-commitment/types/errors.go index 7191baef1c..5361cb0bf1 100644 --- a/x/ibc/core/23-commitment/types/errors.go +++ b/x/ibc/core/23-commitment/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // SubModuleName is the error codespace diff --git a/x/ibc/core/23-commitment/types/merkle.go b/x/ibc/core/23-commitment/types/merkle.go index e90fccc34b..817b596a87 100644 --- a/x/ibc/core/23-commitment/types/merkle.go +++ b/x/ibc/core/23-commitment/types/merkle.go @@ -9,8 +9,8 @@ import ( "github.com/gogo/protobuf/proto" tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // var representing the proofspecs for a SDK chain diff --git a/x/ibc/core/23-commitment/types/merkle_test.go b/x/ibc/core/23-commitment/types/merkle_test.go index 3c53847fad..5b1d97bf75 100644 --- a/x/ibc/core/23-commitment/types/merkle_test.go +++ b/x/ibc/core/23-commitment/types/merkle_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" ) func (suite *MerkleTestSuite) TestVerifyMembership() { diff --git a/x/ibc/core/23-commitment/types/utils.go b/x/ibc/core/23-commitment/types/utils.go index e662f77265..ac771507fe 100644 --- a/x/ibc/core/23-commitment/types/utils.go +++ b/x/ibc/core/23-commitment/types/utils.go @@ -4,7 +4,7 @@ import ( ics23 "github.com/confio/ics23/go" crypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // ConvertProofs converts crypto.ProofOps into MerkleProof diff --git a/x/ibc/core/23-commitment/types/utils_test.go b/x/ibc/core/23-commitment/types/utils_test.go index f852fb6c2c..2fd75fde52 100644 --- a/x/ibc/core/23-commitment/types/utils_test.go +++ b/x/ibc/core/23-commitment/types/utils_test.go @@ -7,7 +7,7 @@ import ( abci "github.com/tendermint/tendermint/abci/types" crypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" ) func (suite *MerkleTestSuite) TestConvertProofs() { diff --git a/x/ibc/core/24-host/errors.go b/x/ibc/core/24-host/errors.go index fe8129bde8..d12b9be231 100644 --- a/x/ibc/core/24-host/errors.go +++ b/x/ibc/core/24-host/errors.go @@ -1,7 +1,7 @@ package host import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // SubModuleName defines the ICS 24 host diff --git a/x/ibc/core/24-host/keys.go b/x/ibc/core/24-host/keys.go index 21f4bc4309..3bf3c8e73c 100644 --- a/x/ibc/core/24-host/keys.go +++ b/x/ibc/core/24-host/keys.go @@ -3,7 +3,7 @@ package host import ( "fmt" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) const ( diff --git a/x/ibc/core/24-host/parse.go b/x/ibc/core/24-host/parse.go index 8c3459500d..2a21b129eb 100644 --- a/x/ibc/core/24-host/parse.go +++ b/x/ibc/core/24-host/parse.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // ParseIdentifier parses the sequence from the identifier using the provided prefix. This function diff --git a/x/ibc/core/24-host/parse_test.go b/x/ibc/core/24-host/parse_test.go index 9f74bf5f68..ab81fdfaf7 100644 --- a/x/ibc/core/24-host/parse_test.go +++ b/x/ibc/core/24-host/parse_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) func TestParseIdentifier(t *testing.T) { diff --git a/x/ibc/core/24-host/validate.go b/x/ibc/core/24-host/validate.go index 10458e8d3a..8be328d4a5 100644 --- a/x/ibc/core/24-host/validate.go +++ b/x/ibc/core/24-host/validate.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // DefaultMaxCharacterLength defines the default maximum character length used diff --git a/x/ibc/core/client/cli/cli.go b/x/ibc/core/client/cli/cli.go index 51bb063a6a..7ca848cb64 100644 --- a/x/ibc/core/client/cli/cli.go +++ b/x/ibc/core/client/cli/cli.go @@ -3,13 +3,13 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - ibcclient "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client" - connection "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection" - channel "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - solomachine "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine" - tendermint "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint" + "github.com/line/lbm-sdk/v2/client" + ibcclient "github.com/line/lbm-sdk/v2/x/ibc/core/02-client" + connection "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection" + channel "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + solomachine "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine" + tendermint "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/ibc/core/client/query.go b/x/ibc/core/client/query.go index 7055f1c740..a9f9ab528b 100644 --- a/x/ibc/core/client/query.go +++ b/x/ibc/core/client/query.go @@ -5,11 +5,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) // QueryTendermintProof performs an ABCI query with the given key and returns @@ -20,7 +20,7 @@ import ( // the correct merkle proof. Proof queries at height less than or equal to 2 are // not supported. Queries with a client context height of 0 will perform a query // at the lastest state available. -// Issue: https://github.com/cosmos/cosmos-sdk/issues/6567 +// Issue: https://github.com/line/lbm-sdk/v2/issues/6567 func QueryTendermintProof(clientCtx client.Context, key []byte) ([]byte, []byte, clienttypes.Height, error) { height := clientCtx.Height diff --git a/x/ibc/core/exported/client.go b/x/ibc/core/exported/client.go index 656a233b3a..6cf02725e6 100644 --- a/x/ibc/core/exported/client.go +++ b/x/ibc/core/exported/client.go @@ -4,8 +4,8 @@ import ( ics23 "github.com/confio/ics23/go" proto "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/ibc/core/genesis.go b/x/ibc/core/genesis.go index 7d5d60b934..bb083c33e5 100644 --- a/x/ibc/core/genesis.go +++ b/x/ibc/core/genesis.go @@ -1,12 +1,12 @@ package ibc import ( - sdk "github.com/cosmos/cosmos-sdk/types" - client "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client" - connection "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection" - channel "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel" - "github.com/cosmos/cosmos-sdk/x/ibc/core/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/types" + sdk "github.com/line/lbm-sdk/v2/types" + client "github.com/line/lbm-sdk/v2/x/ibc/core/02-client" + connection "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection" + channel "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel" + "github.com/line/lbm-sdk/v2/x/ibc/core/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/types" ) // InitGenesis initializes the ibc state from a provided genesis diff --git a/x/ibc/core/genesis_test.go b/x/ibc/core/genesis_test.go index c29feef7f8..fc6701721f 100644 --- a/x/ibc/core/genesis_test.go +++ b/x/ibc/core/genesis_test.go @@ -7,18 +7,18 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - ibc "github.com/cosmos/cosmos-sdk/x/ibc/core" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/core/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - localhosttypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + ibc "github.com/line/lbm-sdk/v2/x/ibc/core" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/core/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + localhosttypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) const ( diff --git a/x/ibc/core/handler.go b/x/ibc/core/handler.go index c8e4dfc898..3e693fbf65 100644 --- a/x/ibc/core/handler.go +++ b/x/ibc/core/handler.go @@ -1,12 +1,12 @@ package ibc import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/keeper" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/keeper" ) // NewHandler defines the IBC handler diff --git a/x/ibc/core/keeper/grpc_query.go b/x/ibc/core/keeper/grpc_query.go index f406d2e86f..ec860744f7 100644 --- a/x/ibc/core/keeper/grpc_query.go +++ b/x/ibc/core/keeper/grpc_query.go @@ -3,9 +3,9 @@ package keeper import ( "context" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // ClientState implements the IBC QueryServer interface diff --git a/x/ibc/core/keeper/keeper.go b/x/ibc/core/keeper/keeper.go index 5f9abc382e..7d0d46f727 100644 --- a/x/ibc/core/keeper/keeper.go +++ b/x/ibc/core/keeper/keeper.go @@ -1,17 +1,17 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - clientkeeper "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/keeper" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectionkeeper "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/keeper" - channelkeeper "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/keeper" - portkeeper "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/keeper" - porttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + capabilitykeeper "github.com/line/lbm-sdk/v2/x/capability/keeper" + clientkeeper "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/keeper" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectionkeeper "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/keeper" + channelkeeper "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/keeper" + portkeeper "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/keeper" + porttypes "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) var _ types.QueryServer = (*Keeper)(nil) diff --git a/x/ibc/core/keeper/msg_server.go b/x/ibc/core/keeper/msg_server.go index dcddcaed16..9aa83b272a 100644 --- a/x/ibc/core/keeper/msg_server.go +++ b/x/ibc/core/keeper/msg_server.go @@ -5,14 +5,14 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channel "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - porttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/05-port/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channel "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + porttypes "github.com/line/lbm-sdk/v2/x/ibc/core/05-port/types" ) var _ clienttypes.MsgServer = Keeper{} diff --git a/x/ibc/core/keeper/msg_server_test.go b/x/ibc/core/keeper/msg_server_test.go index 1af4cdc18e..8a9bef4784 100644 --- a/x/ibc/core/keeper/msg_server_test.go +++ b/x/ibc/core/keeper/msg_server_test.go @@ -5,17 +5,17 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/core/keeper" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibcmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/core/keeper" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibcmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" + upgradetypes "github.com/line/lbm-sdk/v2/x/upgrade/types" ) const height = 10 diff --git a/x/ibc/core/module.go b/x/ibc/core/module.go index 3371dc88a4..0b9e93a721 100644 --- a/x/ibc/core/module.go +++ b/x/ibc/core/module.go @@ -12,21 +12,21 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - ibcclient "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/client/cli" - "github.com/cosmos/cosmos-sdk/x/ibc/core/keeper" - "github.com/cosmos/cosmos-sdk/x/ibc/core/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/core/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + ibcclient "github.com/line/lbm-sdk/v2/x/ibc/core/02-client" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/client/cli" + "github.com/line/lbm-sdk/v2/x/ibc/core/keeper" + "github.com/line/lbm-sdk/v2/x/ibc/core/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/core/types" ) var ( diff --git a/x/ibc/core/simulation/decoder.go b/x/ibc/core/simulation/decoder.go index 459eebb8f0..e76e208374 100644 --- a/x/ibc/core/simulation/decoder.go +++ b/x/ibc/core/simulation/decoder.go @@ -3,12 +3,12 @@ package simulation import ( "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" - clientsim "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/simulation" - connectionsim "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/simulation" - channelsim "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/simulation" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/keeper" + "github.com/line/lbm-sdk/v2/types/kv" + clientsim "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/simulation" + connectionsim "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/simulation" + channelsim "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/simulation" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/keeper" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/ibc/core/simulation/decoder_test.go b/x/ibc/core/simulation/decoder_test.go index 0951572743..0f0c5a55d3 100644 --- a/x/ibc/core/simulation/decoder_test.go +++ b/x/ibc/core/simulation/decoder_test.go @@ -6,14 +6,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/types/kv" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/simulation" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/types/kv" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/simulation" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/ibc/core/simulation/genesis.go b/x/ibc/core/simulation/genesis.go index d71f449250..c317f291b6 100644 --- a/x/ibc/core/simulation/genesis.go +++ b/x/ibc/core/simulation/genesis.go @@ -7,15 +7,15 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" - clientsims "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/simulation" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectionsims "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/simulation" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channelsims "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/simulation" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/types" + "github.com/line/lbm-sdk/v2/types/module" + clientsims "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/simulation" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectionsims "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/simulation" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channelsims "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/simulation" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/types" ) // Simulation parameter constants diff --git a/x/ibc/core/simulation/genesis_test.go b/x/ibc/core/simulation/genesis_test.go index 54aff75ad9..125370a259 100644 --- a/x/ibc/core/simulation/genesis_test.go +++ b/x/ibc/core/simulation/genesis_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/simulation" - "github.com/cosmos/cosmos-sdk/x/ibc/core/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/simulation" + "github.com/line/lbm-sdk/v2/x/ibc/core/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/ibc/core/types/codec.go b/x/ibc/core/types/codec.go index db110ac9d5..8d092def91 100644 --- a/x/ibc/core/types/codec.go +++ b/x/ibc/core/types/codec.go @@ -1,14 +1,14 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - solomachinetypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - localhosttypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + solomachinetypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + localhosttypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" ) // RegisterInterfaces registers x/ibc interfaces into protobuf Any. diff --git a/x/ibc/core/types/genesis.go b/x/ibc/core/types/genesis.go index f7d78e5c11..549eb534ba 100644 --- a/x/ibc/core/types/genesis.go +++ b/x/ibc/core/types/genesis.go @@ -1,10 +1,10 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) var _ codectypes.UnpackInterfacesMessage = GenesisState{} diff --git a/x/ibc/core/types/genesis.pb.go b/x/ibc/core/types/genesis.pb.go index a6f2b17540..db36003fdc 100644 --- a/x/ibc/core/types/genesis.pb.go +++ b/x/ibc/core/types/genesis.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - types1 "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - types2 "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + types1 "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + types2 "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" io "io" math "math" math_bits "math/bits" diff --git a/x/ibc/core/types/query.go b/x/ibc/core/types/query.go index fba69b3a19..07c496665c 100644 --- a/x/ibc/core/types/query.go +++ b/x/ibc/core/types/query.go @@ -3,12 +3,12 @@ package types import ( "github.com/gogo/protobuf/grpc" - client "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connection "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channel "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + client "github.com/line/lbm-sdk/v2/x/ibc/core/02-client" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connection "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channel "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // QueryServer defines the IBC interfaces that the gRPC query server must implement diff --git a/x/ibc/light-clients/06-solomachine/client/cli/cli.go b/x/ibc/light-clients/06-solomachine/client/cli/cli.go index ab44926204..47d37345aa 100644 --- a/x/ibc/light-clients/06-solomachine/client/cli/cli.go +++ b/x/ibc/light-clients/06-solomachine/client/cli/cli.go @@ -3,8 +3,8 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" ) // NewTxCmd returns a root CLI command handler for all solo machine transaction commands. diff --git a/x/ibc/light-clients/06-solomachine/client/cli/tx.go b/x/ibc/light-clients/06-solomachine/client/cli/tx.go index dea2d2ae73..4219c6362c 100644 --- a/x/ibc/light-clients/06-solomachine/client/cli/tx.go +++ b/x/ibc/light-clients/06-solomachine/client/cli/tx.go @@ -8,13 +8,13 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/version" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/version" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" ) const ( diff --git a/x/ibc/light-clients/06-solomachine/module.go b/x/ibc/light-clients/06-solomachine/module.go index bdc7d9c048..596cd828c5 100644 --- a/x/ibc/light-clients/06-solomachine/module.go +++ b/x/ibc/light-clients/06-solomachine/module.go @@ -3,8 +3,8 @@ package solomachine import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/client/cli" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/client/cli" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" ) // Name returns the solo machine client name. diff --git a/x/ibc/light-clients/06-solomachine/types/client_state.go b/x/ibc/light-clients/06-solomachine/types/client_state.go index 24a6582f0f..8da64d2072 100644 --- a/x/ibc/light-clients/06-solomachine/types/client_state.go +++ b/x/ibc/light-clients/06-solomachine/types/client_state.go @@ -5,15 +5,15 @@ import ( ics23 "github.com/confio/ics23/go" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.ClientState = (*ClientState)(nil) diff --git a/x/ibc/light-clients/06-solomachine/types/client_state_test.go b/x/ibc/light-clients/06-solomachine/types/client_state_test.go index 4f6c195c89..87a794fcde 100644 --- a/x/ibc/light-clients/06-solomachine/types/client_state_test.go +++ b/x/ibc/light-clients/06-solomachine/types/client_state_test.go @@ -1,14 +1,14 @@ package types_test import ( - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) const ( diff --git a/x/ibc/light-clients/06-solomachine/types/codec.go b/x/ibc/light-clients/06-solomachine/types/codec.go index 313a910ca9..a8fc438edc 100644 --- a/x/ibc/light-clients/06-solomachine/types/codec.go +++ b/x/ibc/light-clients/06-solomachine/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // RegisterInterfaces register the ibc channel submodule interfaces to protobuf diff --git a/x/ibc/light-clients/06-solomachine/types/codec_test.go b/x/ibc/light-clients/06-solomachine/types/codec_test.go index 70be186a10..58c1e04762 100644 --- a/x/ibc/light-clients/06-solomachine/types/codec_test.go +++ b/x/ibc/light-clients/06-solomachine/types/codec_test.go @@ -1,11 +1,11 @@ package types_test import ( - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite SoloMachineTestSuite) TestUnmarshalDataByType() { diff --git a/x/ibc/light-clients/06-solomachine/types/consensus_state.go b/x/ibc/light-clients/06-solomachine/types/consensus_state.go index 7d6d09cd04..cc7f8d26f8 100644 --- a/x/ibc/light-clients/06-solomachine/types/consensus_state.go +++ b/x/ibc/light-clients/06-solomachine/types/consensus_state.go @@ -3,10 +3,10 @@ package types import ( "strings" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.ConsensusState = &ConsensusState{} diff --git a/x/ibc/light-clients/06-solomachine/types/consensus_state_test.go b/x/ibc/light-clients/06-solomachine/types/consensus_state_test.go index e0c22f9595..c997b00fbc 100644 --- a/x/ibc/light-clients/06-solomachine/types/consensus_state_test.go +++ b/x/ibc/light-clients/06-solomachine/types/consensus_state_test.go @@ -1,9 +1,9 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *SoloMachineTestSuite) TestConsensusState() { diff --git a/x/ibc/light-clients/06-solomachine/types/errors.go b/x/ibc/light-clients/06-solomachine/types/errors.go index 3e27f60732..11541d6783 100644 --- a/x/ibc/light-clients/06-solomachine/types/errors.go +++ b/x/ibc/light-clients/06-solomachine/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/x/ibc/light-clients/06-solomachine/types/header.go b/x/ibc/light-clients/06-solomachine/types/header.go index f9c5f176fd..cdac5b3307 100644 --- a/x/ibc/light-clients/06-solomachine/types/header.go +++ b/x/ibc/light-clients/06-solomachine/types/header.go @@ -3,10 +3,10 @@ package types import ( "strings" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.Header = &Header{} diff --git a/x/ibc/light-clients/06-solomachine/types/header_test.go b/x/ibc/light-clients/06-solomachine/types/header_test.go index a5ca45e8aa..1df421949a 100644 --- a/x/ibc/light-clients/06-solomachine/types/header_test.go +++ b/x/ibc/light-clients/06-solomachine/types/header_test.go @@ -1,9 +1,9 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *SoloMachineTestSuite) TestHeaderValidateBasic() { diff --git a/x/ibc/light-clients/06-solomachine/types/misbehaviour.go b/x/ibc/light-clients/06-solomachine/types/misbehaviour.go index 65b8a4ee47..b3b753058c 100644 --- a/x/ibc/light-clients/06-solomachine/types/misbehaviour.go +++ b/x/ibc/light-clients/06-solomachine/types/misbehaviour.go @@ -3,10 +3,10 @@ package types import ( "bytes" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/light-clients/06-solomachine/types/misbehaviour_handle.go b/x/ibc/light-clients/06-solomachine/types/misbehaviour_handle.go index ce5d6351c4..b33d1d0891 100644 --- a/x/ibc/light-clients/06-solomachine/types/misbehaviour_handle.go +++ b/x/ibc/light-clients/06-solomachine/types/misbehaviour_handle.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CheckMisbehaviourAndUpdateState determines whether or not the currently registered diff --git a/x/ibc/light-clients/06-solomachine/types/misbehaviour_handle_test.go b/x/ibc/light-clients/06-solomachine/types/misbehaviour_handle_test.go index 97ce22a3ed..e66c3f0068 100644 --- a/x/ibc/light-clients/06-solomachine/types/misbehaviour_handle_test.go +++ b/x/ibc/light-clients/06-solomachine/types/misbehaviour_handle_test.go @@ -1,10 +1,10 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *SoloMachineTestSuite) TestCheckMisbehaviourAndUpdateState() { diff --git a/x/ibc/light-clients/06-solomachine/types/misbehaviour_test.go b/x/ibc/light-clients/06-solomachine/types/misbehaviour_test.go index 7c1f9168aa..f2211c4db2 100644 --- a/x/ibc/light-clients/06-solomachine/types/misbehaviour_test.go +++ b/x/ibc/light-clients/06-solomachine/types/misbehaviour_test.go @@ -1,9 +1,9 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *SoloMachineTestSuite) TestMisbehaviour() { diff --git a/x/ibc/light-clients/06-solomachine/types/proof.go b/x/ibc/light-clients/06-solomachine/types/proof.go index 6c2e0b8428..fd531f68b8 100644 --- a/x/ibc/light-clients/06-solomachine/types/proof.go +++ b/x/ibc/light-clients/06-solomachine/types/proof.go @@ -1,16 +1,16 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/tx/signing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // VerifySignature verifies if the the provided public key generated the signature diff --git a/x/ibc/light-clients/06-solomachine/types/proof_test.go b/x/ibc/light-clients/06-solomachine/types/proof_test.go index e2ba679a5b..c1086f2098 100644 --- a/x/ibc/light-clients/06-solomachine/types/proof_test.go +++ b/x/ibc/light-clients/06-solomachine/types/proof_test.go @@ -1,11 +1,11 @@ package types_test import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - solomachinetypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/types/tx/signing" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + solomachinetypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *SoloMachineTestSuite) TestVerifySignature() { diff --git a/x/ibc/light-clients/06-solomachine/types/proposal_handle.go b/x/ibc/light-clients/06-solomachine/types/proposal_handle.go index b55e612b3c..8d6de1a6da 100644 --- a/x/ibc/light-clients/06-solomachine/types/proposal_handle.go +++ b/x/ibc/light-clients/06-solomachine/types/proposal_handle.go @@ -3,11 +3,11 @@ package types import ( "reflect" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CheckProposedHeaderAndUpdateState updates the consensus state to the header's sequence and diff --git a/x/ibc/light-clients/06-solomachine/types/proposal_handle_test.go b/x/ibc/light-clients/06-solomachine/types/proposal_handle_test.go index da5c815ecb..3604ecdad2 100644 --- a/x/ibc/light-clients/06-solomachine/types/proposal_handle_test.go +++ b/x/ibc/light-clients/06-solomachine/types/proposal_handle_test.go @@ -1,10 +1,10 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *SoloMachineTestSuite) TestCheckProposedHeaderAndUpdateState() { diff --git a/x/ibc/light-clients/06-solomachine/types/solomachine.go b/x/ibc/light-clients/06-solomachine/types/solomachine.go index d3936ef427..dd87e9f403 100644 --- a/x/ibc/light-clients/06-solomachine/types/solomachine.go +++ b/x/ibc/light-clients/06-solomachine/types/solomachine.go @@ -1,9 +1,9 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // Interface implementation checks. diff --git a/x/ibc/light-clients/06-solomachine/types/solomachine.pb.go b/x/ibc/light-clients/06-solomachine/types/solomachine.pb.go index 8b31fb0d41..4b227994b5 100644 --- a/x/ibc/light-clients/06-solomachine/types/solomachine.pb.go +++ b/x/ibc/light-clients/06-solomachine/types/solomachine.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - types1 "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - types2 "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" + types1 "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + types2 "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" io "io" math "math" math_bits "math/bits" diff --git a/x/ibc/light-clients/06-solomachine/types/solomachine_test.go b/x/ibc/light-clients/06-solomachine/types/solomachine_test.go index 50555e4514..038d0729ff 100644 --- a/x/ibc/light-clients/06-solomachine/types/solomachine_test.go +++ b/x/ibc/light-clients/06-solomachine/types/solomachine_test.go @@ -6,16 +6,16 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) type SoloMachineTestSuite struct { diff --git a/x/ibc/light-clients/06-solomachine/types/update.go b/x/ibc/light-clients/06-solomachine/types/update.go index 4cf31fd988..4a44029a07 100644 --- a/x/ibc/light-clients/06-solomachine/types/update.go +++ b/x/ibc/light-clients/06-solomachine/types/update.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CheckHeaderAndUpdateState checks if the provided header is valid and updates diff --git a/x/ibc/light-clients/06-solomachine/types/update_test.go b/x/ibc/light-clients/06-solomachine/types/update_test.go index e49992cbb5..7a1f41eb27 100644 --- a/x/ibc/light-clients/06-solomachine/types/update_test.go +++ b/x/ibc/light-clients/06-solomachine/types/update_test.go @@ -1,12 +1,12 @@ package types_test import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *SoloMachineTestSuite) TestCheckHeaderAndUpdateState() { diff --git a/x/ibc/light-clients/07-tendermint/client/cli/cli.go b/x/ibc/light-clients/07-tendermint/client/cli/cli.go index a214869d08..e160a8ea73 100644 --- a/x/ibc/light-clients/07-tendermint/client/cli/cli.go +++ b/x/ibc/light-clients/07-tendermint/client/cli/cli.go @@ -3,7 +3,7 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) // NewTxCmd returns a root CLI command handler for all x/ibc/light-clients/07-tendermint transaction commands. diff --git a/x/ibc/light-clients/07-tendermint/client/cli/tx.go b/x/ibc/light-clients/07-tendermint/client/cli/tx.go index f8b925e4f0..6c8956e246 100644 --- a/x/ibc/light-clients/07-tendermint/client/cli/tx.go +++ b/x/ibc/light-clients/07-tendermint/client/cli/tx.go @@ -12,14 +12,14 @@ import ( "github.com/spf13/cobra" "github.com/tendermint/tendermint/light" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/version" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/version" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) const ( diff --git a/x/ibc/light-clients/07-tendermint/module.go b/x/ibc/light-clients/07-tendermint/module.go index 38c7fa621b..734d772eff 100644 --- a/x/ibc/light-clients/07-tendermint/module.go +++ b/x/ibc/light-clients/07-tendermint/module.go @@ -3,8 +3,8 @@ package tendermint import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/client/cli" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/client/cli" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) // Name returns the IBC client name diff --git a/x/ibc/light-clients/07-tendermint/types/client_state.go b/x/ibc/light-clients/07-tendermint/types/client_state.go index c2bb5239f5..a5e3493f04 100644 --- a/x/ibc/light-clients/07-tendermint/types/client_state.go +++ b/x/ibc/light-clients/07-tendermint/types/client_state.go @@ -7,15 +7,15 @@ import ( ics23 "github.com/confio/ics23/go" "github.com/tendermint/tendermint/light" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.ClientState = (*ClientState)(nil) diff --git a/x/ibc/light-clients/07-tendermint/types/client_state_test.go b/x/ibc/light-clients/07-tendermint/types/client_state_test.go index 744b4729f6..c6a91bdea0 100644 --- a/x/ibc/light-clients/07-tendermint/types/client_state_test.go +++ b/x/ibc/light-clients/07-tendermint/types/client_state_test.go @@ -5,14 +5,14 @@ import ( ics23 "github.com/confio/ics23/go" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibcmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibcmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) const ( diff --git a/x/ibc/light-clients/07-tendermint/types/codec.go b/x/ibc/light-clients/07-tendermint/types/codec.go index 5d876c8fe0..5ba18f8c56 100644 --- a/x/ibc/light-clients/07-tendermint/types/codec.go +++ b/x/ibc/light-clients/07-tendermint/types/codec.go @@ -1,8 +1,8 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // RegisterInterfaces registers the tendermint concrete client-related diff --git a/x/ibc/light-clients/07-tendermint/types/consensus_state.go b/x/ibc/light-clients/07-tendermint/types/consensus_state.go index adb469a3d1..9b9c179018 100644 --- a/x/ibc/light-clients/07-tendermint/types/consensus_state.go +++ b/x/ibc/light-clients/07-tendermint/types/consensus_state.go @@ -6,10 +6,10 @@ import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" tmtypes "github.com/tendermint/tendermint/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // NewConsensusState creates a new ConsensusState instance. diff --git a/x/ibc/light-clients/07-tendermint/types/consensus_state_test.go b/x/ibc/light-clients/07-tendermint/types/consensus_state_test.go index 313815d0c7..1b4e4eef9a 100644 --- a/x/ibc/light-clients/07-tendermint/types/consensus_state_test.go +++ b/x/ibc/light-clients/07-tendermint/types/consensus_state_test.go @@ -3,9 +3,9 @@ package types_test import ( "time" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) func (suite *TendermintTestSuite) TestConsensusStateValidateBasic() { diff --git a/x/ibc/light-clients/07-tendermint/types/errors.go b/x/ibc/light-clients/07-tendermint/types/errors.go index 276c225b73..ab84d12614 100644 --- a/x/ibc/light-clients/07-tendermint/types/errors.go +++ b/x/ibc/light-clients/07-tendermint/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/x/ibc/light-clients/07-tendermint/types/genesis.go b/x/ibc/light-clients/07-tendermint/types/genesis.go index 7124643b55..1cec578716 100644 --- a/x/ibc/light-clients/07-tendermint/types/genesis.go +++ b/x/ibc/light-clients/07-tendermint/types/genesis.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // ExportMetadata exports all the processed times in the client store so they can be included in clients genesis diff --git a/x/ibc/light-clients/07-tendermint/types/genesis_test.go b/x/ibc/light-clients/07-tendermint/types/genesis_test.go index 5732151e63..0f72b5ad69 100644 --- a/x/ibc/light-clients/07-tendermint/types/genesis_test.go +++ b/x/ibc/light-clients/07-tendermint/types/genesis_test.go @@ -3,10 +3,10 @@ package types_test import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) func (suite *TendermintTestSuite) TestExportMetadata() { diff --git a/x/ibc/light-clients/07-tendermint/types/header.go b/x/ibc/light-clients/07-tendermint/types/header.go index 0b9cfa1db1..8cb5aa122d 100644 --- a/x/ibc/light-clients/07-tendermint/types/header.go +++ b/x/ibc/light-clients/07-tendermint/types/header.go @@ -6,10 +6,10 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.Header = &Header{} diff --git a/x/ibc/light-clients/07-tendermint/types/header_test.go b/x/ibc/light-clients/07-tendermint/types/header_test.go index 97647f8614..1d16357e88 100644 --- a/x/ibc/light-clients/07-tendermint/types/header_test.go +++ b/x/ibc/light-clients/07-tendermint/types/header_test.go @@ -5,9 +5,9 @@ import ( tmprotocrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) func (suite *TendermintTestSuite) TestGetHeight() { diff --git a/x/ibc/light-clients/07-tendermint/types/misbehaviour.go b/x/ibc/light-clients/07-tendermint/types/misbehaviour.go index 340130d29f..ce04ab7cb8 100644 --- a/x/ibc/light-clients/07-tendermint/types/misbehaviour.go +++ b/x/ibc/light-clients/07-tendermint/types/misbehaviour.go @@ -7,10 +7,10 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.Misbehaviour = &Misbehaviour{} diff --git a/x/ibc/light-clients/07-tendermint/types/misbehaviour_handle.go b/x/ibc/light-clients/07-tendermint/types/misbehaviour_handle.go index 4c55552d30..dadd298a74 100644 --- a/x/ibc/light-clients/07-tendermint/types/misbehaviour_handle.go +++ b/x/ibc/light-clients/07-tendermint/types/misbehaviour_handle.go @@ -5,11 +5,11 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CheckMisbehaviourAndUpdateState determines whether or not two conflicting diff --git a/x/ibc/light-clients/07-tendermint/types/misbehaviour_handle_test.go b/x/ibc/light-clients/07-tendermint/types/misbehaviour_handle_test.go index 3ca2e4dc11..0e57f51053 100644 --- a/x/ibc/light-clients/07-tendermint/types/misbehaviour_handle_test.go +++ b/x/ibc/light-clients/07-tendermint/types/misbehaviour_handle_test.go @@ -7,12 +7,12 @@ import ( "github.com/tendermint/tendermint/crypto/tmhash" tmtypes "github.com/tendermint/tendermint/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibctestingmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibctestingmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) func (suite *TendermintTestSuite) TestCheckMisbehaviourAndUpdateState() { diff --git a/x/ibc/light-clients/07-tendermint/types/misbehaviour_test.go b/x/ibc/light-clients/07-tendermint/types/misbehaviour_test.go index dede4e6021..fe7a006a84 100644 --- a/x/ibc/light-clients/07-tendermint/types/misbehaviour_test.go +++ b/x/ibc/light-clients/07-tendermint/types/misbehaviour_test.go @@ -7,11 +7,11 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibctestingmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibctestingmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) func (suite *TendermintTestSuite) TestMisbehaviour() { diff --git a/x/ibc/light-clients/07-tendermint/types/proposal_handle.go b/x/ibc/light-clients/07-tendermint/types/proposal_handle.go index 4cd3eb376c..935e8df21a 100644 --- a/x/ibc/light-clients/07-tendermint/types/proposal_handle.go +++ b/x/ibc/light-clients/07-tendermint/types/proposal_handle.go @@ -5,11 +5,11 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CheckProposedHeaderAndUpdateState will try to update the client with the new header if and diff --git a/x/ibc/light-clients/07-tendermint/types/proposal_handle_test.go b/x/ibc/light-clients/07-tendermint/types/proposal_handle_test.go index 6863ad1d1c..a0f9cea028 100644 --- a/x/ibc/light-clients/07-tendermint/types/proposal_handle_test.go +++ b/x/ibc/light-clients/07-tendermint/types/proposal_handle_test.go @@ -1,10 +1,10 @@ package types_test import ( - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) var ( diff --git a/x/ibc/light-clients/07-tendermint/types/store.go b/x/ibc/light-clients/07-tendermint/types/store.go index 8b2720c5a9..abb85a73ef 100644 --- a/x/ibc/light-clients/07-tendermint/types/store.go +++ b/x/ibc/light-clients/07-tendermint/types/store.go @@ -3,12 +3,12 @@ package types import ( "strings" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // KeyProcessedTime is appended to consensus state key to store the processed time diff --git a/x/ibc/light-clients/07-tendermint/types/store_test.go b/x/ibc/light-clients/07-tendermint/types/store_test.go index b8badc0947..a018cf4c0f 100644 --- a/x/ibc/light-clients/07-tendermint/types/store_test.go +++ b/x/ibc/light-clients/07-tendermint/types/store_test.go @@ -1,13 +1,13 @@ package types_test import ( - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - solomachinetypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + solomachinetypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" ) func (suite *TendermintTestSuite) TestGetConsensusState() { diff --git a/x/ibc/light-clients/07-tendermint/types/tendermint.pb.go b/x/ibc/light-clients/07-tendermint/types/tendermint.pb.go index 510a643c25..3f5d17653d 100644 --- a/x/ibc/light-clients/07-tendermint/types/tendermint.pb.go +++ b/x/ibc/light-clients/07-tendermint/types/tendermint.pb.go @@ -6,13 +6,13 @@ package types import ( fmt "fmt" _go "github.com/confio/ics23/go" - types "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - types1 "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/golang/protobuf/ptypes/duration" _ "github.com/golang/protobuf/ptypes/timestamp" + types "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + types1 "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" github_com_tendermint_tendermint_libs_bytes "github.com/tendermint/tendermint/libs/bytes" types2 "github.com/tendermint/tendermint/proto/tendermint/types" io "io" diff --git a/x/ibc/light-clients/07-tendermint/types/tendermint_test.go b/x/ibc/light-clients/07-tendermint/types/tendermint_test.go index 4f9b8142bf..542a26bb78 100644 --- a/x/ibc/light-clients/07-tendermint/types/tendermint_test.go +++ b/x/ibc/light-clients/07-tendermint/types/tendermint_test.go @@ -9,13 +9,13 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibctestingmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibctestingmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) const ( diff --git a/x/ibc/light-clients/07-tendermint/types/update.go b/x/ibc/light-clients/07-tendermint/types/update.go index e692e74668..f59c344e80 100644 --- a/x/ibc/light-clients/07-tendermint/types/update.go +++ b/x/ibc/light-clients/07-tendermint/types/update.go @@ -7,12 +7,12 @@ import ( "github.com/tendermint/tendermint/light" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // CheckHeaderAndUpdateState checks if the provided header is valid, and if valid it will: diff --git a/x/ibc/light-clients/07-tendermint/types/update_test.go b/x/ibc/light-clients/07-tendermint/types/update_test.go index d9e550ed01..42543ce169 100644 --- a/x/ibc/light-clients/07-tendermint/types/update_test.go +++ b/x/ibc/light-clients/07-tendermint/types/update_test.go @@ -5,11 +5,11 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - types "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - ibctestingmock "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + types "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + ibctestingmock "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) func (suite *TendermintTestSuite) TestCheckHeaderAndUpdateState() { diff --git a/x/ibc/light-clients/07-tendermint/types/upgrade.go b/x/ibc/light-clients/07-tendermint/types/upgrade.go index 397e9cfd83..5487b2fc41 100644 --- a/x/ibc/light-clients/07-tendermint/types/upgrade.go +++ b/x/ibc/light-clients/07-tendermint/types/upgrade.go @@ -3,13 +3,13 @@ package types import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + upgradetypes "github.com/line/lbm-sdk/v2/x/upgrade/types" ) // VerifyUpgradeAndUpdateState checks if the upgraded client has been committed by the current client diff --git a/x/ibc/light-clients/07-tendermint/types/upgrade_test.go b/x/ibc/light-clients/07-tendermint/types/upgrade_test.go index 7be3a4943f..41cff1dab8 100644 --- a/x/ibc/light-clients/07-tendermint/types/upgrade_test.go +++ b/x/ibc/light-clients/07-tendermint/types/upgrade_test.go @@ -1,11 +1,11 @@ package types_test import ( - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + upgradetypes "github.com/line/lbm-sdk/v2/x/upgrade/types" ) func (suite *TendermintTestSuite) TestVerifyUpgrade() { diff --git a/x/ibc/light-clients/09-localhost/module.go b/x/ibc/light-clients/09-localhost/module.go index 57b9c5bb26..d14d5be151 100644 --- a/x/ibc/light-clients/09-localhost/module.go +++ b/x/ibc/light-clients/09-localhost/module.go @@ -1,7 +1,7 @@ package localhost import ( - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" ) // Name returns the IBC client name diff --git a/x/ibc/light-clients/09-localhost/types/client_state.go b/x/ibc/light-clients/09-localhost/types/client_state.go index e0ba7a2f0b..1ead5df349 100644 --- a/x/ibc/light-clients/09-localhost/types/client_state.go +++ b/x/ibc/light-clients/09-localhost/types/client_state.go @@ -8,14 +8,14 @@ import ( ics23 "github.com/confio/ics23/go" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ exported.ClientState = (*ClientState)(nil) diff --git a/x/ibc/light-clients/09-localhost/types/client_state_test.go b/x/ibc/light-clients/09-localhost/types/client_state_test.go index 13a1367d5c..58ad8e405c 100644 --- a/x/ibc/light-clients/09-localhost/types/client_state_test.go +++ b/x/ibc/light-clients/09-localhost/types/client_state_test.go @@ -1,15 +1,15 @@ package types_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/09-localhost/types" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/ibc/light-clients/09-localhost/types" ) const ( diff --git a/x/ibc/light-clients/09-localhost/types/codec.go b/x/ibc/light-clients/09-localhost/types/codec.go index b338dfb699..c345d558d7 100644 --- a/x/ibc/light-clients/09-localhost/types/codec.go +++ b/x/ibc/light-clients/09-localhost/types/codec.go @@ -1,8 +1,8 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) // RegisterInterfaces register the ibc interfaces submodule implementations to protobuf diff --git a/x/ibc/light-clients/09-localhost/types/errors.go b/x/ibc/light-clients/09-localhost/types/errors.go index 57ad7c1f6a..559b922b11 100644 --- a/x/ibc/light-clients/09-localhost/types/errors.go +++ b/x/ibc/light-clients/09-localhost/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // Localhost sentinel errors diff --git a/x/ibc/light-clients/09-localhost/types/localhost.pb.go b/x/ibc/light-clients/09-localhost/types/localhost.pb.go index 53f0175849..c1aaabae4b 100644 --- a/x/ibc/light-clients/09-localhost/types/localhost.pb.go +++ b/x/ibc/light-clients/09-localhost/types/localhost.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" io "io" math "math" math_bits "math/bits" diff --git a/x/ibc/light-clients/09-localhost/types/localhost_test.go b/x/ibc/light-clients/09-localhost/types/localhost_test.go index 8ebaef843b..878f19117e 100644 --- a/x/ibc/light-clients/09-localhost/types/localhost_test.go +++ b/x/ibc/light-clients/09-localhost/types/localhost_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) const ( diff --git a/x/ibc/testing/chain.go b/x/ibc/testing/chain.go index 0534066d88..8080f19b4e 100644 --- a/x/ibc/testing/chain.go +++ b/x/ibc/testing/chain.go @@ -15,28 +15,28 @@ import ( tmtypes "github.com/tendermint/tendermint/types" tmversion "github.com/tendermint/tendermint/version" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - ibctransfertypes "github.com/cosmos/cosmos-sdk/x/ibc/applications/transfer/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - connectiontypes "github.com/cosmos/cosmos-sdk/x/ibc/core/03-connection/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/ibc/core/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + ibctransfertypes "github.com/line/lbm-sdk/v2/x/ibc/applications/transfer/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + connectiontypes "github.com/line/lbm-sdk/v2/x/ibc/core/03-connection/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/ibc/core/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) const ( diff --git a/x/ibc/testing/chain_test.go b/x/ibc/testing/chain_test.go index 361a9c4c15..11775a97d8 100644 --- a/x/ibc/testing/chain_test.go +++ b/x/ibc/testing/chain_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" tmtypes "github.com/tendermint/tendermint/types" - ibctesting "github.com/cosmos/cosmos-sdk/x/ibc/testing" - "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + ibctesting "github.com/line/lbm-sdk/v2/x/ibc/testing" + "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) func TestCreateSortedSignerArray(t *testing.T) { diff --git a/x/ibc/testing/coordinator.go b/x/ibc/testing/coordinator.go index ade28b4df3..8200beef65 100644 --- a/x/ibc/testing/coordinator.go +++ b/x/ibc/testing/coordinator.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + sdk "github.com/line/lbm-sdk/v2/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var ( diff --git a/x/ibc/testing/mock/mock.go b/x/ibc/testing/mock/mock.go index 663497aa05..d6224b5da8 100644 --- a/x/ibc/testing/mock/mock.go +++ b/x/ibc/testing/mock/mock.go @@ -3,7 +3,7 @@ package mock import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/line/lbm-sdk/v2/types/module" "github.com/grpc-ecosystem/grpc-gateway/runtime" @@ -12,14 +12,14 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + capabilitykeeper "github.com/line/lbm-sdk/v2/x/capability/keeper" + capabilitytypes "github.com/line/lbm-sdk/v2/x/capability/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" ) const ( diff --git a/x/ibc/testing/mock/privval.go b/x/ibc/testing/mock/privval.go index fe46659b3d..8283f96299 100644 --- a/x/ibc/testing/mock/privval.go +++ b/x/ibc/testing/mock/privval.go @@ -5,9 +5,9 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" ) var _ tmtypes.PrivValidator = PV{} diff --git a/x/ibc/testing/mock/privval_test.go b/x/ibc/testing/mock/privval_test.go index b9f0487a36..02a09f4aa8 100644 --- a/x/ibc/testing/mock/privval_test.go +++ b/x/ibc/testing/mock/privval_test.go @@ -7,7 +7,7 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/x/ibc/testing/mock" + "github.com/line/lbm-sdk/v2/x/ibc/testing/mock" ) const chainID = "testChain" diff --git a/x/ibc/testing/solomachine.go b/x/ibc/testing/solomachine.go index bee6378597..10a16a1ce6 100644 --- a/x/ibc/testing/solomachine.go +++ b/x/ibc/testing/solomachine.go @@ -5,18 +5,18 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - host "github.com/cosmos/cosmos-sdk/x/ibc/core/24-host" - "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - solomachinetypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/06-solomachine/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + kmultisig "github.com/line/lbm-sdk/v2/crypto/keys/multisig" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/crypto/types/multisig" + "github.com/line/lbm-sdk/v2/types/tx/signing" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + host "github.com/line/lbm-sdk/v2/x/ibc/core/24-host" + "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + solomachinetypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/06-solomachine/types" ) var prefix = commitmenttypes.NewMerklePrefix([]byte("ibc")) diff --git a/x/ibc/testing/types.go b/x/ibc/testing/types.go index 16cda6216b..8d1f1abcc6 100644 --- a/x/ibc/testing/types.go +++ b/x/ibc/testing/types.go @@ -1,7 +1,7 @@ package ibctesting import ( - channeltypes "github.com/cosmos/cosmos-sdk/x/ibc/core/04-channel/types" + channeltypes "github.com/line/lbm-sdk/v2/x/ibc/core/04-channel/types" ) // TestConnection is a testing helper struct to keep track of the connectionID, source clientID, diff --git a/x/mint/abci.go b/x/mint/abci.go index 410415d743..200290d13a 100644 --- a/x/mint/abci.go +++ b/x/mint/abci.go @@ -3,10 +3,10 @@ package mint import ( "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/mint/keeper" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/mint/keeper" + "github.com/line/lbm-sdk/v2/x/mint/types" ) // BeginBlocker mints new tokens for the previous block. diff --git a/x/mint/client/cli/cli_test.go b/x/mint/client/cli/cli_test.go index 6425f369a9..708243d7b8 100644 --- a/x/mint/client/cli/cli_test.go +++ b/x/mint/client/cli/cli_test.go @@ -10,12 +10,12 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - testnet "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/mint/client/cli" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/client/flags" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + testnet "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/mint/client/cli" + minttypes "github.com/line/lbm-sdk/v2/x/mint/types" ) type IntegrationTestSuite struct { diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index cce0d7c12b..fefc4decf7 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/x/mint/types" ) // GetQueryCmd returns the cli query commands for the minting module. diff --git a/x/mint/client/rest/grpc_query_test.go b/x/mint/client/rest/grpc_query_test.go index b2024e7d57..bbc5c39397 100644 --- a/x/mint/client/rest/grpc_query_test.go +++ b/x/mint/client/rest/grpc_query_test.go @@ -6,15 +6,15 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" + "github.com/line/lbm-sdk/v2/testutil" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/network" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/testutil/network" + minttypes "github.com/line/lbm-sdk/v2/x/mint/types" ) type IntegrationTestSuite struct { diff --git a/x/mint/client/rest/query.go b/x/mint/client/rest/query.go index 1dccd194c1..0aa5a9f478 100644 --- a/x/mint/client/rest/query.go +++ b/x/mint/client/rest/query.go @@ -6,9 +6,9 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/mint/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { diff --git a/x/mint/client/rest/rest.go b/x/mint/client/rest/rest.go index 2ed28d41d7..47e611f20e 100644 --- a/x/mint/client/rest/rest.go +++ b/x/mint/client/rest/rest.go @@ -3,8 +3,8 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/rest" ) // RegisterRoutes registers minting module REST handlers on the provided router. diff --git a/x/mint/genesis.go b/x/mint/genesis.go index be7ac61d50..995c9d68aa 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -1,9 +1,9 @@ package mint import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/mint/keeper" - "github.com/cosmos/cosmos-sdk/x/mint/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/mint/keeper" + "github.com/line/lbm-sdk/v2/x/mint/types" ) // InitGenesis new mint genesis diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index 6ad3bf309c..9045f54b2a 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -3,8 +3,8 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/mint/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/mint/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/mint/keeper/grpc_query_test.go b/x/mint/keeper/grpc_query_test.go index 11b6276694..5514324f74 100644 --- a/x/mint/keeper/grpc_query_test.go +++ b/x/mint/keeper/grpc_query_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/mint/types" ) type MintTestSuite struct { diff --git a/x/mint/keeper/integration_test.go b/x/mint/keeper/integration_test.go index df321c33bd..e1517698a8 100644 --- a/x/mint/keeper/integration_test.go +++ b/x/mint/keeper/integration_test.go @@ -3,9 +3,9 @@ package keeper_test import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/mint/types" ) // returns context and an app with updated mint keeper diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index de0a312228..4a667ba21e 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -3,10 +3,10 @@ package keeper import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/mint/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/mint/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Keeper of the mint store diff --git a/x/mint/keeper/querier.go b/x/mint/keeper/querier.go index 294445614a..1765594310 100644 --- a/x/mint/keeper/querier.go +++ b/x/mint/keeper/querier.go @@ -3,10 +3,10 @@ package keeper import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/mint/types" ) // NewQuerier returns a minting Querier handler. diff --git a/x/mint/keeper/querier_test.go b/x/mint/keeper/querier_test.go index 2e987aa042..d26cbdfe71 100644 --- a/x/mint/keeper/querier_test.go +++ b/x/mint/keeper/querier_test.go @@ -3,13 +3,13 @@ package keeper_test import ( "testing" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/line/lbm-sdk/v2/codec" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - keep "github.com/cosmos/cosmos-sdk/x/mint/keeper" - "github.com/cosmos/cosmos-sdk/x/mint/types" + sdk "github.com/line/lbm-sdk/v2/types" + keep "github.com/line/lbm-sdk/v2/x/mint/keeper" + "github.com/line/lbm-sdk/v2/x/mint/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/mint/legacy/v039/types.go b/x/mint/legacy/v039/types.go index 10b351b7fb..c5259c5a77 100644 --- a/x/mint/legacy/v039/types.go +++ b/x/mint/legacy/v039/types.go @@ -1,6 +1,6 @@ package v039 -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/line/lbm-sdk/v2/types" const ( ModuleName = "mint" diff --git a/x/mint/legacy/v040/migrate.go b/x/mint/legacy/v040/migrate.go index b417c68289..a91a9769e3 100644 --- a/x/mint/legacy/v040/migrate.go +++ b/x/mint/legacy/v040/migrate.go @@ -1,8 +1,8 @@ package v040 import ( - v039mint "github.com/cosmos/cosmos-sdk/x/mint/legacy/v039" - v040mint "github.com/cosmos/cosmos-sdk/x/mint/types" + v039mint "github.com/line/lbm-sdk/v2/x/mint/legacy/v039" + v040mint "github.com/line/lbm-sdk/v2/x/mint/types" ) // Migrate accepts exported v0.39 x/mint genesis state and diff --git a/x/mint/module.go b/x/mint/module.go index 44e96ce74b..93802e847f 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -11,17 +11,17 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/mint/client/cli" - "github.com/cosmos/cosmos-sdk/x/mint/client/rest" - "github.com/cosmos/cosmos-sdk/x/mint/keeper" - "github.com/cosmos/cosmos-sdk/x/mint/simulation" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + cdctypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/mint/client/cli" + "github.com/line/lbm-sdk/v2/x/mint/client/rest" + "github.com/line/lbm-sdk/v2/x/mint/keeper" + "github.com/line/lbm-sdk/v2/x/mint/simulation" + "github.com/line/lbm-sdk/v2/x/mint/types" ) var ( diff --git a/x/mint/module_test.go b/x/mint/module_test.go index 3b2df369e6..6f31efbd26 100644 --- a/x/mint/module_test.go +++ b/x/mint/module_test.go @@ -7,9 +7,9 @@ import ( abcitypes "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/simapp" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/mint/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/x/mint/simulation/decoder.go b/x/mint/simulation/decoder.go index 37d9930f7d..d2f396735d 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/mint/types" ) // NewDecodeStore returns a decoder function closure that umarshals the KVPair's diff --git a/x/mint/simulation/decoder_test.go b/x/mint/simulation/decoder_test.go index 762768c07e..4833f36c2d 100644 --- a/x/mint/simulation/decoder_test.go +++ b/x/mint/simulation/decoder_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/mint/simulation" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/mint/simulation" + "github.com/line/lbm-sdk/v2/x/mint/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/mint/simulation/genesis.go b/x/mint/simulation/genesis.go index 77d5064416..1a7a444ccd 100644 --- a/x/mint/simulation/genesis.go +++ b/x/mint/simulation/genesis.go @@ -7,9 +7,9 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/mint/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/mint/types" ) // Simulation parameter constants diff --git a/x/mint/simulation/genesis_test.go b/x/mint/simulation/genesis_test.go index ac57da7acc..dcbd23e75f 100644 --- a/x/mint/simulation/genesis_test.go +++ b/x/mint/simulation/genesis_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/mint/simulation" - "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/mint/simulation" + "github.com/line/lbm-sdk/v2/x/mint/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/mint/simulation/params.go b/x/mint/simulation/params.go index b75b0fc700..fa7c5a6ca3 100644 --- a/x/mint/simulation/params.go +++ b/x/mint/simulation/params.go @@ -6,10 +6,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/mint/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/mint/types" ) const ( diff --git a/x/mint/simulation/params_test.go b/x/mint/simulation/params_test.go index 6bc0f624cf..d22db467fc 100644 --- a/x/mint/simulation/params_test.go +++ b/x/mint/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/mint/simulation" + "github.com/line/lbm-sdk/v2/x/mint/simulation" ) func TestParamChangest(t *testing.T) { diff --git a/x/mint/types/codec.go b/x/mint/types/codec.go index b436c10298..6e37f130dc 100644 --- a/x/mint/types/codec.go +++ b/x/mint/types/codec.go @@ -1,8 +1,8 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" ) var ( diff --git a/x/mint/types/expected_keepers.go b/x/mint/types/expected_keepers.go index 85b6d776c5..5d520e3c38 100644 --- a/x/mint/types/expected_keepers.go +++ b/x/mint/types/expected_keepers.go @@ -1,8 +1,8 @@ package types // noalias import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/auth/types" ) // StakingKeeper defines the expected staking keeper diff --git a/x/mint/types/mint.pb.go b/x/mint/types/mint.pb.go index 4ed1cccd69..b3a83d457c 100644 --- a/x/mint/types/mint.pb.go +++ b/x/mint/types/mint.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" io "io" math "math" math_bits "math/bits" @@ -27,9 +27,9 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Minter represents the minting state. type Minter struct { // current annual inflation rate - Inflation github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=inflation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"inflation"` + Inflation github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=inflation,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"inflation"` // current annual expected provisions - AnnualProvisions github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=annual_provisions,json=annualProvisions,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"annual_provisions" yaml:"annual_provisions"` + AnnualProvisions github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=annual_provisions,json=annualProvisions,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"annual_provisions" yaml:"annual_provisions"` } func (m *Minter) Reset() { *m = Minter{} } @@ -70,13 +70,13 @@ type Params struct { // type of coin to mint MintDenom string `protobuf:"bytes,1,opt,name=mint_denom,json=mintDenom,proto3" json:"mint_denom,omitempty"` // maximum annual change in inflation rate - InflationRateChange github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=inflation_rate_change,json=inflationRateChange,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"inflation_rate_change" yaml:"inflation_rate_change"` + InflationRateChange github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=inflation_rate_change,json=inflationRateChange,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"inflation_rate_change" yaml:"inflation_rate_change"` // maximum inflation rate - InflationMax github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=inflation_max,json=inflationMax,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"inflation_max" yaml:"inflation_max"` + InflationMax github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=inflation_max,json=inflationMax,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"inflation_max" yaml:"inflation_max"` // minimum inflation rate - InflationMin github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=inflation_min,json=inflationMin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"inflation_min" yaml:"inflation_min"` + InflationMin github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=inflation_min,json=inflationMin,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"inflation_min" yaml:"inflation_min"` // goal of percent bonded atoms - GoalBonded github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=goal_bonded,json=goalBonded,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"goal_bonded" yaml:"goal_bonded"` + GoalBonded github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=goal_bonded,json=goalBonded,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"goal_bonded" yaml:"goal_bonded"` // expected blocks per year BlocksPerYear uint64 `protobuf:"varint,6,opt,name=blocks_per_year,json=blocksPerYear,proto3" json:"blocks_per_year,omitempty" yaml:"blocks_per_year"` } diff --git a/x/mint/types/minter.go b/x/mint/types/minter.go index 3285d6ddf0..ab84e26231 100644 --- a/x/mint/types/minter.go +++ b/x/mint/types/minter.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewMinter returns a new Minter object with the given inflation and annual diff --git a/x/mint/types/minter_test.go b/x/mint/types/minter_test.go index 8760a66f44..98c213008f 100644 --- a/x/mint/types/minter_test.go +++ b/x/mint/types/minter_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestNextInflation(t *testing.T) { diff --git a/x/mint/types/params.go b/x/mint/types/params.go index f0f9ef494b..efd49725c4 100644 --- a/x/mint/types/params.go +++ b/x/mint/types/params.go @@ -7,8 +7,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/line/lbm-sdk/v2/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Parameter store keys diff --git a/x/mint/types/query.pb.go b/x/mint/types/query.pb.go index f707eb810d..5fca5cf89f 100644 --- a/x/mint/types/query.pb.go +++ b/x/mint/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -154,7 +154,7 @@ var xxx_messageInfo_QueryInflationRequest proto.InternalMessageInfo // method. type QueryInflationResponse struct { // inflation is the current minting inflation value. - Inflation github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=inflation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"inflation"` + Inflation github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=inflation,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"inflation"` } func (m *QueryInflationResponse) Reset() { *m = QueryInflationResponse{} } @@ -232,7 +232,7 @@ var xxx_messageInfo_QueryAnnualProvisionsRequest proto.InternalMessageInfo // Query/AnnualProvisions RPC method. type QueryAnnualProvisionsResponse struct { // annual_provisions is the current minting annual provisions value. - AnnualProvisions github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=annual_provisions,json=annualProvisions,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"annual_provisions"` + AnnualProvisions github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=annual_provisions,json=annualProvisions,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"annual_provisions"` } func (m *QueryAnnualProvisionsResponse) Reset() { *m = QueryAnnualProvisionsResponse{} } diff --git a/x/params/client/cli/cli_test.go b/x/params/client/cli/cli_test.go index 6254a45eaf..c26c86b41d 100644 --- a/x/params/client/cli/cli_test.go +++ b/x/params/client/cli/cli_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/params/client/cli" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/x/params/client/cli" ) type IntegrationTestSuite struct { diff --git a/x/params/client/cli/query.go b/x/params/client/cli/query.go index 516ff3b6b4..03569c4734 100644 --- a/x/params/client/cli/query.go +++ b/x/params/client/cli/query.go @@ -5,10 +5,10 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) // NewQueryCmd returns a root CLI command handler for all x/params query commands. diff --git a/x/params/client/cli/tx.go b/x/params/client/cli/tx.go index 39b0242522..a2d70da66c 100644 --- a/x/params/client/cli/tx.go +++ b/x/params/client/cli/tx.go @@ -6,13 +6,13 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramscutils "github.com/cosmos/cosmos-sdk/x/params/client/utils" - paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + paramscutils "github.com/line/lbm-sdk/v2/x/params/client/utils" + paramproposal "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) // NewSubmitParamChangeProposalTxCmd returns a CLI command handler for creating diff --git a/x/params/client/cli/tx_test.go b/x/params/client/cli/tx_test.go index 215fb41c82..1cb192b731 100644 --- a/x/params/client/cli/tx_test.go +++ b/x/params/client/cli/tx_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/x/params/client/utils" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/x/params/client/utils" ) func TestParseProposal(t *testing.T) { diff --git a/x/params/client/proposal_handler.go b/x/params/client/proposal_handler.go index 77a672d89c..33bce77b67 100644 --- a/x/params/client/proposal_handler.go +++ b/x/params/client/proposal_handler.go @@ -1,9 +1,9 @@ package client import ( - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/cosmos/cosmos-sdk/x/params/client/cli" - "github.com/cosmos/cosmos-sdk/x/params/client/rest" + govclient "github.com/line/lbm-sdk/v2/x/gov/client" + "github.com/line/lbm-sdk/v2/x/params/client/cli" + "github.com/line/lbm-sdk/v2/x/params/client/rest" ) // ProposalHandler is the param change proposal handler. diff --git a/x/params/client/rest/grpc_query_test.go b/x/params/client/rest/grpc_query_test.go index af00834183..a85ae599fc 100644 --- a/x/params/client/rest/grpc_query_test.go +++ b/x/params/client/rest/grpc_query_test.go @@ -7,9 +7,9 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/testutil/network" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) type IntegrationTestSuite struct { diff --git a/x/params/client/rest/rest.go b/x/params/client/rest/rest.go index 70d90236e0..5098768b66 100644 --- a/x/params/client/rest/rest.go +++ b/x/params/client/rest/rest.go @@ -3,13 +3,13 @@ package rest import ( "net/http" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/types/rest" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramscutils "github.com/cosmos/cosmos-sdk/x/params/client/utils" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + "github.com/line/lbm-sdk/v2/types/rest" + govrest "github.com/line/lbm-sdk/v2/x/gov/client/rest" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + paramscutils "github.com/line/lbm-sdk/v2/x/params/client/utils" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) // ProposalRESTHandler returns a ProposalRESTHandler that exposes the param diff --git a/x/params/client/utils/utils.go b/x/params/client/utils/utils.go index b4c680fdde..ed16245d33 100644 --- a/x/params/client/utils/utils.go +++ b/x/params/client/utils/utils.go @@ -4,10 +4,10 @@ import ( "encoding/json" "io/ioutil" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) type ( diff --git a/x/params/keeper/common_test.go b/x/params/keeper/common_test.go index f6d567db11..6fd4eb914c 100644 --- a/x/params/keeper/common_test.go +++ b/x/params/keeper/common_test.go @@ -5,12 +5,12 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/simapp" + "github.com/line/lbm-sdk/v2/simapp" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store" + sdk "github.com/line/lbm-sdk/v2/types" + paramskeeper "github.com/line/lbm-sdk/v2/x/params/keeper" ) func testComponents() (*codec.LegacyAmino, sdk.Context, sdk.StoreKey, sdk.StoreKey, paramskeeper.Keeper) { diff --git a/x/params/keeper/consensus_params.go b/x/params/keeper/consensus_params.go index 5ce8d340d0..5b5cf901be 100644 --- a/x/params/keeper/consensus_params.go +++ b/x/params/keeper/consensus_params.go @@ -4,8 +4,8 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/x/params/types" ) // ConsensusParamsKeyTable returns an x/params module keyTable to be used in diff --git a/x/params/keeper/grpc_query.go b/x/params/keeper/grpc_query.go index 2cfa1c8042..5e1ab5a8bd 100644 --- a/x/params/keeper/grpc_query.go +++ b/x/params/keeper/grpc_query.go @@ -6,9 +6,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) var _ proposal.QueryServer = Keeper{} diff --git a/x/params/keeper/grpc_query_test.go b/x/params/keeper/grpc_query_test.go index 19794beb08..1267ed1b32 100644 --- a/x/params/keeper/grpc_query_test.go +++ b/x/params/keeper/grpc_query_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) func (suite *KeeperTestSuite) TestGRPCQueryParams() { diff --git a/x/params/keeper/keeper.go b/x/params/keeper/keeper.go index b3d649a2ec..8aa6207957 100644 --- a/x/params/keeper/keeper.go +++ b/x/params/keeper/keeper.go @@ -3,10 +3,10 @@ package keeper import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) // Keeper of the global paramstore diff --git a/x/params/keeper/keeper_test.go b/x/params/keeper/keeper_test.go index 44c8223f2c..672ff44563 100644 --- a/x/params/keeper/keeper_test.go +++ b/x/params/keeper/keeper_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) type KeeperTestSuite struct { diff --git a/x/params/keeper/querier.go b/x/params/keeper/querier.go index 9d6f3c3da6..1d45d0615d 100644 --- a/x/params/keeper/querier.go +++ b/x/params/keeper/querier.go @@ -3,11 +3,11 @@ package keeper import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) // NewQuerier returns a new querier handler for the x/params module. diff --git a/x/params/legacy/v036/types.go b/x/params/legacy/v036/types.go index 66cc9e7d8a..c5178871e2 100644 --- a/x/params/legacy/v036/types.go +++ b/x/params/legacy/v036/types.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/codec" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" + "github.com/line/lbm-sdk/v2/codec" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" ) const ( diff --git a/x/params/module.go b/x/params/module.go index b0a4584129..42249cb20d 100644 --- a/x/params/module.go +++ b/x/params/module.go @@ -11,17 +11,17 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/params/client/cli" - "github.com/cosmos/cosmos-sdk/x/params/keeper" - "github.com/cosmos/cosmos-sdk/x/params/simulation" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/params/client/cli" + "github.com/line/lbm-sdk/v2/x/params/keeper" + "github.com/line/lbm-sdk/v2/x/params/simulation" + "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) var ( diff --git a/x/params/proposal_handler.go b/x/params/proposal_handler.go index 173cc292df..9b3eeefc35 100644 --- a/x/params/proposal_handler.go +++ b/x/params/proposal_handler.go @@ -3,11 +3,11 @@ package params import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params/keeper" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/params/keeper" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) // NewParamChangeProposalHandler creates a new governance Handler for a ParamChangeProposal diff --git a/x/params/proposal_handler_test.go b/x/params/proposal_handler_test.go index b4295d2e2d..d4a6c10183 100644 --- a/x/params/proposal_handler_test.go +++ b/x/params/proposal_handler_test.go @@ -3,20 +3,20 @@ package params_test import ( "testing" - "github.com/cosmos/cosmos-sdk/simapp" + "github.com/line/lbm-sdk/v2/simapp" "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/libs/log" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params" - "github.com/cosmos/cosmos-sdk/x/params/keeper" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/params" + "github.com/line/lbm-sdk/v2/x/params/keeper" + "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) func validateNoOp(_ interface{}) error { return nil } diff --git a/x/params/simulation/operations.go b/x/params/simulation/operations.go index a5097968ce..46552ac1ec 100644 --- a/x/params/simulation/operations.go +++ b/x/params/simulation/operations.go @@ -3,9 +3,9 @@ package simulation import ( "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) // SimulateParamChangeProposalContent returns random parameter change content. diff --git a/x/params/simulation/operations_test.go b/x/params/simulation/operations_test.go index 54c90a6c2e..56d5458283 100644 --- a/x/params/simulation/operations_test.go +++ b/x/params/simulation/operations_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/params/simulation" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/params/simulation" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) type MockParamChange struct { diff --git a/x/params/simulation/proposals.go b/x/params/simulation/proposals.go index 165193735f..476f1eee70 100644 --- a/x/params/simulation/proposals.go +++ b/x/params/simulation/proposals.go @@ -1,9 +1,9 @@ package simulation import ( - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" ) // OpWeightSubmitParamChangeProposal app params key for param change proposal diff --git a/x/params/simulation/proposals_test.go b/x/params/simulation/proposals_test.go index e89bb668a4..887c01672f 100644 --- a/x/params/simulation/proposals_test.go +++ b/x/params/simulation/proposals_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/params/simulation" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/params/simulation" + "github.com/line/lbm-sdk/v2/x/params/types/proposal" ) func TestProposalContents(t *testing.T) { diff --git a/x/params/types/common_test.go b/x/params/types/common_test.go index c7cb067c62..9eff4a2d43 100644 --- a/x/params/types/common_test.go +++ b/x/params/types/common_test.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/params/types" ) var ( diff --git a/x/params/types/proposal/codec.go b/x/params/types/proposal/codec.go index d638caccaf..713bdb5291 100644 --- a/x/params/types/proposal/codec.go +++ b/x/params/types/proposal/codec.go @@ -1,9 +1,9 @@ package proposal import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" ) // RegisterLegacyAminoCodec registers all necessary param module types with a given LegacyAmino codec. diff --git a/x/params/types/proposal/errors.go b/x/params/types/proposal/errors.go index a8c891af2c..b64291ac91 100644 --- a/x/params/types/proposal/errors.go +++ b/x/params/types/proposal/errors.go @@ -1,7 +1,7 @@ package proposal import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/params module sentinel errors diff --git a/x/params/types/proposal/proposal.go b/x/params/types/proposal/proposal.go index 3a2f97a772..eef7c3f624 100644 --- a/x/params/types/proposal/proposal.go +++ b/x/params/types/proposal/proposal.go @@ -6,7 +6,7 @@ import ( yaml "gopkg.in/yaml.v2" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" ) const ( diff --git a/x/params/types/subspace.go b/x/params/types/subspace.go index da0a755d41..53181b01fa 100644 --- a/x/params/types/subspace.go +++ b/x/params/types/subspace.go @@ -4,9 +4,9 @@ import ( "fmt" "reflect" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/params/types/subspace_test.go b/x/params/types/subspace_test.go index ed508d00e9..25284de1ca 100644 --- a/x/params/types/subspace_test.go +++ b/x/params/types/subspace_test.go @@ -10,11 +10,11 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/store" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/params/types" ) type SubspaceTestSuite struct { diff --git a/x/params/types/table.go b/x/params/types/table.go index ef09c39d88..b4ddbef640 100644 --- a/x/params/types/table.go +++ b/x/params/types/table.go @@ -3,7 +3,7 @@ package types import ( "reflect" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) type attribute struct { diff --git a/x/params/types/table_test.go b/x/params/types/table_test.go index 0baff40f8c..1f782ca102 100644 --- a/x/params/types/table_test.go +++ b/x/params/types/table_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/x/params/types" ) func TestKeyTable(t *testing.T) { diff --git a/x/simulation/doc.go b/x/simulation/doc.go index 6543bc5c15..4dd0e246fd 100644 --- a/x/simulation/doc.go +++ b/x/simulation/doc.go @@ -48,7 +48,7 @@ Usage To execute a completely pseudo-random simulation: - $ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \ + $ go test -mod=readonly github.com/line/lbm-sdk/v2/simapp \ -run=TestFullAppSimulation \ -Enabled=true \ -NumBlocks=100 \ @@ -60,7 +60,7 @@ To execute a completely pseudo-random simulation: To execute simulation from a genesis file: - $ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \ + $ go test -mod=readonly github.com/line/lbm-sdk/v2/simapp \ -run=TestFullAppSimulation \ -Enabled=true \ -NumBlocks=100 \ @@ -73,7 +73,7 @@ To execute simulation from a genesis file: To execute simulation from a simulation params file: - $ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \ + $ go test -mod=readonly github.com/line/lbm-sdk/v2/simapp \ -run=TestFullAppSimulation \ -Enabled=true \ -NumBlocks=100 \ @@ -86,7 +86,7 @@ To execute simulation from a simulation params file: To export the simulation params to a file at a given block height: - $ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \ + $ go test -mod=readonly github.com/line/lbm-sdk/v2/simapp \ -run=TestFullAppSimulation \ -Enabled=true \ -NumBlocks=100 \ @@ -101,7 +101,7 @@ To export the simulation params to a file at a given block height: To export the simulation app state (i.e genesis) to a file: - $ go test -mod=readonly github.com/cosmos/cosmos-sdk/simapp \ + $ go test -mod=readonly github.com/line/lbm-sdk/v2/simapp \ -run=TestFullAppSimulation \ -Enabled=true \ -NumBlocks=100 \ diff --git a/x/simulation/operation.go b/x/simulation/operation.go index 914daafc8b..1ec11cabda 100644 --- a/x/simulation/operation.go +++ b/x/simulation/operation.go @@ -5,7 +5,7 @@ import ( "math/rand" "sort" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/line/lbm-sdk/v2/types/simulation" ) // entry kinds for use within OperationEntry diff --git a/x/simulation/params.go b/x/simulation/params.go index 12e8e09726..957d888678 100644 --- a/x/simulation/params.go +++ b/x/simulation/params.go @@ -9,9 +9,9 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/simulation" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/types/simulation" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) const ( diff --git a/x/simulation/params_test.go b/x/simulation/params_test.go index d0b538c26e..f0b56fc46e 100644 --- a/x/simulation/params_test.go +++ b/x/simulation/params_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" ) func TestParamChange(t *testing.T) { diff --git a/x/simulation/simulate.go b/x/simulation/simulate.go index fdcf224611..f5af94a3bd 100644 --- a/x/simulation/simulate.go +++ b/x/simulation/simulate.go @@ -13,10 +13,10 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/simulation" ) const AverageBlockTime = 6 * time.Second diff --git a/x/simulation/transition_matrix.go b/x/simulation/transition_matrix.go index 9e2c69c066..b8c2840623 100644 --- a/x/simulation/transition_matrix.go +++ b/x/simulation/transition_matrix.go @@ -4,7 +4,7 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/line/lbm-sdk/v2/types/simulation" ) // TransitionMatrix is _almost_ a left stochastic matrix. It is technically diff --git a/x/slashing/abci.go b/x/slashing/abci.go index 26a3c68756..502359a4c7 100644 --- a/x/slashing/abci.go +++ b/x/slashing/abci.go @@ -5,10 +5,10 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/keeper" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // BeginBlocker check for infraction evidence or downtime of validators diff --git a/x/slashing/abci_test.go b/x/slashing/abci_test.go index 50140eb58e..22a656bc38 100644 --- a/x/slashing/abci_test.go +++ b/x/slashing/abci_test.go @@ -8,12 +8,12 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestBeginBlocker(t *testing.T) { diff --git a/x/slashing/app_test.go b/x/slashing/app_test.go index 5ee23b7cc5..abeb1f55b8 100644 --- a/x/slashing/app_test.go +++ b/x/slashing/app_test.go @@ -8,14 +8,14 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/slashing/client/cli/cli_test.go b/x/slashing/client/cli/cli_test.go index 41fac414c7..6491c5abcb 100644 --- a/x/slashing/client/cli/cli_test.go +++ b/x/slashing/client/cli/cli_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/client/cli" + "github.com/line/lbm-sdk/v2/client/flags" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/client/cli" ) type IntegrationTestSuite struct { diff --git a/x/slashing/client/cli/query.go b/x/slashing/client/cli/query.go index b6b71a344c..807e88504d 100644 --- a/x/slashing/client/cli/query.go +++ b/x/slashing/client/cli/query.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/slashing/client/cli/tx.go b/x/slashing/client/cli/tx.go index d896c8570c..804193ed8d 100644 --- a/x/slashing/client/cli/tx.go +++ b/x/slashing/client/cli/tx.go @@ -3,11 +3,11 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // NewTxCmd returns a root CLI command handler for all x/slashing transaction commands. diff --git a/x/slashing/client/rest/grpc_query_test.go b/x/slashing/client/rest/grpc_query_test.go index 8d4efd364c..ea9f18aa58 100644 --- a/x/slashing/client/rest/grpc_query_test.go +++ b/x/slashing/client/rest/grpc_query_test.go @@ -8,12 +8,12 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) type IntegrationTestSuite struct { diff --git a/x/slashing/client/rest/query.go b/x/slashing/client/rest/query.go index 36eb8cc24a..3511874503 100644 --- a/x/slashing/client/rest/query.go +++ b/x/slashing/client/rest/query.go @@ -6,10 +6,10 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { diff --git a/x/slashing/client/rest/rest.go b/x/slashing/client/rest/rest.go index a3a8854590..aa082f5f86 100644 --- a/x/slashing/client/rest/rest.go +++ b/x/slashing/client/rest/rest.go @@ -3,9 +3,9 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/line/lbm-sdk/v2/client/rest" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) func RegisterHandlers(clientCtx client.Context, rtr *mux.Router) { diff --git a/x/slashing/client/rest/tx.go b/x/slashing/client/rest/tx.go index eaac614fa1..1a17590e5f 100644 --- a/x/slashing/client/rest/tx.go +++ b/x/slashing/client/rest/tx.go @@ -6,11 +6,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) func registerTxHandlers(clientCtx client.Context, r *mux.Router) { diff --git a/x/slashing/genesis.go b/x/slashing/genesis.go index 2c8b667576..18d06b7f79 100644 --- a/x/slashing/genesis.go +++ b/x/slashing/genesis.go @@ -1,10 +1,10 @@ package slashing import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/keeper" + "github.com/line/lbm-sdk/v2/x/slashing/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // InitGenesis initialize default parameters diff --git a/x/slashing/genesis_test.go b/x/slashing/genesis_test.go index b9241f0246..58a8bfe513 100644 --- a/x/slashing/genesis_test.go +++ b/x/slashing/genesis_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing" + "github.com/line/lbm-sdk/v2/x/slashing/testslashing" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) func TestExportAndInitGenesis(t *testing.T) { diff --git a/x/slashing/handler.go b/x/slashing/handler.go index eab71edb41..820a1077f5 100644 --- a/x/slashing/handler.go +++ b/x/slashing/handler.go @@ -1,10 +1,10 @@ package slashing import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/slashing/keeper" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // NewHandler creates an sdk.Handler for all the slashing type messages diff --git a/x/slashing/handler_test.go b/x/slashing/handler_test.go index 7a83014b96..e0153922e8 100644 --- a/x/slashing/handler_test.go +++ b/x/slashing/handler_test.go @@ -9,16 +9,16 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing" + "github.com/line/lbm-sdk/v2/x/slashing/keeper" + "github.com/line/lbm-sdk/v2/x/slashing/testslashing" + "github.com/line/lbm-sdk/v2/x/slashing/types" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestCannotUnjailUnlessJailed(t *testing.T) { diff --git a/x/slashing/init_test.go b/x/slashing/init_test.go index 25a38a2d5e..0142ac9252 100644 --- a/x/slashing/init_test.go +++ b/x/slashing/init_test.go @@ -1,7 +1,7 @@ package slashing_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var ( diff --git a/x/slashing/keeper/common_test.go b/x/slashing/keeper/common_test.go index 940d995cac..e89eed2456 100644 --- a/x/slashing/keeper/common_test.go +++ b/x/slashing/keeper/common_test.go @@ -1,6 +1,6 @@ package keeper_test -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/line/lbm-sdk/v2/types" var ( InitTokens = sdk.TokensFromConsensusPower(200) diff --git a/x/slashing/keeper/grpc_query.go b/x/slashing/keeper/grpc_query.go index 982d093997..5511269d46 100644 --- a/x/slashing/keeper/grpc_query.go +++ b/x/slashing/keeper/grpc_query.go @@ -6,10 +6,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/slashing/keeper/grpc_query_test.go b/x/slashing/keeper/grpc_query_test.go index d923b822c7..9e535b645d 100644 --- a/x/slashing/keeper/grpc_query_test.go +++ b/x/slashing/keeper/grpc_query_test.go @@ -8,14 +8,14 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/slashing/testslashing" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) type SlashingTestSuite struct { diff --git a/x/slashing/keeper/hooks.go b/x/slashing/keeper/hooks.go index d596014258..8ed76d83d0 100644 --- a/x/slashing/keeper/hooks.go +++ b/x/slashing/keeper/hooks.go @@ -5,8 +5,8 @@ import ( "github.com/tendermint/tendermint/crypto" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) func (k Keeper) AfterValidatorBonded(ctx sdk.Context, address sdk.ConsAddress, _ sdk.ValAddress) { diff --git a/x/slashing/keeper/infractions.go b/x/slashing/keeper/infractions.go index 06baa48f82..b0858f84cd 100644 --- a/x/slashing/keeper/infractions.go +++ b/x/slashing/keeper/infractions.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // HandleValidatorSignature handles a validator signature, must be called once per validator per block. diff --git a/x/slashing/keeper/keeper.go b/x/slashing/keeper/keeper.go index 69a5e25b4a..31559d4b61 100644 --- a/x/slashing/keeper/keeper.go +++ b/x/slashing/keeper/keeper.go @@ -5,10 +5,10 @@ import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // Keeper of the slashing store diff --git a/x/slashing/keeper/keeper_test.go b/x/slashing/keeper/keeper_test.go index e083df637a..a6d62faee1 100644 --- a/x/slashing/keeper/keeper_test.go +++ b/x/slashing/keeper/keeper_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/testslashing" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestUnJailNotBonded(t *testing.T) { diff --git a/x/slashing/keeper/msg_server.go b/x/slashing/keeper/msg_server.go index 90a2558384..6e8ce7090f 100644 --- a/x/slashing/keeper/msg_server.go +++ b/x/slashing/keeper/msg_server.go @@ -3,8 +3,8 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) type msgServer struct { diff --git a/x/slashing/keeper/params.go b/x/slashing/keeper/params.go index 8ece97a687..2d98b90c28 100644 --- a/x/slashing/keeper/params.go +++ b/x/slashing/keeper/params.go @@ -3,8 +3,8 @@ package keeper import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // SignedBlocksWindow - sliding window for downtime slashing diff --git a/x/slashing/keeper/querier.go b/x/slashing/keeper/querier.go index 036f3a16dd..4838e079ee 100644 --- a/x/slashing/keeper/querier.go +++ b/x/slashing/keeper/querier.go @@ -3,11 +3,11 @@ package keeper import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // NewQuerier creates a new querier for slashing clients. diff --git a/x/slashing/keeper/querier_test.go b/x/slashing/keeper/querier_test.go index bda5fe4bc5..d0476648f5 100644 --- a/x/slashing/keeper/querier_test.go +++ b/x/slashing/keeper/querier_test.go @@ -8,11 +8,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/x/slashing/keeper" + "github.com/line/lbm-sdk/v2/x/slashing/testslashing" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) func TestNewQuerier(t *testing.T) { diff --git a/x/slashing/keeper/signing_info.go b/x/slashing/keeper/signing_info.go index 0a4473d60e..08400a09cf 100644 --- a/x/slashing/keeper/signing_info.go +++ b/x/slashing/keeper/signing_info.go @@ -5,8 +5,8 @@ import ( gogotypes "github.com/gogo/protobuf/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // GetValidatorSigningInfo retruns the ValidatorSigningInfo for a specific validator diff --git a/x/slashing/keeper/signing_info_test.go b/x/slashing/keeper/signing_info_test.go index 1b70c83b97..f0cdf83153 100644 --- a/x/slashing/keeper/signing_info_test.go +++ b/x/slashing/keeper/signing_info_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) func TestGetSetValidatorSigningInfo(t *testing.T) { diff --git a/x/slashing/keeper/unjail.go b/x/slashing/keeper/unjail.go index 23a9121e54..10de2c433e 100644 --- a/x/slashing/keeper/unjail.go +++ b/x/slashing/keeper/unjail.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // Unjail calls the staking Unjail function to unjail a validator if the diff --git a/x/slashing/legacy/v039/types.go b/x/slashing/legacy/v039/types.go index 34eed33717..01f53bcc1e 100644 --- a/x/slashing/legacy/v039/types.go +++ b/x/slashing/legacy/v039/types.go @@ -3,7 +3,7 @@ package v039 import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/slashing/legacy/v040/migrate.go b/x/slashing/legacy/v040/migrate.go index ba494dcad1..eca0621848 100644 --- a/x/slashing/legacy/v040/migrate.go +++ b/x/slashing/legacy/v040/migrate.go @@ -3,8 +3,8 @@ package v040 import ( "sort" - v039slashing "github.com/cosmos/cosmos-sdk/x/slashing/legacy/v039" - v040slashing "github.com/cosmos/cosmos-sdk/x/slashing/types" + v039slashing "github.com/line/lbm-sdk/v2/x/slashing/legacy/v039" + v040slashing "github.com/line/lbm-sdk/v2/x/slashing/types" ) // Migrate accepts exported x/slashing genesis state from v0.39 and migrates it diff --git a/x/slashing/legacy/v040/migrate_test.go b/x/slashing/legacy/v040/migrate_test.go index 016f3f4d44..0ca8f05cfc 100644 --- a/x/slashing/legacy/v040/migrate_test.go +++ b/x/slashing/legacy/v040/migrate_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - v039slashing "github.com/cosmos/cosmos-sdk/x/slashing/legacy/v039" - v040slashing "github.com/cosmos/cosmos-sdk/x/slashing/legacy/v040" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + v039slashing "github.com/line/lbm-sdk/v2/x/slashing/legacy/v039" + v040slashing "github.com/line/lbm-sdk/v2/x/slashing/legacy/v040" ) func TestMigrate(t *testing.T) { diff --git a/x/slashing/module.go b/x/slashing/module.go index 91ad472e90..b93c2af113 100644 --- a/x/slashing/module.go +++ b/x/slashing/module.go @@ -13,18 +13,18 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/client/cli" - "github.com/cosmos/cosmos-sdk/x/slashing/client/rest" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + cdctypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/client/cli" + "github.com/line/lbm-sdk/v2/x/slashing/client/rest" + "github.com/line/lbm-sdk/v2/x/slashing/keeper" + "github.com/line/lbm-sdk/v2/x/slashing/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/types" + stakingkeeper "github.com/line/lbm-sdk/v2/x/staking/keeper" ) var ( diff --git a/x/slashing/simulation/decoder.go b/x/slashing/simulation/decoder.go index b0ebb64ef3..c2f7a7df55 100644 --- a/x/slashing/simulation/decoder.go +++ b/x/slashing/simulation/decoder.go @@ -6,9 +6,9 @@ import ( gogotypes "github.com/gogo/protobuf/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/slashing/simulation/decoder_test.go b/x/slashing/simulation/decoder_test.go index e6122f0e0a..bbcfde835b 100644 --- a/x/slashing/simulation/decoder_test.go +++ b/x/slashing/simulation/decoder_test.go @@ -8,12 +8,12 @@ import ( gogotypes "github.com/gogo/protobuf/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/slashing/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/slashing/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // nolint:deadcode,unused,varcheck diff --git a/x/slashing/simulation/genesis.go b/x/slashing/simulation/genesis.go index 2c1eba7db7..2997a80e4b 100644 --- a/x/slashing/simulation/genesis.go +++ b/x/slashing/simulation/genesis.go @@ -8,10 +8,10 @@ import ( "math/rand" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // Simulation parameter constants diff --git a/x/slashing/simulation/genesis_test.go b/x/slashing/simulation/genesis_test.go index a386588d83..95c62e963b 100644 --- a/x/slashing/simulation/genesis_test.go +++ b/x/slashing/simulation/genesis_test.go @@ -8,13 +8,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/slashing/simulation/operations.go b/x/slashing/simulation/operations.go index 20acc9e91a..362a993ee0 100644 --- a/x/slashing/simulation/operations.go +++ b/x/slashing/simulation/operations.go @@ -4,16 +4,16 @@ import ( "errors" "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp/helpers" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/keeper" + "github.com/line/lbm-sdk/v2/x/slashing/types" + stakingkeeper "github.com/line/lbm-sdk/v2/x/staking/keeper" ) // Simulation operation weights constants diff --git a/x/slashing/simulation/operations_test.go b/x/slashing/simulation/operations_test.go index 15764c631e..2dbde788b1 100644 --- a/x/slashing/simulation/operations_test.go +++ b/x/slashing/simulation/operations_test.go @@ -9,15 +9,15 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/cosmos/cosmos-sdk/x/slashing/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + distrtypes "github.com/line/lbm-sdk/v2/x/distribution/types" + minttypes "github.com/line/lbm-sdk/v2/x/mint/types" + "github.com/line/lbm-sdk/v2/x/slashing/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // TestWeightedOperations tests the weights of the operations. diff --git a/x/slashing/simulation/params.go b/x/slashing/simulation/params.go index e7c8fcf491..0b059bd6bd 100644 --- a/x/slashing/simulation/params.go +++ b/x/slashing/simulation/params.go @@ -6,9 +6,9 @@ import ( "fmt" "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) const ( diff --git a/x/slashing/simulation/params_test.go b/x/slashing/simulation/params_test.go index 2f1933c60a..bed819dcf3 100644 --- a/x/slashing/simulation/params_test.go +++ b/x/slashing/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/slashing/simulation" + "github.com/line/lbm-sdk/v2/x/slashing/simulation" ) func TestParamChanges(t *testing.T) { diff --git a/x/slashing/testslashing/params.go b/x/slashing/testslashing/params.go index dac3f23c5c..46c747faa8 100644 --- a/x/slashing/testslashing/params.go +++ b/x/slashing/testslashing/params.go @@ -1,7 +1,7 @@ package testslashing import ( - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/line/lbm-sdk/v2/x/slashing/types" ) // TestParams construct default slashing params for tests. diff --git a/x/slashing/types/codec.go b/x/slashing/types/codec.go index bc89862f1b..f9ebba4912 100644 --- a/x/slashing/types/codec.go +++ b/x/slashing/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" ) // RegisterLegacyAminoCodec registers concrete types on LegacyAmino codec diff --git a/x/slashing/types/errors.go b/x/slashing/types/errors.go index daff6ecc04..2d021712e4 100644 --- a/x/slashing/types/errors.go +++ b/x/slashing/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/slashing module sentinel errors diff --git a/x/slashing/types/expected_keepers.go b/x/slashing/types/expected_keepers.go index 538a030baa..8b228f5a76 100644 --- a/x/slashing/types/expected_keepers.go +++ b/x/slashing/types/expected_keepers.go @@ -3,10 +3,10 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - auth "github.com/cosmos/cosmos-sdk/x/auth/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + auth "github.com/line/lbm-sdk/v2/x/auth/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // AccountKeeper expected account keeper diff --git a/x/slashing/types/genesis.go b/x/slashing/types/genesis.go index ee765c8c37..f3fe7ec092 100644 --- a/x/slashing/types/genesis.go +++ b/x/slashing/types/genesis.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewGenesisState creates a new GenesisState object diff --git a/x/slashing/types/keys.go b/x/slashing/types/keys.go index c9792d2208..754337ec26 100644 --- a/x/slashing/types/keys.go +++ b/x/slashing/types/keys.go @@ -3,7 +3,7 @@ package types import ( "encoding/binary" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/slashing/types/msg.go b/x/slashing/types/msg.go index d86ff5eb72..b9f25590c0 100644 --- a/x/slashing/types/msg.go +++ b/x/slashing/types/msg.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // slashing message types diff --git a/x/slashing/types/msg_test.go b/x/slashing/types/msg_test.go index 31f7a70e75..43626e708b 100644 --- a/x/slashing/types/msg_test.go +++ b/x/slashing/types/msg_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestMsgUnjailGetSignBytes(t *testing.T) { diff --git a/x/slashing/types/params.go b/x/slashing/types/params.go index aa9cd559e7..1fa7cd4ada 100644 --- a/x/slashing/types/params.go +++ b/x/slashing/types/params.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/line/lbm-sdk/v2/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Default parameter namespace diff --git a/x/slashing/types/query.pb.go b/x/slashing/types/query.pb.go index 3a0c997a30..da6ed34de8 100644 --- a/x/slashing/types/query.pb.go +++ b/x/slashing/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/line/lbm-sdk/v2/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/slashing/types/signing_info.go b/x/slashing/types/signing_info.go index ad359c3a51..7771975112 100644 --- a/x/slashing/types/signing_info.go +++ b/x/slashing/types/signing_info.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewValidatorSigningInfo creates a new ValidatorSigningInfo instance diff --git a/x/slashing/types/slashing.pb.go b/x/slashing/types/slashing.pb.go index 2f48e117eb..763d69e58d 100644 --- a/x/slashing/types/slashing.pb.go +++ b/x/slashing/types/slashing.pb.go @@ -5,12 +5,12 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/golang/protobuf/ptypes/duration" _ "github.com/golang/protobuf/ptypes/timestamp" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" io "io" math "math" math_bits "math/bits" @@ -126,10 +126,10 @@ func (m *ValidatorSigningInfo) GetMissedBlocksCounter() int64 { // Params represents the parameters used for by the slashing module. type Params struct { SignedBlocksWindow int64 `protobuf:"varint,1,opt,name=signed_blocks_window,json=signedBlocksWindow,proto3" json:"signed_blocks_window,omitempty" yaml:"signed_blocks_window"` - MinSignedPerWindow github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=min_signed_per_window,json=minSignedPerWindow,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_signed_per_window" yaml:"min_signed_per_window"` + MinSignedPerWindow github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=min_signed_per_window,json=minSignedPerWindow,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"min_signed_per_window" yaml:"min_signed_per_window"` DowntimeJailDuration time.Duration `protobuf:"bytes,3,opt,name=downtime_jail_duration,json=downtimeJailDuration,proto3,stdduration" json:"downtime_jail_duration" yaml:"downtime_jail_duration"` - SlashFractionDoubleSign github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=slash_fraction_double_sign,json=slashFractionDoubleSign,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_double_sign" yaml:"slash_fraction_double_sign"` - SlashFractionDowntime github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=slash_fraction_downtime,json=slashFractionDowntime,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_downtime" yaml:"slash_fraction_downtime"` + SlashFractionDoubleSign github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=slash_fraction_double_sign,json=slashFractionDoubleSign,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"slash_fraction_double_sign" yaml:"slash_fraction_double_sign"` + SlashFractionDowntime github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=slash_fraction_downtime,json=slashFractionDowntime,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"slash_fraction_downtime" yaml:"slash_fraction_downtime"` } func (m *Params) Reset() { *m = Params{} } diff --git a/x/staking/abci.go b/x/staking/abci.go index 28253b5bd3..9791311769 100644 --- a/x/staking/abci.go +++ b/x/staking/abci.go @@ -5,10 +5,10 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // BeginBlocker will persist the current header and validator set as a historical entry diff --git a/x/staking/app_test.go b/x/staking/app_test.go index 207ac03e0c..1ed0245525 100644 --- a/x/staking/app_test.go +++ b/x/staking/app_test.go @@ -7,11 +7,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func checkValidator(t *testing.T, app *simapp.SimApp, addr sdk.ValAddress, expFound bool) types.Validator { diff --git a/x/staking/client/cli/cli_test.go b/x/staking/client/cli/cli_test.go index f1ef9edc6b..9295488724 100644 --- a/x/staking/client/cli/cli_test.go +++ b/x/staking/client/cli/cli_test.go @@ -14,18 +14,18 @@ import ( "github.com/tendermint/tendermint/proto/tendermint/crypto" "github.com/tendermint/tendermint/rpc/client/http" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - banktestutil "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" - stakingtestutil "github.com/cosmos/cosmos-sdk/x/staking/client/testutil" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/crypto/hd" + "github.com/line/lbm-sdk/v2/crypto/keyring" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + banktestutil "github.com/line/lbm-sdk/v2/x/bank/client/testutil" + "github.com/line/lbm-sdk/v2/x/staking/client/cli" + stakingtestutil "github.com/line/lbm-sdk/v2/x/staking/client/testutil" + "github.com/line/lbm-sdk/v2/x/staking/types" ) type IntegrationTestSuite struct { diff --git a/x/staking/client/cli/flags.go b/x/staking/client/cli/flags.go index 094de343df..110db6ab6d 100644 --- a/x/staking/client/cli/flags.go +++ b/x/staking/client/cli/flags.go @@ -3,7 +3,7 @@ package cli import ( flag "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) const ( diff --git a/x/staking/client/cli/query.go b/x/staking/client/cli/query.go index 1e8b0a5c53..a4b53b445d 100644 --- a/x/staking/client/cli/query.go +++ b/x/staking/client/cli/query.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/staking/client/cli/tx.go b/x/staking/client/cli/tx.go index 10ceba6a45..ad0b5afbd6 100644 --- a/x/staking/client/cli/tx.go +++ b/x/staking/client/cli/tx.go @@ -8,13 +8,13 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/client/tx" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/version" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // default values diff --git a/x/staking/client/cli/tx_test.go b/x/staking/client/cli/tx_test.go index 7a28aac964..11feb0f05a 100644 --- a/x/staking/client/cli/tx_test.go +++ b/x/staking/client/cli/tx_test.go @@ -6,8 +6,8 @@ import ( "github.com/spf13/pflag" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/client/flags" + sdk "github.com/line/lbm-sdk/v2/types" ) func TestPrepareConfigForTxCreateValidator(t *testing.T) { diff --git a/x/staking/client/cli/utils.go b/x/staking/client/cli/utils.go index 241ac31405..bb4abcbb13 100644 --- a/x/staking/client/cli/utils.go +++ b/x/staking/client/cli/utils.go @@ -3,8 +3,8 @@ package cli import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func buildCommissionRates(rateStr, maxRateStr, maxChangeRateStr string) (commission types.CommissionRates, err error) { diff --git a/x/staking/client/rest/grpc_query_test.go b/x/staking/client/rest/grpc_query_test.go index 696a55ff9b..96619ce3ff 100644 --- a/x/staking/client/rest/grpc_query_test.go +++ b/x/staking/client/rest/grpc_query_test.go @@ -9,15 +9,15 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" - stakingtestutil "github.com/cosmos/cosmos-sdk/x/staking/client/testutil" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/testutil" + "github.com/line/lbm-sdk/v2/testutil/network" + sdk "github.com/line/lbm-sdk/v2/types" + grpctypes "github.com/line/lbm-sdk/v2/types/grpc" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/staking/client/cli" + stakingtestutil "github.com/line/lbm-sdk/v2/x/staking/client/testutil" + "github.com/line/lbm-sdk/v2/x/staking/types" ) type IntegrationTestSuite struct { diff --git a/x/staking/client/rest/query.go b/x/staking/client/rest/query.go index d515d5dfed..8f0c71858f 100644 --- a/x/staking/client/rest/query.go +++ b/x/staking/client/rest/query.go @@ -8,11 +8,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + clientrest "github.com/line/lbm-sdk/v2/client/rest" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { diff --git a/x/staking/client/rest/rest.go b/x/staking/client/rest/rest.go index 35bb8da681..4df84f22c9 100644 --- a/x/staking/client/rest/rest.go +++ b/x/staking/client/rest/rest.go @@ -3,9 +3,9 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/line/lbm-sdk/v2/client/rest" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) func RegisterHandlers(clientCtx client.Context, rtr *mux.Router) { diff --git a/x/staking/client/rest/rest_test.go b/x/staking/client/rest/rest_test.go index 43b9afdb6d..d80ef9a235 100644 --- a/x/staking/client/rest/rest_test.go +++ b/x/staking/client/rest/rest_test.go @@ -5,8 +5,8 @@ package rest_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func (s *IntegrationTestSuite) TestLegacyGetValidators() { diff --git a/x/staking/client/rest/tx.go b/x/staking/client/rest/tx.go index 26e859c41a..40a5b7d242 100644 --- a/x/staking/client/rest/tx.go +++ b/x/staking/client/rest/tx.go @@ -6,11 +6,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func registerTxHandlers(clientCtx client.Context, r *mux.Router) { diff --git a/x/staking/client/rest/utils.go b/x/staking/client/rest/utils.go index 2b8a1c4dcf..2b99bee92e 100644 --- a/x/staking/client/rest/utils.go +++ b/x/staking/client/rest/utils.go @@ -6,11 +6,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + authclient "github.com/line/lbm-sdk/v2/x/auth/client" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // contains checks if the a given query contains one of the tx types diff --git a/x/staking/client/testutil/test_helpers.go b/x/staking/client/testutil/test_helpers.go index 1a2a4b84bc..80c205eeba 100644 --- a/x/staking/client/testutil/test_helpers.go +++ b/x/staking/client/testutil/test_helpers.go @@ -3,12 +3,12 @@ package testutil import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingcli "github.com/cosmos/cosmos-sdk/x/staking/client/cli" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/testutil" + clitestutil "github.com/line/lbm-sdk/v2/testutil/cli" + sdk "github.com/line/lbm-sdk/v2/types" + stakingcli "github.com/line/lbm-sdk/v2/x/staking/client/cli" ) var commonArgs = []string{ diff --git a/x/staking/common_test.go b/x/staking/common_test.go index 0c26e6830d..2d1c7020bc 100644 --- a/x/staking/common_test.go +++ b/x/staking/common_test.go @@ -5,13 +5,13 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func init() { diff --git a/x/staking/genesis.go b/x/staking/genesis.go index 02f6bc3174..9f90e2f584 100644 --- a/x/staking/genesis.go +++ b/x/staking/genesis.go @@ -7,10 +7,10 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmtypes "github.com/tendermint/tendermint/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // InitGenesis sets the pool and parameters for the provided keeper. For each diff --git a/x/staking/genesis_test.go b/x/staking/genesis_test.go index 28e3dec8a0..d3e4d604ab 100644 --- a/x/staking/genesis_test.go +++ b/x/staking/genesis_test.go @@ -8,14 +8,14 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func bootstrapGenesisTest(t *testing.T, power int64, numAddrs int) (*simapp.SimApp, sdk.Context, []sdk.AccAddress) { diff --git a/x/staking/handler.go b/x/staking/handler.go index 6d89c7a29c..24bbd564e2 100644 --- a/x/staking/handler.go +++ b/x/staking/handler.go @@ -1,10 +1,10 @@ package staking import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func NewHandler(k keeper.Keeper) sdk.Handler { diff --git a/x/staking/handler_test.go b/x/staking/handler_test.go index 4b48f09427..6e3662c436 100644 --- a/x/staking/handler_test.go +++ b/x/staking/handler_test.go @@ -13,18 +13,18 @@ import ( "github.com/golang/protobuf/proto" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp" + "github.com/line/lbm-sdk/v2/testutil/testdata" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func bootstrapHandlerGenesisTest(t *testing.T, power int64, numAddrs int, accAmount sdk.Int) (*simapp.SimApp, sdk.Context, []sdk.AccAddress, []sdk.ValAddress) { diff --git a/x/staking/keeper/alias_functions.go b/x/staking/keeper/alias_functions.go index 1d563c6907..36cf138c26 100644 --- a/x/staking/keeper/alias_functions.go +++ b/x/staking/keeper/alias_functions.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) //_______________________________________________________________________ diff --git a/x/staking/keeper/common_test.go b/x/staking/keeper/common_test.go index 7ec4e9677c..fab5f2d58d 100644 --- a/x/staking/keeper/common_test.go +++ b/x/staking/keeper/common_test.go @@ -6,11 +6,11 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/staking/keeper/delegation.go b/x/staking/keeper/delegation.go index 283b308e76..de66620f60 100644 --- a/x/staking/keeper/delegation.go +++ b/x/staking/keeper/delegation.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // return a specific delegation diff --git a/x/staking/keeper/delegation_test.go b/x/staking/keeper/delegation_test.go index 77f4cb8e2c..015ad497c7 100644 --- a/x/staking/keeper/delegation_test.go +++ b/x/staking/keeper/delegation_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // tests GetDelegation, GetDelegatorDelegations, SetDelegation, RemoveDelegation, GetDelegatorDelegations diff --git a/x/staking/keeper/grpc_query.go b/x/staking/keeper/grpc_query.go index 49d9b92ce2..e852eefcb0 100644 --- a/x/staking/keeper/grpc_query.go +++ b/x/staking/keeper/grpc_query.go @@ -7,10 +7,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/store/prefix" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // Querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over keeper diff --git a/x/staking/keeper/grpc_query_test.go b/x/staking/keeper/grpc_query_test.go index acf6f9cb5b..d756425575 100644 --- a/x/staking/keeper/grpc_query_test.go +++ b/x/staking/keeper/grpc_query_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/query" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func (suite *KeeperTestSuite) TestGRPCQueryValidators() { diff --git a/x/staking/keeper/historical_info.go b/x/staking/keeper/historical_info.go index 20c5a8ce85..4e2734e925 100644 --- a/x/staking/keeper/historical_info.go +++ b/x/staking/keeper/historical_info.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // GetHistoricalInfo gets the historical info at a given height diff --git a/x/staking/keeper/historical_info_test.go b/x/staking/keeper/historical_info_test.go index a9411d0db9..5998f55266 100644 --- a/x/staking/keeper/historical_info_test.go +++ b/x/staking/keeper/historical_info_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestHistoricalInfo(t *testing.T) { diff --git a/x/staking/keeper/hooks.go b/x/staking/keeper/hooks.go index b8f25908ba..ae2064a867 100644 --- a/x/staking/keeper/hooks.go +++ b/x/staking/keeper/hooks.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // Implements StakingHooks interface diff --git a/x/staking/keeper/invariants.go b/x/staking/keeper/invariants.go index e21de8f951..20555fddb3 100644 --- a/x/staking/keeper/invariants.go +++ b/x/staking/keeper/invariants.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // RegisterInvariants registers all staking invariants diff --git a/x/staking/keeper/keeper.go b/x/staking/keeper/keeper.go index 81613d92bc..aee722d1cf 100644 --- a/x/staking/keeper/keeper.go +++ b/x/staking/keeper/keeper.go @@ -6,10 +6,10 @@ import ( "github.com/tendermint/tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // Implements ValidatorSet interface diff --git a/x/staking/keeper/keeper_test.go b/x/staking/keeper/keeper_test.go index 2f9819989f..1141806885 100644 --- a/x/staking/keeper/keeper_test.go +++ b/x/staking/keeper/keeper_test.go @@ -8,11 +8,11 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/types" ) type KeeperTestSuite struct { diff --git a/x/staking/keeper/msg_server.go b/x/staking/keeper/msg_server.go index 022d7d746d..66bdb41668 100644 --- a/x/staking/keeper/msg_server.go +++ b/x/staking/keeper/msg_server.go @@ -7,11 +7,11 @@ import ( metrics "github.com/armon/go-metrics" tmstrings "github.com/tendermint/tendermint/libs/strings" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/staking/types" ) type msgServer struct { diff --git a/x/staking/keeper/params.go b/x/staking/keeper/params.go index 7fe0a8d098..e89a0c08ff 100644 --- a/x/staking/keeper/params.go +++ b/x/staking/keeper/params.go @@ -3,8 +3,8 @@ package keeper import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // UnbondingTime diff --git a/x/staking/keeper/pool.go b/x/staking/keeper/pool.go index 5ced841e2f..0e36c96109 100644 --- a/x/staking/keeper/pool.go +++ b/x/staking/keeper/pool.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // GetBondedPool returns the bonded tokens pool's module account diff --git a/x/staking/keeper/querier.go b/x/staking/keeper/querier.go index 48272e2451..d2279924c7 100644 --- a/x/staking/keeper/querier.go +++ b/x/staking/keeper/querier.go @@ -6,11 +6,11 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // creates a querier for staking REST endpoints diff --git a/x/staking/keeper/querier_test.go b/x/staking/keeper/querier_test.go index 0b194bd6dc..4b2ec4c724 100644 --- a/x/staking/keeper/querier_test.go +++ b/x/staking/keeper/querier_test.go @@ -8,12 +8,12 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestNewQuerier(t *testing.T) { diff --git a/x/staking/keeper/query_utils.go b/x/staking/keeper/query_utils.go index a6f323092a..28c1a1475e 100644 --- a/x/staking/keeper/query_utils.go +++ b/x/staking/keeper/query_utils.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // Return all validators that a delegator is bonded to. If maxRetrieve is supplied, the respective amount will be returned. diff --git a/x/staking/keeper/slash.go b/x/staking/keeper/slash.go index a36f6f2e6e..20aaca7357 100644 --- a/x/staking/keeper/slash.go +++ b/x/staking/keeper/slash.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + types "github.com/line/lbm-sdk/v2/x/staking/types" ) // Slash a validator for an infraction committed at a known height @@ -33,7 +33,7 @@ func (k Keeper) Slash(ctx sdk.Context, consAddr sdk.ConsAddress, infractionHeigh slashAmountDec := amount.ToDec().Mul(slashFactor) slashAmount := slashAmountDec.TruncateInt() - // ref https://github.com/cosmos/cosmos-sdk/issues/1348 + // ref https://github.com/line/lbm-sdk/v2/issues/1348 validator, found := k.GetValidatorByConsAddr(ctx, consAddr) if !found { diff --git a/x/staking/keeper/slash_test.go b/x/staking/keeper/slash_test.go index 356c022e4e..9aef691a4a 100644 --- a/x/staking/keeper/slash_test.go +++ b/x/staking/keeper/slash_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // bootstrapSlashTest creates 3 validators and bootstrap the app. @@ -333,7 +333,7 @@ func TestSlashWithUnbondingDelegation(t *testing.T) { // slash validator again // all originally bonded stake has been slashed, so this will have no effect // on the unbonding delegation, but it will slash stake bonded since the infraction - // this may not be the desirable behaviour, ref https://github.com/cosmos/cosmos-sdk/issues/1440 + // this may not be the desirable behaviour, ref https://github.com/line/lbm-sdk/v2/issues/1440 ctx = ctx.WithBlockHeight(13) app.StakingKeeper.Slash(ctx, consAddr, 9, 10, fraction) @@ -359,7 +359,7 @@ func TestSlashWithUnbondingDelegation(t *testing.T) { // slash validator again // all originally bonded stake has been slashed, so this will have no effect // on the unbonding delegation, but it will slash stake bonded since the infraction - // this may not be the desirable behaviour, ref https://github.com/cosmos/cosmos-sdk/issues/1440 + // this may not be the desirable behaviour, ref https://github.com/line/lbm-sdk/v2/issues/1440 ctx = ctx.WithBlockHeight(13) app.StakingKeeper.Slash(ctx, consAddr, 9, 10, fraction) diff --git a/x/staking/keeper/test_common.go b/x/staking/keeper/test_common.go index 42e94740d3..ea0212642a 100644 --- a/x/staking/keeper/test_common.go +++ b/x/staking/keeper/test_common.go @@ -4,8 +4,8 @@ import ( "bytes" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // does a certain by-power index record exist diff --git a/x/staking/keeper/val_state_change.go b/x/staking/keeper/val_state_change.go index f06994f44f..ff9a7cff90 100644 --- a/x/staking/keeper/val_state_change.go +++ b/x/staking/keeper/val_state_change.go @@ -8,8 +8,8 @@ import ( gogotypes "github.com/gogo/protobuf/types" abci "github.com/tendermint/tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // Calculate the ValidatorUpdates for the current block diff --git a/x/staking/keeper/validator.go b/x/staking/keeper/validator.go index 3aa1441767..f85e2c5e2c 100644 --- a/x/staking/keeper/validator.go +++ b/x/staking/keeper/validator.go @@ -6,8 +6,8 @@ import ( gogotypes "github.com/gogo/protobuf/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // get a single validator diff --git a/x/staking/keeper/validator_test.go b/x/staking/keeper/validator_test.go index 8696440705..ba397a6a31 100644 --- a/x/staking/keeper/validator_test.go +++ b/x/staking/keeper/validator_test.go @@ -10,13 +10,13 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + banktypes "github.com/line/lbm-sdk/v2/x/bank/types" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func newMonikerValidator(t testing.TB, operator sdk.ValAddress, pubKey cryptotypes.PubKey, moniker string) types.Validator { diff --git a/x/staking/legacy/v034/types.go b/x/staking/legacy/v034/types.go index 9f8622d4be..1b9d961b48 100644 --- a/x/staking/legacy/v034/types.go +++ b/x/staking/legacy/v034/types.go @@ -5,9 +5,9 @@ package v034 import ( "time" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec/legacy" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/staking/legacy/v036/migrate.go b/x/staking/legacy/v036/migrate.go index cc4d7a4089..ef104652e6 100644 --- a/x/staking/legacy/v036/migrate.go +++ b/x/staking/legacy/v036/migrate.go @@ -3,7 +3,7 @@ package v036 import ( - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" ) // Migrate accepts exported genesis state from v0.34 and migrates it to v0.36 diff --git a/x/staking/legacy/v036/migrate_test.go b/x/staking/legacy/v036/migrate_test.go index 3754042785..da53d170bc 100644 --- a/x/staking/legacy/v036/migrate_test.go +++ b/x/staking/legacy/v036/migrate_test.go @@ -5,11 +5,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" - v036staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v036" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/crypto/keys/secp256k1" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" + v036staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v036" ) func TestMigrate(t *testing.T) { diff --git a/x/staking/legacy/v036/types.go b/x/staking/legacy/v036/types.go index b433b00701..df28e66049 100644 --- a/x/staking/legacy/v036/types.go +++ b/x/staking/legacy/v036/types.go @@ -5,10 +5,10 @@ package v036 import ( "time" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" + "github.com/line/lbm-sdk/v2/codec/legacy" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" ) const ( diff --git a/x/staking/legacy/v038/migrate.go b/x/staking/legacy/v038/migrate.go index 21029881a3..f6cd733270 100644 --- a/x/staking/legacy/v038/migrate.go +++ b/x/staking/legacy/v038/migrate.go @@ -3,7 +3,7 @@ package v038 import ( - v036staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v036" + v036staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v036" ) // Migrate accepts exported genesis state from v0.36 or v0.37 and migrates it to diff --git a/x/staking/legacy/v038/types.go b/x/staking/legacy/v038/types.go index 58ffa1351b..0b6f4e7c27 100644 --- a/x/staking/legacy/v038/types.go +++ b/x/staking/legacy/v038/types.go @@ -5,11 +5,11 @@ package v038 import ( "time" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" - v036staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v036" + "github.com/line/lbm-sdk/v2/codec/legacy" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" + v036staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v036" ) const ( diff --git a/x/staking/legacy/v040/migrate.go b/x/staking/legacy/v040/migrate.go index b0746fa363..368ce12200 100644 --- a/x/staking/legacy/v040/migrate.go +++ b/x/staking/legacy/v040/migrate.go @@ -3,10 +3,10 @@ package v040 import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" - v038staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v038" - v040staking "github.com/cosmos/cosmos-sdk/x/staking/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" + v038staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v038" + v040staking "github.com/line/lbm-sdk/v2/x/staking/types" ) func migrateBondStatus(oldStatus v034staking.BondStatus) v040staking.BondStatus { diff --git a/x/staking/legacy/v040/migrate_test.go b/x/staking/legacy/v040/migrate_test.go index 2be5e80dbc..0eb5d04126 100644 --- a/x/staking/legacy/v040/migrate_test.go +++ b/x/staking/legacy/v040/migrate_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - v034staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v034" - v038staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v038" - v040staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v040" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + v034staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v034" + v038staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v038" + v040staking "github.com/line/lbm-sdk/v2/x/staking/legacy/v040" ) func TestMigrate(t *testing.T) { diff --git a/x/staking/module.go b/x/staking/module.go index f2e4221174..61f966e7ca 100644 --- a/x/staking/module.go +++ b/x/staking/module.go @@ -12,17 +12,17 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" - "github.com/cosmos/cosmos-sdk/x/staking/client/rest" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + cdctypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/staking/client/cli" + "github.com/line/lbm-sdk/v2/x/staking/client/rest" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/simulation" + "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/staking/module_test.go b/x/staking/module_test.go index b1d126d0c3..dd3cc7a8f9 100644 --- a/x/staking/module_test.go +++ b/x/staking/module_test.go @@ -7,9 +7,9 @@ import ( abcitypes "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/x/staking/simulation/common_test.go b/x/staking/simulation/common_test.go index 880cb442de..2b2993a3cc 100644 --- a/x/staking/simulation/common_test.go +++ b/x/staking/simulation/common_test.go @@ -3,7 +3,7 @@ package simulation_test import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func init() { diff --git a/x/staking/simulation/decoder.go b/x/staking/simulation/decoder.go index 696aee7d22..71e8552123 100644 --- a/x/staking/simulation/decoder.go +++ b/x/staking/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/staking/simulation/decoder_test.go b/x/staking/simulation/decoder_test.go index 60210fa89b..a759ecdb4d 100644 --- a/x/staking/simulation/decoder_test.go +++ b/x/staking/simulation/decoder_test.go @@ -7,14 +7,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/staking/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/kv" + "github.com/line/lbm-sdk/v2/x/staking/simulation" + "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/staking/simulation/genesis.go b/x/staking/simulation/genesis.go index 0c33fa9ee2..d01d2787a9 100644 --- a/x/staking/simulation/genesis.go +++ b/x/staking/simulation/genesis.go @@ -8,10 +8,10 @@ import ( "math/rand" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // Simulation parameter constants diff --git a/x/staking/simulation/genesis_test.go b/x/staking/simulation/genesis_test.go index aba85cd2bf..c0f99f24bd 100644 --- a/x/staking/simulation/genesis_test.go +++ b/x/staking/simulation/genesis_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/types/module" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/staking/simulation" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/staking/simulation/operations.go b/x/staking/simulation/operations.go index 0bcb274ed7..e813e8f70a 100644 --- a/x/staking/simulation/operations.go +++ b/x/staking/simulation/operations.go @@ -4,15 +4,15 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/simapp/helpers" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // Simulation operation weights constants diff --git a/x/staking/simulation/operations_test.go b/x/staking/simulation/operations_test.go index fca3b78125..576b0841cf 100644 --- a/x/staking/simulation/operations_test.go +++ b/x/staking/simulation/operations_test.go @@ -9,15 +9,15 @@ import ( abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/cosmos/cosmos-sdk/x/staking/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/simapp" + simappparams "github.com/line/lbm-sdk/v2/simapp/params" + sdk "github.com/line/lbm-sdk/v2/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + distrtypes "github.com/line/lbm-sdk/v2/x/distribution/types" + minttypes "github.com/line/lbm-sdk/v2/x/mint/types" + "github.com/line/lbm-sdk/v2/x/staking/simulation" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // TestWeightedOperations tests the weights of the operations. diff --git a/x/staking/simulation/params.go b/x/staking/simulation/params.go index ffbbe4fe47..7c481b7d22 100644 --- a/x/staking/simulation/params.go +++ b/x/staking/simulation/params.go @@ -6,10 +6,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/line/lbm-sdk/v2/x/simulation" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/types" + simtypes "github.com/line/lbm-sdk/v2/types/simulation" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/x/staking/simulation/params_test.go b/x/staking/simulation/params_test.go index 07da026645..069c09755e 100644 --- a/x/staking/simulation/params_test.go +++ b/x/staking/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/staking/simulation" + "github.com/line/lbm-sdk/v2/x/staking/simulation" ) func TestParamChanges(t *testing.T) { diff --git a/x/staking/teststaking/helper.go b/x/staking/teststaking/helper.go index b33118f541..10d4bc1acf 100644 --- a/x/staking/teststaking/helper.go +++ b/x/staking/teststaking/helper.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking" + "github.com/line/lbm-sdk/v2/x/staking/keeper" + stakingtypes "github.com/line/lbm-sdk/v2/x/staking/types" ) // Helper is a structure which wraps the staking handler diff --git a/x/staking/teststaking/tm.go b/x/staking/teststaking/tm.go index 9a9c030d06..fe0f4b2134 100644 --- a/x/staking/teststaking/tm.go +++ b/x/staking/teststaking/tm.go @@ -4,8 +4,8 @@ import ( tmcrypto "github.com/tendermint/tendermint/crypto" tmtypes "github.com/tendermint/tendermint/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // GetTmConsPubKey gets the validator's public key as a tmcrypto.PubKey. diff --git a/x/staking/teststaking/validator.go b/x/staking/teststaking/validator.go index 71459581f0..28f2182bed 100644 --- a/x/staking/teststaking/validator.go +++ b/x/staking/teststaking/validator.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) // NewValidator is a testing helper method to create validators in tests diff --git a/x/staking/types/codec.go b/x/staking/types/codec.go index 714554a33c..6f98f591fd 100644 --- a/x/staking/types/codec.go +++ b/x/staking/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/msgservice" ) // RegisterLegacyAminoCodec registers the necessary x/staking interfaces and concrete types diff --git a/x/staking/types/commission.go b/x/staking/types/commission.go index 54891b5dca..aea354ca9a 100644 --- a/x/staking/types/commission.go +++ b/x/staking/types/commission.go @@ -5,7 +5,7 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // NewCommissionRates returns an initialized validator commission rates. diff --git a/x/staking/types/commission_test.go b/x/staking/types/commission_test.go index 3ca95cf4b4..d3ddd4fe7c 100644 --- a/x/staking/types/commission_test.go +++ b/x/staking/types/commission_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestCommissionValidate(t *testing.T) { diff --git a/x/staking/types/data_test.go b/x/staking/types/data_test.go index ed9c64c57a..0d2965c1b9 100644 --- a/x/staking/types/data_test.go +++ b/x/staking/types/data_test.go @@ -3,10 +3,10 @@ package types_test import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) var ( diff --git a/x/staking/types/delegation.go b/x/staking/types/delegation.go index a833215972..f3bcd1bf7c 100644 --- a/x/staking/types/delegation.go +++ b/x/staking/types/delegation.go @@ -8,8 +8,8 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" ) // Implements Delegation interface diff --git a/x/staking/types/delegation_test.go b/x/staking/types/delegation_test.go index 7ca5e8132e..47d755d9ec 100644 --- a/x/staking/types/delegation_test.go +++ b/x/staking/types/delegation_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestDelegationEqual(t *testing.T) { diff --git a/x/staking/types/errors.go b/x/staking/types/errors.go index d6c31a15dc..f20582fb1e 100644 --- a/x/staking/types/errors.go +++ b/x/staking/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // x/staking module sentinel errors diff --git a/x/staking/types/expected_keepers.go b/x/staking/types/expected_keepers.go index 1c1d7f7de9..e900af1990 100644 --- a/x/staking/types/expected_keepers.go +++ b/x/staking/types/expected_keepers.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" + sdk "github.com/line/lbm-sdk/v2/types" + authtypes "github.com/line/lbm-sdk/v2/x/auth/types" + bankexported "github.com/line/lbm-sdk/v2/x/bank/exported" ) // DistributionKeeper expected distribution keeper (noalias) diff --git a/x/staking/types/exported.go b/x/staking/types/exported.go index a02adc34ba..ac4ff894ab 100644 --- a/x/staking/types/exported.go +++ b/x/staking/types/exported.go @@ -3,8 +3,8 @@ package types import ( tmprotocrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // DelegationI delegation bond for a delegated proof of stake system diff --git a/x/staking/types/genesis.go b/x/staking/types/genesis.go index a0a510f6b4..6a6af9ccd2 100644 --- a/x/staking/types/genesis.go +++ b/x/staking/types/genesis.go @@ -3,8 +3,8 @@ package types import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" ) // NewGenesisState creates a new GenesisState instanc e diff --git a/x/staking/types/genesis.pb.go b/x/staking/types/genesis.pb.go index 2ea6f8bf99..63bde40781 100644 --- a/x/staking/types/genesis.pb.go +++ b/x/staking/types/genesis.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" io "io" math "math" math_bits "math/bits" @@ -30,7 +30,7 @@ type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // last_total_power tracks the total amounts of bonded tokens recorded during // the previous end block. - LastTotalPower github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=last_total_power,json=lastTotalPower,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"last_total_power" yaml:"last_total_power"` + LastTotalPower github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=last_total_power,json=lastTotalPower,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"last_total_power" yaml:"last_total_power"` // last_validator_powers is a special index that provides a historical list // of the last-block's bonded validators. LastValidatorPowers []LastValidatorPower `protobuf:"bytes,3,rep,name=last_validator_powers,json=lastValidatorPowers,proto3" json:"last_validator_powers" yaml:"last_validator_powers"` diff --git a/x/staking/types/historical_info.go b/x/staking/types/historical_info.go index 1a8461ad13..72c41813c5 100644 --- a/x/staking/types/historical_info.go +++ b/x/staking/types/historical_info.go @@ -6,9 +6,9 @@ import ( "github.com/gogo/protobuf/proto" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // NewHistoricalInfo will create a historical information struct from header and valset diff --git a/x/staking/types/historical_info_test.go b/x/staking/types/historical_info_test.go index d8a25fa929..8e80dcb37f 100644 --- a/x/staking/types/historical_info_test.go +++ b/x/staking/types/historical_info_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) var header = tmproto.Header{ diff --git a/x/staking/types/hooks.go b/x/staking/types/hooks.go index 694caca540..ea343fca3a 100644 --- a/x/staking/types/hooks.go +++ b/x/staking/types/hooks.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // combine multiple staking hooks, all hook functions are run in array sequence diff --git a/x/staking/types/keys.go b/x/staking/types/keys.go index 40d62244a0..35ca33dd09 100644 --- a/x/staking/types/keys.go +++ b/x/staking/types/keys.go @@ -7,7 +7,7 @@ import ( "strconv" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) const ( diff --git a/x/staking/types/keys_test.go b/x/staking/types/keys_test.go index 0f63617f26..9a68968055 100644 --- a/x/staking/types/keys_test.go +++ b/x/staking/types/keys_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/staking/types/msg.go b/x/staking/types/msg.go index 2525aa6646..a42a7db6b1 100644 --- a/x/staking/types/msg.go +++ b/x/staking/types/msg.go @@ -3,10 +3,10 @@ package types import ( "bytes" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // staking message types diff --git a/x/staking/types/msg_test.go b/x/staking/types/msg_test.go index 493434527c..04f0c54195 100644 --- a/x/staking/types/msg_test.go +++ b/x/staking/types/msg_test.go @@ -5,13 +5,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) var ( diff --git a/x/staking/types/params.go b/x/staking/types/params.go index 549189fa4f..02ff35c748 100644 --- a/x/staking/types/params.go +++ b/x/staking/types/params.go @@ -8,9 +8,9 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + paramtypes "github.com/line/lbm-sdk/v2/x/params/types" ) // Staking params default values diff --git a/x/staking/types/params_test.go b/x/staking/types/params_test.go index 6218091e0f..648da71e99 100644 --- a/x/staking/types/params_test.go +++ b/x/staking/types/params_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestParamsEqual(t *testing.T) { diff --git a/x/staking/types/pool.go b/x/staking/types/pool.go index c71d1684f9..a571a3fb1f 100644 --- a/x/staking/types/pool.go +++ b/x/staking/types/pool.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // names used as root for pool module accounts: diff --git a/x/staking/types/querier.go b/x/staking/types/querier.go index 08fefae073..fe61ffd51f 100644 --- a/x/staking/types/querier.go +++ b/x/staking/types/querier.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // query endpoints supported by the staking Querier diff --git a/x/staking/types/query.pb.go b/x/staking/types/query.pb.go index 29f84adc27..394c0bc90f 100644 --- a/x/staking/types/query.pb.go +++ b/x/staking/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/line/lbm-sdk/v2/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/staking/types/staking.pb.go b/x/staking/types/staking.pb.go index 45b30b7a0e..3d884f4af6 100644 --- a/x/staking/types/staking.pb.go +++ b/x/staking/types/staking.pb.go @@ -7,9 +7,6 @@ import ( bytes "bytes" compress_gzip "compress/gzip" fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types2 "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" proto "github.com/gogo/protobuf/proto" @@ -17,6 +14,9 @@ import ( github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/golang/protobuf/ptypes/duration" _ "github.com/golang/protobuf/ptypes/timestamp" + types1 "github.com/line/lbm-sdk/v2/codec/types" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types2 "github.com/line/lbm-sdk/v2/types" _ "github.com/regen-network/cosmos-proto" types "github.com/tendermint/tendermint/proto/tendermint/types" io "io" @@ -136,11 +136,11 @@ func (m *HistoricalInfo) GetValset() []Validator { // a validator. type CommissionRates struct { // rate is the commission rate charged to delegators, as a fraction. - Rate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"rate"` + Rate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=rate,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"rate"` // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. - MaxRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=max_rate,json=maxRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_rate" yaml:"max_rate"` + MaxRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=max_rate,json=maxRate,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"max_rate" yaml:"max_rate"` // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. - MaxChangeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=max_change_rate,json=maxChangeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_change_rate" yaml:"max_change_rate"` + MaxChangeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=max_change_rate,json=maxChangeRate,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"max_change_rate" yaml:"max_change_rate"` } func (m *CommissionRates) Reset() { *m = CommissionRates{} } @@ -321,9 +321,9 @@ type Validator struct { // status is the validator status (bonded/unbonding/unbonded). Status BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status,omitempty"` // tokens define the delegated tokens (incl. self-delegation). - Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tokens"` + Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"tokens"` // delegator_shares defines total shares issued to a validator's delegators. - DelegatorShares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=delegator_shares,json=delegatorShares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"delegator_shares" yaml:"delegator_shares"` + DelegatorShares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=delegator_shares,json=delegatorShares,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"delegator_shares" yaml:"delegator_shares"` // description defines the description terms for the validator. Description Description `protobuf:"bytes,7,opt,name=description,proto3" json:"description"` // unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. @@ -333,7 +333,7 @@ type Validator struct { // commission defines the commission parameters. Commission Commission `protobuf:"bytes,10,opt,name=commission,proto3" json:"commission"` // min_self_delegation is the validator's self declared minimum self delegation. - MinSelfDelegation github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,11,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_self_delegation" yaml:"min_self_delegation"` + MinSelfDelegation github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,11,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"min_self_delegation" yaml:"min_self_delegation"` } func (m *Validator) Reset() { *m = Validator{} } @@ -593,7 +593,7 @@ type Delegation struct { // validator_address is the bech32-encoded address of the validator. ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` // shares define the delegation shares received. - Shares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=shares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"shares"` + Shares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=shares,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"shares"` } func (m *Delegation) Reset() { *m = Delegation{} } @@ -678,9 +678,9 @@ type UnbondingDelegationEntry struct { // completion_time is the unix time for unbonding completion. CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time" yaml:"completion_time"` // initial_balance defines the tokens initially scheduled to receive at completion. - InitialBalance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=initial_balance,json=initialBalance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"initial_balance" yaml:"initial_balance"` + InitialBalance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=initial_balance,json=initialBalance,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"initial_balance" yaml:"initial_balance"` // balance defines the tokens to receive at completion. - Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance"` + Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"balance"` } func (m *UnbondingDelegationEntry) Reset() { *m = UnbondingDelegationEntry{} } @@ -736,9 +736,9 @@ type RedelegationEntry struct { // completion_time defines the unix time for redelegation completion. CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time" yaml:"completion_time"` // initial_balance defines the initial balance when redelegation started. - InitialBalance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=initial_balance,json=initialBalance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"initial_balance" yaml:"initial_balance"` + InitialBalance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=initial_balance,json=initialBalance,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"initial_balance" yaml:"initial_balance"` // shares_dst is the amount of destination-validator shares created by redelegation. - SharesDst github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=shares_dst,json=sharesDst,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"shares_dst"` + SharesDst github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=shares_dst,json=sharesDst,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"shares_dst"` } func (m *RedelegationEntry) Reset() { *m = RedelegationEntry{} } @@ -971,7 +971,7 @@ func (m *DelegationResponse) GetBalance() types2.Coin { // responses. type RedelegationEntryResponse struct { RedelegationEntry RedelegationEntry `protobuf:"bytes,1,opt,name=redelegation_entry,json=redelegationEntry,proto3" json:"redelegation_entry"` - Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance"` + Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"balance"` } func (m *RedelegationEntryResponse) Reset() { *m = RedelegationEntryResponse{} } @@ -1072,8 +1072,8 @@ func (m *RedelegationResponse) GetEntries() []RedelegationEntryResponse { // Pool is used for tracking bonded and not-bonded token supply of the bond // denomination. type Pool struct { - NotBondedTokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=not_bonded_tokens,json=notBondedTokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"not_bonded_tokens"` - BondedTokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=bonded_tokens,json=bondedTokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"bonded_tokens" yaml:"bonded_tokens"` + NotBondedTokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=not_bonded_tokens,json=notBondedTokens,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"not_bonded_tokens"` + BondedTokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=bonded_tokens,json=bondedTokens,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"bonded_tokens" yaml:"bonded_tokens"` } func (m *Pool) Reset() { *m = Pool{} } diff --git a/x/staking/types/tx.pb.go b/x/staking/types/tx.pb.go index 50e1765ff6..ec0d6847a7 100644 --- a/x/staking/types/tx.pb.go +++ b/x/staking/types/tx.pb.go @@ -6,14 +6,14 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/golang/protobuf/ptypes/timestamp" + types "github.com/line/lbm-sdk/v2/codec/types" + github_com_cosmos_cosmos_sdk_types "github.com/line/lbm-sdk/v2/types" + types1 "github.com/line/lbm-sdk/v2/types" _ "github.com/regen-network/cosmos-proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -40,7 +40,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgCreateValidator struct { Description Description `protobuf:"bytes,1,opt,name=description,proto3" json:"description"` Commission CommissionRates `protobuf:"bytes,2,opt,name=commission,proto3" json:"commission"` - MinSelfDelegation github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_self_delegation" yaml:"min_self_delegation"` + MinSelfDelegation github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"min_self_delegation" yaml:"min_self_delegation"` DelegatorAddress string `protobuf:"bytes,4,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty" yaml:"delegator_address"` ValidatorAddress string `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` Pubkey *types.Any `protobuf:"bytes,6,opt,name=pubkey,proto3" json:"pubkey,omitempty"` @@ -125,8 +125,8 @@ type MsgEditValidator struct { // it's not mandatory to update. If not updated, the deserialized rate will be // zero with no way to distinguish if an update was intended. // REF: #2373 - CommissionRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=commission_rate,json=commissionRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"commission_rate,omitempty" yaml:"commission_rate"` - MinSelfDelegation *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_self_delegation,omitempty" yaml:"min_self_delegation"` + CommissionRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=commission_rate,json=commissionRate,proto3,customtype=github.com/line/lbm-sdk/v2/types.Dec" json:"commission_rate,omitempty" yaml:"commission_rate"` + MinSelfDelegation *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/line/lbm-sdk/v2/types.Int" json:"min_self_delegation,omitempty" yaml:"min_self_delegation"` } func (m *MsgEditValidator) Reset() { *m = MsgEditValidator{} } diff --git a/x/staking/types/validator.go b/x/staking/types/validator.go index e551e75252..90923c0fab 100644 --- a/x/staking/types/validator.go +++ b/x/staking/types/validator.go @@ -11,12 +11,12 @@ import ( tmprotocrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) const ( diff --git a/x/staking/types/validator_test.go b/x/staking/types/validator_test.go index 08204215d5..06f48d65ce 100644 --- a/x/staking/types/validator_test.go +++ b/x/staking/types/validator_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/require" tmtypes "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/line/lbm-sdk/v2/codec/legacy" + cryptocodec "github.com/line/lbm-sdk/v2/crypto/codec" + "github.com/line/lbm-sdk/v2/crypto/keys/ed25519" + cryptotypes "github.com/line/lbm-sdk/v2/crypto/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/staking/teststaking" + "github.com/line/lbm-sdk/v2/x/staking/types" ) func TestValidatorTestEquivalent(t *testing.T) { diff --git a/x/upgrade/abci.go b/x/upgrade/abci.go index fa95c4c4aa..a6edbdad8a 100644 --- a/x/upgrade/abci.go +++ b/x/upgrade/abci.go @@ -6,12 +6,12 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/telemetry" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/upgrade/keeper" + "github.com/line/lbm-sdk/v2/x/upgrade/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" ) // BeginBlock will check if there is a scheduled plan and if it is ready to be executed. diff --git a/x/upgrade/abci_test.go b/x/upgrade/abci_test.go index eb31857961..4546df358d 100644 --- a/x/upgrade/abci_test.go +++ b/x/upgrade/abci_test.go @@ -15,17 +15,17 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/simapp" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/module" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - "github.com/cosmos/cosmos-sdk/x/upgrade" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/simapp" + storetypes "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + "github.com/line/lbm-sdk/v2/types/module" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/upgrade" + "github.com/line/lbm-sdk/v2/x/upgrade/keeper" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) type TestSuite struct { diff --git a/x/upgrade/client/cli/query.go b/x/upgrade/client/cli/query.go index 675dba3a9e..2d9d6e6707 100644 --- a/x/upgrade/client/cli/query.go +++ b/x/upgrade/client/cli/query.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/flags" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) // GetQueryCmd returns the parent command for all x/upgrade CLi query commands. diff --git a/x/upgrade/client/cli/tx.go b/x/upgrade/client/cli/tx.go index 32472ad84d..90e5849441 100644 --- a/x/upgrade/client/cli/tx.go +++ b/x/upgrade/client/cli/tx.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - gov "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/client/tx" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/gov/client/cli" + gov "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) const ( @@ -41,7 +41,7 @@ func NewCmdSubmitUpgradeProposal() *cobra.Command { Short: "Submit a software upgrade proposal", Long: "Submit a software upgrade along with an initial deposit.\n" + "Please specify a unique name and height OR time for the upgrade to take effect.\n" + - "You may include info to reference a binary download link, in a format compatible with: https://github.com/cosmos/cosmos-sdk/tree/master/cosmovisor", + "You may include info to reference a binary download link, in a format compatible with: https://github.com/line/lbm-sdk/v2/tree/master/cosmovisor", RunE: func(cmd *cobra.Command, args []string) error { clientCtx, err := client.GetClientTxContext(cmd) if err != nil { diff --git a/x/upgrade/client/proposal_handler.go b/x/upgrade/client/proposal_handler.go index a4b64f7ac7..da128b29b9 100644 --- a/x/upgrade/client/proposal_handler.go +++ b/x/upgrade/client/proposal_handler.go @@ -1,9 +1,9 @@ package client import ( - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/cli" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/rest" + govclient "github.com/line/lbm-sdk/v2/x/gov/client" + "github.com/line/lbm-sdk/v2/x/upgrade/client/cli" + "github.com/line/lbm-sdk/v2/x/upgrade/client/rest" ) var ProposalHandler = govclient.NewProposalHandler(cli.NewCmdSubmitUpgradeProposal, rest.ProposalRESTHandler) diff --git a/x/upgrade/client/rest/query.go b/x/upgrade/client/rest/query.go index 299f7f7d8f..5c0262f3d6 100644 --- a/x/upgrade/client/rest/query.go +++ b/x/upgrade/client/rest/query.go @@ -7,9 +7,9 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/types/rest" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { diff --git a/x/upgrade/client/rest/rest.go b/x/upgrade/client/rest/rest.go index 3192083f8d..c71d161a22 100644 --- a/x/upgrade/client/rest/rest.go +++ b/x/upgrade/client/rest/rest.go @@ -3,9 +3,9 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/line/lbm-sdk/v2/client/rest" - "github.com/cosmos/cosmos-sdk/client" + "github.com/line/lbm-sdk/v2/client" ) // RegisterRoutes registers REST routes for the upgrade module under the path specified by routeName. diff --git a/x/upgrade/client/rest/tx.go b/x/upgrade/client/rest/tx.go index 51bdb8f923..7746850f77 100644 --- a/x/upgrade/client/rest/tx.go +++ b/x/upgrade/client/rest/tx.go @@ -4,17 +4,17 @@ import ( "net/http" "time" - "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/line/lbm-sdk/v2/client/tx" "github.com/gorilla/mux" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" + govrest "github.com/line/lbm-sdk/v2/x/gov/client/rest" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/client" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/rest" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) func registerTxHandlers( diff --git a/x/upgrade/handler.go b/x/upgrade/handler.go index 413217dc72..eaec721f38 100644 --- a/x/upgrade/handler.go +++ b/x/upgrade/handler.go @@ -1,11 +1,11 @@ package upgrade import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" + "github.com/line/lbm-sdk/v2/x/upgrade/keeper" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) // NewSoftwareUpgradeProposalHandler creates a governance handler to manage new proposal types. diff --git a/x/upgrade/keeper/grpc_query.go b/x/upgrade/keeper/grpc_query.go index 26e7860c86..a93b5232d8 100644 --- a/x/upgrade/keeper/grpc_query.go +++ b/x/upgrade/keeper/grpc_query.go @@ -3,9 +3,9 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/upgrade/keeper/grpc_query_test.go b/x/upgrade/keeper/grpc_query_test.go index d307157402..3d1d501401 100644 --- a/x/upgrade/keeper/grpc_query_test.go +++ b/x/upgrade/keeper/grpc_query_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/simapp" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) type UpgradeTestSuite struct { diff --git a/x/upgrade/keeper/keeper.go b/x/upgrade/keeper/keeper.go index 1092885bcb..7295bca12d 100644 --- a/x/upgrade/keeper/keeper.go +++ b/x/upgrade/keeper/keeper.go @@ -11,14 +11,14 @@ import ( "github.com/tendermint/tendermint/libs/log" tmos "github.com/tendermint/tendermint/libs/os" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - store "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - ibcexported "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/store/prefix" + store "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + ibcexported "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) // UpgradeInfoFileName file to store upgrade information diff --git a/x/upgrade/keeper/keeper_test.go b/x/upgrade/keeper/keeper_test.go index 6e91ef3c23..d112dbcd8f 100644 --- a/x/upgrade/keeper/keeper_test.go +++ b/x/upgrade/keeper/keeper_test.go @@ -8,15 +8,15 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/simapp" - store "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/23-commitment/types" - ibcexported "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/simapp" + store "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + commitmenttypes "github.com/line/lbm-sdk/v2/x/ibc/core/23-commitment/types" + ibcexported "github.com/line/lbm-sdk/v2/x/ibc/core/exported" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/upgrade/keeper" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) type KeeperTestSuite struct { diff --git a/x/upgrade/keeper/querier.go b/x/upgrade/keeper/querier.go index 227d770f20..2750d9dd99 100644 --- a/x/upgrade/keeper/querier.go +++ b/x/upgrade/keeper/querier.go @@ -3,14 +3,14 @@ package keeper import ( "encoding/binary" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/line/lbm-sdk/v2/codec" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/x/upgrade/types" abci "github.com/tendermint/tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" ) // NewQuerier creates a querier for upgrade cli and REST endpoints diff --git a/x/upgrade/legacy/v038/types.go b/x/upgrade/legacy/v038/types.go index db833477bf..9cd591505e 100644 --- a/x/upgrade/legacy/v038/types.go +++ b/x/upgrade/legacy/v038/types.go @@ -5,10 +5,10 @@ import ( "strings" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - v036gov "github.com/cosmos/cosmos-sdk/x/gov/legacy/v036" + "github.com/line/lbm-sdk/v2/codec" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + v036gov "github.com/line/lbm-sdk/v2/x/gov/legacy/v036" ) const ( diff --git a/x/upgrade/module.go b/x/upgrade/module.go index 4e4982a324..7881e9ea07 100644 --- a/x/upgrade/module.go +++ b/x/upgrade/module.go @@ -9,15 +9,15 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/cli" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/rest" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/client" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + "github.com/line/lbm-sdk/v2/types/module" + "github.com/line/lbm-sdk/v2/x/upgrade/client/cli" + "github.com/line/lbm-sdk/v2/x/upgrade/client/rest" + "github.com/line/lbm-sdk/v2/x/upgrade/keeper" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) func init() { diff --git a/x/upgrade/types/codec.go b/x/upgrade/types/codec.go index 59703f57a8..ea8befc8f2 100644 --- a/x/upgrade/types/codec.go +++ b/x/upgrade/types/codec.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/line/lbm-sdk/v2/codec" + "github.com/line/lbm-sdk/v2/codec/types" + govtypes "github.com/line/lbm-sdk/v2/x/gov/types" ) // RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec diff --git a/x/upgrade/types/handler.go b/x/upgrade/types/handler.go index 44e50cff11..05f80dc6aa 100644 --- a/x/upgrade/types/handler.go +++ b/x/upgrade/types/handler.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // UpgradeHandler specifies the type of function that is called when an upgrade is applied diff --git a/x/upgrade/types/plan.go b/x/upgrade/types/plan.go index aa1a0601ff..47e382cb0c 100644 --- a/x/upgrade/types/plan.go +++ b/x/upgrade/types/plan.go @@ -5,11 +5,11 @@ import ( "strings" "time" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - ibcexported "github.com/cosmos/cosmos-sdk/x/ibc/core/exported" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + sdk "github.com/line/lbm-sdk/v2/types" + sdkerrors "github.com/line/lbm-sdk/v2/types/errors" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + ibcexported "github.com/line/lbm-sdk/v2/x/ibc/core/exported" ) var _ codectypes.UnpackInterfacesMessage = Plan{} diff --git a/x/upgrade/types/plan_test.go b/x/upgrade/types/plan_test.go index 436cb83a94..a631e452eb 100644 --- a/x/upgrade/types/plan_test.go +++ b/x/upgrade/types/plan_test.go @@ -10,11 +10,11 @@ import ( "github.com/tendermint/tendermint/libs/log" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/upgrade/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func mustParseTime(s string) time.Time { diff --git a/x/upgrade/types/proposal.go b/x/upgrade/types/proposal.go index a8ea9b6290..29a03d605c 100644 --- a/x/upgrade/types/proposal.go +++ b/x/upgrade/types/proposal.go @@ -3,8 +3,8 @@ package types import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - gov "github.com/cosmos/cosmos-sdk/x/gov/types" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + gov "github.com/line/lbm-sdk/v2/x/gov/types" ) const ( diff --git a/x/upgrade/types/proposal_test.go b/x/upgrade/types/proposal_test.go index d39b89135c..5439b43c4e 100644 --- a/x/upgrade/types/proposal_test.go +++ b/x/upgrade/types/proposal_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - gov "github.com/cosmos/cosmos-sdk/x/gov/types" - clienttypes "github.com/cosmos/cosmos-sdk/x/ibc/core/02-client/types" - ibctmtypes "github.com/cosmos/cosmos-sdk/x/ibc/light-clients/07-tendermint/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/line/lbm-sdk/v2/codec" + codectypes "github.com/line/lbm-sdk/v2/codec/types" + gov "github.com/line/lbm-sdk/v2/x/gov/types" + clienttypes "github.com/line/lbm-sdk/v2/x/ibc/core/02-client/types" + ibctmtypes "github.com/line/lbm-sdk/v2/x/ibc/light-clients/07-tendermint/types" + "github.com/line/lbm-sdk/v2/x/upgrade/types" ) type ProposalWrapper struct { diff --git a/x/upgrade/types/query.pb.go b/x/upgrade/types/query.pb.go index 40caf74e8f..b4db8485a0 100644 --- a/x/upgrade/types/query.pb.go +++ b/x/upgrade/types/query.pb.go @@ -6,9 +6,9 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/line/lbm-sdk/v2/codec/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/upgrade/types/storeloader.go b/x/upgrade/types/storeloader.go index 00538e0715..3f4dccf04c 100644 --- a/x/upgrade/types/storeloader.go +++ b/x/upgrade/types/storeloader.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/baseapp" - store "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/baseapp" + store "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" ) // UpgradeStoreLoader is used to prepare baseapp with a fixed StoreLoader diff --git a/x/upgrade/types/storeloader_test.go b/x/upgrade/types/storeloader_test.go index ec2bfa824d..001751af33 100644 --- a/x/upgrade/types/storeloader_test.go +++ b/x/upgrade/types/storeloader_test.go @@ -13,10 +13,10 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - store "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/line/lbm-sdk/v2/baseapp" + "github.com/line/lbm-sdk/v2/store/rootmulti" + store "github.com/line/lbm-sdk/v2/store/types" + sdk "github.com/line/lbm-sdk/v2/types" ) func useUpgradeLoader(height int64, upgrades *store.StoreUpgrades) func(*baseapp.BaseApp) { diff --git a/x/upgrade/types/upgrade.pb.go b/x/upgrade/types/upgrade.pb.go index 642f4446fe..6bf9192b53 100644 --- a/x/upgrade/types/upgrade.pb.go +++ b/x/upgrade/types/upgrade.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/golang/protobuf/ptypes/timestamp" + types "github.com/line/lbm-sdk/v2/codec/types" io "io" math "math" math_bits "math/bits"