From 43d3e49b4b1902cd89c5fc37ea06cf7eeea4a041 Mon Sep 17 00:00:00 2001 From: Hleb Albau Date: Wed, 28 Nov 2018 20:42:37 +0300 Subject: [PATCH] Change go package to `github.com/cybercongress/cyberd` --- Dockerfile | 8 ++++---- app/app.go | 10 +++++----- app/bank/handler.go | 6 +++--- app/handler.go | 4 ++-- app/msgs.go | 2 +- app/rank/calculate.go | 2 +- app/rank/calculate_cpu.go | 4 ++-- app/rank/calculate_gpu.go | 4 ++-- app/rank/calculate_gpu_nop.go | 2 +- app/rank/cuda/test_cpu_gpu_determinism.go | 6 +++--- app/rpc.go | 4 ++-- app/storage/acc.go | 4 ++-- app/storage/cids.go | 2 +- app/storage/inmemory.go | 2 +- app/storage/links.go | 2 +- claim/claim.go | 2 +- claim/client/handler.go | 4 ++-- claim/client/start.go | 4 ++-- claim/context/ctx.go | 4 ++-- cyberd/init/collect.go | 2 +- cyberd/init/genesis_accts.go | 2 +- cyberd/init/gentx.go | 2 +- cyberd/init/init.go | 2 +- cyberd/init/testnet.go | 2 +- cyberd/init/utils.go | 2 +- cyberd/main.go | 8 ++++---- cyberd/rpc/routes.go | 2 +- cyberd/rpc/search.go | 2 +- cyberdcli/commands/linktx.go | 4 ++-- cyberdcli/main.go | 4 ++-- cyberdcli/util/message.go | 4 ++-- go.mod | 2 +- go.sum | 3 --- proxy/client/start.go | 2 +- proxy/core/context.go | 2 +- proxy/core/get.go | 2 +- proxy/core/request.go | 2 +- proxy/core/tx.go | 2 +- proxy/proxy.go | 2 +- wiki/client.go | 6 +++--- wiki/wiki.go | 2 +- 41 files changed, 67 insertions(+), 70 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ce12f68..6aee4907 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.11-alpine as builder -WORKDIR $GOPATH/src/github.com/cybercongress/cyberd/cosmos/poc -COPY cosmos/poc . +WORKDIR $GOPATH/src/github.com/cybercongress/cyberd +COPY ./ ./ RUN apk add --no-cache git @@ -21,8 +21,8 @@ COPY --from=builder /go/bin/cyberdproxy /usr/bin/cyberdproxy COPY start_script.sh start_script.sh RUN chmod +x start_script.sh -COPY testnet /genesis.json -COPY testnet /config.toml +COPY ./testnet/genesis.json /genesis.json +COPY ./testnet/config.toml /config.toml EXPOSE 26656 26657 26660 diff --git a/app/app.go b/app/app.go index a863b58e..eebbe25d 100644 --- a/app/app.go +++ b/app/app.go @@ -12,11 +12,11 @@ import ( "github.com/cosmos/cosmos-sdk/x/params" "github.com/cosmos/cosmos-sdk/x/slashing" "github.com/cosmos/cosmos-sdk/x/stake" - . "github.com/cybercongress/cyberd/cosmos/poc/app/bank" - "github.com/cybercongress/cyberd/cosmos/poc/app/coin" - "github.com/cybercongress/cyberd/cosmos/poc/app/rank" - . "github.com/cybercongress/cyberd/cosmos/poc/app/storage" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" + . "github.com/cybercongress/cyberd/app/bank" + "github.com/cybercongress/cyberd/app/coin" + "github.com/cybercongress/cyberd/app/rank" + . "github.com/cybercongress/cyberd/app/storage" + cbd "github.com/cybercongress/cyberd/app/types" abci "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tendermint/libs/common" dbm "github.com/tendermint/tendermint/libs/db" diff --git a/app/bank/handler.go b/app/bank/handler.go index 65390dc4..2e2296f7 100644 --- a/app/bank/handler.go +++ b/app/bank/handler.go @@ -4,9 +4,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" . "github.com/cosmos/cosmos-sdk/x/bank" - "github.com/cybercongress/cyberd/cosmos/poc/app/coin" - "github.com/cybercongress/cyberd/cosmos/poc/app/storage" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" + "github.com/cybercongress/cyberd/app/coin" + "github.com/cybercongress/cyberd/app/storage" + cbd "github.com/cybercongress/cyberd/app/types" "reflect" ) diff --git a/app/handler.go b/app/handler.go index 7e133537..7eb66b0e 100644 --- a/app/handler.go +++ b/app/handler.go @@ -3,8 +3,8 @@ package app import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" - . "github.com/cybercongress/cyberd/cosmos/poc/app/storage" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" + . "github.com/cybercongress/cyberd/app/storage" + cbd "github.com/cybercongress/cyberd/app/types" ) // NewHandler returns a handler for "link" type messages. diff --git a/app/msgs.go b/app/msgs.go index 4b594eb0..e89b9ec0 100644 --- a/app/msgs.go +++ b/app/msgs.go @@ -2,7 +2,7 @@ package app import ( sdk "github.com/cosmos/cosmos-sdk/types" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" + cbd "github.com/cybercongress/cyberd/app/types" ) type MsgLink struct { diff --git a/app/rank/calculate.go b/app/rank/calculate.go index 03f4fd5d..2a018a34 100644 --- a/app/rank/calculate.go +++ b/app/rank/calculate.go @@ -1,7 +1,7 @@ package rank import ( - . "github.com/cybercongress/cyberd/cosmos/poc/app/storage" + . "github.com/cybercongress/cyberd/app/storage" "github.com/tendermint/tendermint/libs/log" ) diff --git a/app/rank/calculate_cpu.go b/app/rank/calculate_cpu.go index 060cbdea..2efbf417 100644 --- a/app/rank/calculate_cpu.go +++ b/app/rank/calculate_cpu.go @@ -1,8 +1,8 @@ package rank import ( - . "github.com/cybercongress/cyberd/cosmos/poc/app/storage" - . "github.com/cybercongress/cyberd/cosmos/poc/app/types" + . "github.com/cybercongress/cyberd/app/storage" + . "github.com/cybercongress/cyberd/app/types" "sync" ) diff --git a/app/rank/calculate_gpu.go b/app/rank/calculate_gpu.go index 425e528a..af7b18c5 100644 --- a/app/rank/calculate_gpu.go +++ b/app/rank/calculate_gpu.go @@ -3,8 +3,8 @@ package rank import ( - . "github.com/cybercongress/cyberd/cosmos/poc/app/storage" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" + . "github.com/cybercongress/cyberd/app/storage" + cbd "github.com/cybercongress/cyberd/app/types" "github.com/tendermint/tendermint/libs/log" "time" ) diff --git a/app/rank/calculate_gpu_nop.go b/app/rank/calculate_gpu_nop.go index 88e1c990..9c549894 100644 --- a/app/rank/calculate_gpu_nop.go +++ b/app/rank/calculate_gpu_nop.go @@ -3,7 +3,7 @@ package rank import ( - . "github.com/cybercongress/cyberd/cosmos/poc/app/storage" + . "github.com/cybercongress/cyberd/app/storage" "github.com/tendermint/tendermint/libs/log" ) diff --git a/app/rank/cuda/test_cpu_gpu_determinism.go b/app/rank/cuda/test_cpu_gpu_determinism.go index f1357f38..17dafdd3 100644 --- a/app/rank/cuda/test_cpu_gpu_determinism.go +++ b/app/rank/cuda/test_cpu_gpu_determinism.go @@ -2,9 +2,9 @@ package main import ( "fmt" - cpurank "github.com/cybercongress/cyberd/cosmos/poc/app/rank" - . "github.com/cybercongress/cyberd/cosmos/poc/app/storage" - . "github.com/cybercongress/cyberd/cosmos/poc/app/types" + cpurank "github.com/cybercongress/cyberd/app/rank" + . "github.com/cybercongress/cyberd/app/storage" + . "github.com/cybercongress/cyberd/app/types" "github.com/tendermint/tendermint/libs/log" ) diff --git a/app/rpc.go b/app/rpc.go index 62f1610c..121c81a9 100644 --- a/app/rpc.go +++ b/app/rpc.go @@ -3,8 +3,8 @@ package app import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" - . "github.com/cybercongress/cyberd/cosmos/poc/app/storage" - . "github.com/cybercongress/cyberd/cosmos/poc/app/types" + . "github.com/cybercongress/cyberd/app/storage" + . "github.com/cybercongress/cyberd/app/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/app/storage/acc.go b/app/storage/acc.go index 17528af7..9fe45071 100644 --- a/app/storage/acc.go +++ b/app/storage/acc.go @@ -3,8 +3,8 @@ package storage import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" - "github.com/cybercongress/cyberd/cosmos/poc/app/coin" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" + "github.com/cybercongress/cyberd/app/coin" + cbd "github.com/cybercongress/cyberd/app/types" ) // returns all added cids diff --git a/app/storage/cids.go b/app/storage/cids.go index f421699c..991a7291 100644 --- a/app/storage/cids.go +++ b/app/storage/cids.go @@ -3,7 +3,7 @@ package storage import ( "encoding/binary" sdk "github.com/cosmos/cosmos-sdk/types" - . "github.com/cybercongress/cyberd/cosmos/poc/app/types" + . "github.com/cybercongress/cyberd/app/types" ) type CidIndexStorage struct { diff --git a/app/storage/inmemory.go b/app/storage/inmemory.go index be05ef46..a2b97b97 100644 --- a/app/storage/inmemory.go +++ b/app/storage/inmemory.go @@ -3,7 +3,7 @@ package storage import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" - . "github.com/cybercongress/cyberd/cosmos/poc/app/types" + . "github.com/cybercongress/cyberd/app/types" "github.com/pkg/errors" cmn "github.com/tendermint/tendermint/libs/common" "sort" diff --git a/app/storage/links.go b/app/storage/links.go index 525b7a87..7f0bbdaf 100644 --- a/app/storage/links.go +++ b/app/storage/links.go @@ -3,7 +3,7 @@ package storage import ( "encoding/binary" sdk "github.com/cosmos/cosmos-sdk/types" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" + cbd "github.com/cybercongress/cyberd/app/types" ) type LinksStorage struct { diff --git a/claim/claim.go b/claim/claim.go index d72668aa..c4cb10db 100644 --- a/claim/claim.go +++ b/claim/claim.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "github.com/cybercongress/cyberd/cosmos/poc/claim/client" + "github.com/cybercongress/cyberd/claim/client" "github.com/mitchellh/go-homedir" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/claim/client/handler.go b/claim/client/handler.go index 1e75e52b..4f5691f1 100644 --- a/claim/client/handler.go +++ b/claim/client/handler.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/bank/client" - "github.com/cybercongress/cyberd/cosmos/poc/claim/context" - "github.com/cybercongress/cyberd/cosmos/poc/http/util" + "github.com/cybercongress/cyberd/claim/context" + "github.com/cybercongress/cyberd/http/util" "github.com/pkg/errors" "net" "net/http" diff --git a/claim/client/start.go b/claim/client/start.go index 7fb96043..6b47f0c6 100644 --- a/claim/client/start.go +++ b/claim/client/start.go @@ -3,8 +3,8 @@ package client import ( "fmt" "github.com/TV4/graceful" - "github.com/cybercongress/cyberd/cosmos/poc/claim/common" - "github.com/cybercongress/cyberd/cosmos/poc/claim/context" + "github.com/cybercongress/cyberd/claim/common" + "github.com/cybercongress/cyberd/claim/context" "github.com/rs/cors" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/claim/context/ctx.go b/claim/context/ctx.go index cd1bf8c3..3899f5d6 100644 --- a/claim/context/ctx.go +++ b/claim/context/ctx.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types" authtxb "github.com/cosmos/cosmos-sdk/x/auth/client/txbuilder" - "github.com/cybercongress/cyberd/cosmos/poc/app" - "github.com/cybercongress/cyberd/cosmos/poc/claim/common" + "github.com/cybercongress/cyberd/app" + "github.com/cybercongress/cyberd/claim/common" "github.com/pkg/errors" "github.com/spf13/viper" rpcclient "github.com/tendermint/tendermint/rpc/client" diff --git a/cyberd/init/collect.go b/cyberd/init/collect.go index caf2c579..e1d7a356 100644 --- a/cyberd/init/collect.go +++ b/cyberd/init/collect.go @@ -2,7 +2,7 @@ package init import ( "encoding/json" - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" "path/filepath" "github.com/cosmos/cosmos-sdk/client" diff --git a/cyberd/init/genesis_accts.go b/cyberd/init/genesis_accts.go index 5765a0db..d5d34b54 100644 --- a/cyberd/init/genesis_accts.go +++ b/cyberd/init/genesis_accts.go @@ -2,7 +2,7 @@ package init import ( "fmt" - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/server" diff --git a/cyberd/init/gentx.go b/cyberd/init/gentx.go index c9b74ade..3c5ee816 100644 --- a/cyberd/init/gentx.go +++ b/cyberd/init/gentx.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" "github.com/cosmos/cosmos-sdk/x/stake/client/cli" - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" "github.com/spf13/cobra" "github.com/spf13/viper" cfg "github.com/tendermint/tendermint/config" diff --git a/cyberd/init/init.go b/cyberd/init/init.go index 28284436..4f2118f4 100644 --- a/cyberd/init/init.go +++ b/cyberd/init/init.go @@ -3,7 +3,7 @@ package init import ( "encoding/json" "fmt" - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" "os" "path/filepath" diff --git a/cyberd/init/testnet.go b/cyberd/init/testnet.go index 4802011c..54026871 100644 --- a/cyberd/init/testnet.go +++ b/cyberd/init/testnet.go @@ -3,7 +3,7 @@ package init import ( "encoding/json" "fmt" - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" "net" "os" "path/filepath" diff --git a/cyberd/init/utils.go b/cyberd/init/utils.go index d77b2bd7..80982e15 100644 --- a/cyberd/init/utils.go +++ b/cyberd/init/utils.go @@ -3,7 +3,7 @@ package init import ( "encoding/json" "fmt" - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" "io/ioutil" "time" diff --git a/cyberd/main.go b/cyberd/main.go index 528e6ab6..4454fd87 100644 --- a/cyberd/main.go +++ b/cyberd/main.go @@ -4,10 +4,10 @@ import ( "encoding/json" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/server" - "github.com/cybercongress/cyberd/cosmos/poc/app" - "github.com/cybercongress/cyberd/cosmos/poc/app/rank" - initCyberd "github.com/cybercongress/cyberd/cosmos/poc/cyberd/init" - "github.com/cybercongress/cyberd/cosmos/poc/cyberd/rpc" + "github.com/cybercongress/cyberd/app" + "github.com/cybercongress/cyberd/app/rank" + initCyberd "github.com/cybercongress/cyberd/cyberd/init" + "github.com/cybercongress/cyberd/cyberd/rpc" "github.com/spf13/cobra" "github.com/spf13/viper" abci "github.com/tendermint/tendermint/abci/types" diff --git a/cyberd/rpc/routes.go b/cyberd/rpc/routes.go index 83ae2485..ff68a4f5 100644 --- a/cyberd/rpc/routes.go +++ b/cyberd/rpc/routes.go @@ -1,7 +1,7 @@ package rpc import ( - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" "github.com/tendermint/tendermint/rpc/core" "github.com/tendermint/tendermint/rpc/lib/server" ) diff --git a/cyberd/rpc/search.go b/cyberd/rpc/search.go index 49b4b542..cbc723aa 100644 --- a/cyberd/rpc/search.go +++ b/cyberd/rpc/search.go @@ -1,6 +1,6 @@ package rpc -import "github.com/cybercongress/cyberd/cosmos/poc/app/storage" +import "github.com/cybercongress/cyberd/app/storage" type ResultSearch struct { Cids []storage.RankedCid `json:"cids"` diff --git a/cyberdcli/commands/linktx.go b/cyberdcli/commands/linktx.go index 3ec85ad0..f0e55e4e 100644 --- a/cyberdcli/commands/linktx.go +++ b/cyberdcli/commands/linktx.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" authtxb "github.com/cosmos/cosmos-sdk/x/auth/client/txbuilder" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" - . "github.com/cybercongress/cyberd/cosmos/poc/cyberdcli/util" + cbd "github.com/cybercongress/cyberd/app/types" + . "github.com/cybercongress/cyberd/cyberdcli/util" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cyberdcli/main.go b/cyberdcli/main.go index 60e4dca4..f2e52966 100644 --- a/cyberdcli/main.go +++ b/cyberdcli/main.go @@ -13,8 +13,8 @@ import ( bankcmd "github.com/cosmos/cosmos-sdk/x/bank/client/cli" slashingcmd "github.com/cosmos/cosmos-sdk/x/slashing/client/cli" stakecmd "github.com/cosmos/cosmos-sdk/x/stake/client/cli" - "github.com/cybercongress/cyberd/cosmos/poc/app" - cyberdcmd "github.com/cybercongress/cyberd/cosmos/poc/cyberdcli/commands" + "github.com/cybercongress/cyberd/app" + cyberdcmd "github.com/cybercongress/cyberd/cyberdcli/commands" "github.com/spf13/cobra" "github.com/tendermint/tendermint/libs/cli" ) diff --git a/cyberdcli/util/message.go b/cyberdcli/util/message.go index 2f4b3428..da88e43b 100644 --- a/cyberdcli/util/message.go +++ b/cyberdcli/util/message.go @@ -2,8 +2,8 @@ package util import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cybercongress/cyberd/cosmos/poc/app" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" + "github.com/cybercongress/cyberd/app" + cbd "github.com/cybercongress/cyberd/app/types" ) // build the sendTx msg diff --git a/go.mod b/go.mod index 87e9a170..15c86842 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/cybercongress/cyberd/cosmos/poc +module github.com/cybercongress/cyberd require ( github.com/BurntSushi/toml v0.3.1 // indirect diff --git a/go.sum b/go.sum index 3aa720f2..df4f9164 100644 --- a/go.sum +++ b/go.sum @@ -17,9 +17,6 @@ github.com/btcsuite/btcd v0.0.0-20180903232927-cff30e1d23fc/go.mod h1:Dmm/EzmjnC github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a h1:RQMUrEILyYJEoAT34XS/kLu40vC0+po/UfxrBBA4qZE= github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cosmos/cosmos-sdk v0.0.0-20181018195818-505c356f20d0 h1:CzP/5OIVq2/yFZ38jF/Sjior/YSy6XxYw97fLHdy6Xg= -github.com/cosmos/cosmos-sdk v0.0.0-20181018195818-505c356f20d0/go.mod h1:JrX/JpJunJQXBI5PEX2zELHMFzQr/159jDjIhesOh2c= -github.com/cosmos/cosmos-sdk v0.26.0/go.mod h1:JrX/JpJunJQXBI5PEX2zELHMFzQr/159jDjIhesOh2c= github.com/cosmos/cosmos-sdk v0.26.1-rc1 h1:OLFzEbZ9SJC9NaCaqyvSWev3YdhoI5NayX4lLxsqtGs= github.com/cosmos/cosmos-sdk v0.26.1-rc1/go.mod h1:JrX/JpJunJQXBI5PEX2zELHMFzQr/159jDjIhesOh2c= github.com/cosmos/go-bip39 v0.0.0-20180618194314-52158e4697b8 h1:Iwin12wRQtyZhH6FV3ykFcdGNlYEzoeR0jN8Vn+JWsI= diff --git a/proxy/client/start.go b/proxy/client/start.go index 95e362f8..d06726b5 100644 --- a/proxy/client/start.go +++ b/proxy/client/start.go @@ -3,7 +3,7 @@ package client import ( "fmt" "github.com/TV4/graceful" - "github.com/cybercongress/cyberd/cosmos/poc/proxy/core" + "github.com/cybercongress/cyberd/proxy/core" "github.com/rs/cors" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/proxy/core/context.go b/proxy/core/context.go index 9672c94a..80ca2711 100644 --- a/proxy/core/context.go +++ b/proxy/core/context.go @@ -3,7 +3,7 @@ package core import ( "encoding/json" "github.com/cosmos/cosmos-sdk/codec" - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" "github.com/tendermint/tendermint/rpc/client" "io/ioutil" "net/http" diff --git a/proxy/core/get.go b/proxy/core/get.go index ce46a97f..b5d1ee35 100644 --- a/proxy/core/get.go +++ b/proxy/core/get.go @@ -1,7 +1,7 @@ package core import ( - "github.com/cybercongress/cyberd/cosmos/poc/http/util" + "github.com/cybercongress/cyberd/http/util" "net/http" "net/url" ) diff --git a/proxy/core/request.go b/proxy/core/request.go index 95049f01..10364108 100644 --- a/proxy/core/request.go +++ b/proxy/core/request.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" "github.com/cosmos/cosmos-sdk/x/bank" - "github.com/cybercongress/cyberd/cosmos/poc/app" + "github.com/cybercongress/cyberd/app" ) type TxRequest interface { diff --git a/proxy/core/tx.go b/proxy/core/tx.go index fb8ca5e0..7dbf9c12 100644 --- a/proxy/core/tx.go +++ b/proxy/core/tx.go @@ -2,7 +2,7 @@ package core import ( "github.com/cosmos/cosmos-sdk/x/auth" - "github.com/cybercongress/cyberd/cosmos/poc/http/util" + "github.com/cybercongress/cyberd/http/util" "io/ioutil" "net/http" ) diff --git a/proxy/proxy.go b/proxy/proxy.go index 87200ade..0cfc8665 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "github.com/cybercongress/cyberd/cosmos/poc/proxy/client" + "github.com/cybercongress/cyberd/proxy/client" "github.com/spf13/cobra" "os" ) diff --git a/wiki/client.go b/wiki/client.go index f98f1f57..4deae330 100644 --- a/wiki/client.go +++ b/wiki/client.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" authtxb "github.com/cosmos/cosmos-sdk/x/auth/client/txbuilder" - "github.com/cybercongress/cyberd/cosmos/poc/app" - cbd "github.com/cybercongress/cyberd/cosmos/poc/app/types" - "github.com/cybercongress/cyberd/cosmos/poc/claim/common" + "github.com/cybercongress/cyberd/app" + cbd "github.com/cybercongress/cyberd/app/types" + "github.com/cybercongress/cyberd/claim/common" "github.com/spf13/viper" rpcclient "github.com/tendermint/tendermint/rpc/client" "os" diff --git a/wiki/wiki.go b/wiki/wiki.go index b2988e9d..1dafd41a 100644 --- a/wiki/wiki.go +++ b/wiki/wiki.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "github.com/cybercongress/cyberd/cosmos/poc/claim/common" + "github.com/cybercongress/cyberd/claim/common" "github.com/mitchellh/go-homedir" "github.com/spf13/cobra" "github.com/spf13/viper"