Skip to content

Commit 685ed26

Browse files
code style
1 parent d697344 commit 685ed26

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,19 @@ COPY ./go.mod ./go.sum ./
1515
# Read the CI_ACCESS_TOKEN from the .env file
1616
ARG CI_ACCESS_TOKEN
1717
RUN git config --global url."https://olegfomenkodev:${CI_ACCESS_TOKEN}@github.com/".insteadOf "https://github.com/"
18+
1819
COPY . .
1920

2021
RUN go mod vendor
21-
RUN go build -mod=vendor -o /usr/local/bin/bdjuno /go/src/github.com/forbole/callisto/cmd/bdjuno
22+
RUN go build -mod=vendor -o /usr/local/bin/callisto /go/src/github.com/forbole/callisto/cmd/bdjuno
2223

2324

2425
FROM alpine:3.9
2526

26-
COPY --from=buildbase /usr/local/bin/bdjuno /usr/local/bin/bdjuno
27+
COPY --from=buildbase /usr/local/bin/callisto /usr/local/bin/callisto
2728

2829
RUN apk add --no-cache ca-certificates
2930

3031
COPY ./genesis.json /genesis/genesis.json
3132

32-
ENTRYPOINT ["bdjuno"]
33+
ENTRYPOINT ["callisto"]

database/const.go

-3
This file was deleted.

modules/bank/source/source.go

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package source
22

33
import (
44
sdk "github.com/cosmos/cosmos-sdk/types"
5+
56
"github.com/forbole/bdjuno/v4/types"
67
)
78

modules/bridge/handle_msg_chain.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
bridge "github.com/hyle-team/bridgeless-core/v12/x/bridge/types"
66
)
77

8-
// handleMsgInsertChain allows to properly handle a MsgRemoveTokenInfo
8+
// handleMsgInsertChain allows to properly handle a MsgInsertChain
99
func (m *Module) handleMsgInsertChain(_ *juno.Tx, msg *bridge.MsgInsertChain) error {
1010
return m.db.SaveBridgeChain(
1111
msg.Chain.Id,

modules/nft/handle_msg_withdraw.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/pkg/errors"
77
)
88

9-
// handleMsgSend allows to properly handle a MsgSend
9+
// handleMsgWithdrawal allows to properly handle a MsgWithdrawal
1010
func (m *Module) handleMsgWithdrawal(tx *juno.Tx, msg *nft.MsgWithdrawal) error {
1111
nft, ok := m.keeper.GetNFT(msg.Address, tx.Height)
1212
if !ok {

0 commit comments

Comments
 (0)