Skip to content

Commit

Permalink
replace Ripple with XRPL and update supply service.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Dec 11, 2024
1 parent 38af6ea commit aef3d7c
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile-supplyService
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM us.icr.io/dia-registry/devops/build-119:latest as build
FROM us.icr.io/dia-registry/devops/build-122:latest as build

WORKDIR $GOPATH/src/

COPY ./cmd/services/supplyService ./
RUN go mod tidy -go=1.19 && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go install
RUN go mod tidy && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go install

FROM gcr.io/distroless/base

Expand Down
4 changes: 2 additions & 2 deletions cmd/services/supplyService/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/diadata-org/diadata/services/supplyService

go 1.19
go 1.22

require (
github.com/diadata-org/diadata v1.4.549
github.com/diadata-org/diadata v1.4.564
github.com/sirupsen/logrus v1.9.3
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/services/supplyService/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func main() {
log.Info("set circulating supply: DIA")
}

xrp, err := relDB.GetAsset("0x0000000000000000000000000000000000000000", "Ripple")
xrp, err := relDB.GetAsset("0x0000000000000000000000000000000000000000", "XRPL")
if err != nil {
log.Error("get xrp: ", err)
}
Expand Down
2 changes: 1 addition & 1 deletion config/assetlists/non_eth_assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"Symbol": "XRP",
"Name": "XRP",
"Decimals": 6,
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/BKEX.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
{
"Symbol": "XRP",
"Exchange": "BKEX",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/BKEX2.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@
{
"Symbol": "XRP",
"Exchange": "BKEX2",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/Binance2.json
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@
{
"Symbol": "XRP",
"Exchange": "Binance2",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/BinanceUS.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
{
"Symbol": "XRP",
"Exchange": "BinanceUS",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/Bitget.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
{
"Symbol": "XRP",
"Exchange": "Bitget",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/Bitmax.json
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
{
"Symbol": "XRP",
"Exchange": "Bitmax",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/Bitstamp.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
{
"Symbol": "xrp",
"Exchange": "Bitstamp",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/ByBit.json
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@
{
"Symbol": "XRP",
"Exchange": "ByBit",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/CoinBase.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
{
"Exchange": "CoinBase",
"Symbol": "XRP",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/Crypto.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
{
"Symbol": "XRP",
"Exchange": "Crypto.com",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/GateIO.json
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@
{
"Exchange": "GateIO",
"Symbol": "XRP",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/Huobi.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
{
"Symbol": "XRP",
"Exchange": "Huobi",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/Kraken.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@
{
"Exchange": "Kraken",
"Symbol": "XRP",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/KuCoin.json
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@
{
"Exchange": "KuCoin",
"Symbol": "XRP",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down
2 changes: 1 addition & 1 deletion config/gitcoinverified/MEXC.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@
{
"Symbol": "XRP",
"Exchange": "MEXC",
"Blockchain": "Ripple",
"Blockchain": "XRPL",
"Address": "0x0000000000000000000000000000000000000000"
},
{
Expand Down

0 comments on commit aef3d7c

Please sign in to comment.