From a9621e82ed61c612f46d83f17ed315dab4a6924b Mon Sep 17 00:00:00 2001 From: jppade Date: Wed, 2 Aug 2023 17:05:43 +0200 Subject: [PATCH] amend tbs. --- build/genericCollector/Dockerfile-zenlink | 2 +- cmd/services/tradesBlockService/go.mod | 2 +- internal/pkg/tradesBlockService/tradesBlockService.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/genericCollector/Dockerfile-zenlink b/build/genericCollector/Dockerfile-zenlink index 80dc0fcaf..becd12381 100644 --- a/build/genericCollector/Dockerfile-zenlink +++ b/build/genericCollector/Dockerfile-zenlink @@ -8,11 +8,11 @@ RUN go mod tidy -go=1.16 && go mod tidy -go=1.17 && go install FROM node:lts COPY ./scripts/bifrost/package.json ./ -COPY ./scripts/bifrost/yarn.lock ./ RUN yarn install COPY ./scripts/bifrost/main.js /usr/src/app/main.js +COPY ./scripts/bifrost/zenlink-bifrost-polkadot.js /usr/src/app/zenlink-bifrost-polkadot.js COPY --from=build /go/bin/zenlink /bin/zenlink COPY --from=build /config/ /config/ diff --git a/cmd/services/tradesBlockService/go.mod b/cmd/services/tradesBlockService/go.mod index b258590f6..88293b1cc 100644 --- a/cmd/services/tradesBlockService/go.mod +++ b/cmd/services/tradesBlockService/go.mod @@ -3,7 +3,7 @@ module github.com/diadata-org/diadata/services/tradesBlockService go 1.17 require ( - github.com/diadata-org/diadata v1.4.317 + github.com/diadata-org/diadata v1.4.319 github.com/segmentio/kafka-go v0.4.35 github.com/sirupsen/logrus v1.8.1 ) diff --git a/internal/pkg/tradesBlockService/tradesBlockService.go b/internal/pkg/tradesBlockService/tradesBlockService.go index 34befddef..f06117966 100644 --- a/internal/pkg/tradesBlockService/tradesBlockService.go +++ b/internal/pkg/tradesBlockService/tradesBlockService.go @@ -462,9 +462,9 @@ func buildBridge(t dia.Trade) dia.Asset { if basetoken.Blockchain == dia.BIFROST_POLKADOT && t.Source == dia.ZenlinkswapExchangeBifrostPolkadot { if basetoken.Address == "2048" { basetoken = dia.Asset{ - Symbol: "KSM", + Symbol: "DOT", Address: "0x0000000000000000000000000000000000000000", - Blockchain: dia.KUSAMA, + Blockchain: dia.POLKADOT, } } }