Skip to content

Commit

Permalink
Clean up folders
Browse files Browse the repository at this point in the history
  • Loading branch information
arturalbov authored and hleb-albau committed Dec 13, 2018
1 parent 48b9607 commit 82d1d36
Show file tree
Hide file tree
Showing 23 changed files with 7 additions and 381 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ jobs:
name: Build And Test Project
command: |
export GO111MODULE=on
go build -o daemon ./cyberd
go build -o cyberd ./daemon
go build -o cyberdcli ./cli
go build -o cyberdproxy ./proxy
go build -o cyberdclaim ./claim
update_changelog:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN nvcc -fmad=false -shared -o libcbdrank.so rank.cu --compiler-options '-fPIC
# Compile cyberd
###############################################################################
WORKDIR /sources
RUN go build -tags cuda -o daemon ./cyberd
RUN go build -tags cuda -o cyberd ./daemon
RUN go build -o cyberdcli ./cli
RUN go build -o cyberdproxy ./proxy

Expand Down Expand Up @@ -64,7 +64,7 @@ RUN url="https://golang.org/dl/go${GO_VERSION}.${GO_ARCH}.tar.gz" && \

# Copy compiled kernel and binaries
###############################################################################
COPY --from=build_stage /sources/daemon /usr/bin/cyberd
COPY --from=build_stage /sources/cyberd /usr/bin/cyberd
COPY --from=build_stage /sources/cyberdcli /usr/bin/cyberdcli
COPY --from=build_stage /sources/cyberdproxy /usr/bin/cyberdproxy

Expand Down
43 changes: 0 additions & 43 deletions claim/claim.go

This file was deleted.

93 changes: 0 additions & 93 deletions claim/client/handler.go

This file was deleted.

62 changes: 0 additions & 62 deletions claim/client/start.go

This file was deleted.

10 changes: 0 additions & 10 deletions claim/common/flags.go

This file was deleted.

20 changes: 0 additions & 20 deletions claim/common/verifier.go

This file was deleted.

108 changes: 0 additions & 108 deletions claim/context/ctx.go

This file was deleted.

4 changes: 2 additions & 2 deletions cli/commands/linktx.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtxb "github.com/cosmos/cosmos-sdk/x/auth/client/txbuilder"
cbd "github.com/cybercongress/cyberd/app/types"
. "github.com/cybercongress/cyberd/cli/util"
"github.com/cybercongress/cyberd/x/link"
"github.com/ipfs/go-cid"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down Expand Up @@ -57,7 +57,7 @@ func LinkTxCmd(cdc *codec.Codec) *cobra.Command {
}

// build and sign the transaction, then broadcast to Tendermint
msg := BuildMsg(from, cidFrom, cidTo)
msg := link.NewMsg(from, cidFrom, cidTo)

return utils.CompleteAndBroadcastTxCli(txCtx, cliCtx, []sdk.Msg{msg})
},
Expand Down
Loading

0 comments on commit 82d1d36

Please sign in to comment.