Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCherepovskyi committed Nov 5, 2024
1 parent d697344 commit 685ed26
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ COPY ./go.mod ./go.sum ./
# Read the CI_ACCESS_TOKEN from the .env file
ARG CI_ACCESS_TOKEN
RUN git config --global url."https://olegfomenkodev:${CI_ACCESS_TOKEN}@github.com/".insteadOf "https://github.com/"

COPY . .

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


FROM alpine:3.9

COPY --from=buildbase /usr/local/bin/bdjuno /usr/local/bin/bdjuno
COPY --from=buildbase /usr/local/bin/callisto /usr/local/bin/callisto

RUN apk add --no-cache ca-certificates

COPY ./genesis.json /genesis/genesis.json

ENTRYPOINT ["bdjuno"]
ENTRYPOINT ["callisto"]
3 changes: 0 additions & 3 deletions database/const.go

This file was deleted.

1 change: 1 addition & 0 deletions modules/bank/source/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package source

import (
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/forbole/bdjuno/v4/types"
)

Expand Down
2 changes: 1 addition & 1 deletion modules/bridge/handle_msg_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
bridge "github.com/hyle-team/bridgeless-core/v12/x/bridge/types"
)

// handleMsgInsertChain allows to properly handle a MsgRemoveTokenInfo
// handleMsgInsertChain allows to properly handle a MsgInsertChain
func (m *Module) handleMsgInsertChain(_ *juno.Tx, msg *bridge.MsgInsertChain) error {
return m.db.SaveBridgeChain(
msg.Chain.Id,
Expand Down
2 changes: 1 addition & 1 deletion modules/nft/handle_msg_withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/pkg/errors"
)

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

0 comments on commit 685ed26

Please sign in to comment.