Skip to content

Commit

Permalink
Merge pull request #48 from NpoolPlatform/feat/support-bsc-usd
Browse files Browse the repository at this point in the history
Feat/support bsc usd
  • Loading branch information
EntropyPool authored Dec 16, 2023
2 parents 852b148 + eb5a061 commit c419543
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 56 deletions.
4 changes: 2 additions & 2 deletions cmd/sphinx-proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ func main() {
redisconst.RedisServiceName,
)
if err != nil {
logger.Sugar().Errorf("fail to create %v: %v", serviceName, err)
logger.Sugar().Errorw("main", "ServiceName", serviceName, "Error", err)
return
}
err = app.Run(os.Args)
if err != nil {
logger.Sugar().Errorf("fail to run %v: %v", serviceName, err)
logger.Sugar().Errorw("main", "Msg", "end of running", "ServiceName", serviceName, "Error", err)
}
}
20 changes: 3 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ require (
github.com/NpoolPlatform/chain-middleware v0.0.0-20231020114413-49166aeb1ec8
github.com/NpoolPlatform/go-service-framework v0.0.0-20230930023319-e48074d9472e
github.com/NpoolPlatform/libent-cruder v0.0.0-20231008051607-f64457cf6ab6
github.com/NpoolPlatform/message v0.0.0-20231020111219-963077006b79
github.com/NpoolPlatform/sphinx-plugin v0.0.0-20231130083344-96adfd086687
github.com/NpoolPlatform/message v0.0.0-20231216051302-6e62f7e3c242
github.com/NpoolPlatform/sphinx-plugin v0.0.0-20231216071358-c0c2e380d9c2
github.com/google/uuid v1.3.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2
github.com/urfave/cli/v2 v2.17.2-0.20221006022127-8f469abc00aa
Expand All @@ -24,19 +24,14 @@ require (
github.com/Geapefurit/gotron-sdk v0.0.0-20220724074720-3d7ea3cbd771 // indirect
github.com/GeertJohan/go.incremental v1.0.0 // indirect
github.com/GeertJohan/go.rice v1.0.2 // indirect
github.com/NpoolPlatform/build-chain v0.0.0-20231011074120-ff16032f3118 // indirect
github.com/PuerkitoBio/goquery v1.8.0 // indirect
github.com/NpoolPlatform/build-chain v0.0.0-20231211023318-0c7698792ed7 // indirect
github.com/Shonminh/apollo-client v0.4.0 // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/ThreeDotsLabs/watermill v1.2.0 // indirect
github.com/ThreeDotsLabs/watermill-amqp/v2 v2.0.7 // indirect
github.com/agext/levenshtein v1.2.1 // indirect
github.com/akavel/rsrc v0.8.0 // indirect
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect
github.com/andybalholm/cascadia v1.3.1 // indirect
github.com/antchfx/htmlquery v1.2.5 // indirect
github.com/antchfx/xmlquery v1.3.12 // indirect
github.com/antchfx/xpath v1.2.1 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/armon/go-metrics v0.3.10 // indirect
github.com/aws/aws-sdk-go-v2 v1.16.14 // indirect
Expand Down Expand Up @@ -120,8 +115,6 @@ require (
github.com/go-resty/resty/v2 v2.7.0 // indirect
github.com/go-sql-driver/mysql v1.7.0 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/gocolly/colly v1.2.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
Expand Down Expand Up @@ -172,11 +165,9 @@ require (
github.com/ipld/go-ipld-prime v0.16.0 // indirect
github.com/ipld/go-ipld-selector-text-lite v0.0.1 // indirect
github.com/jbenet/goprocess v0.1.4 // indirect
github.com/jedib0t/go-pretty/v6 v6.3.7 // indirect
github.com/jessevdk/go-flags v1.5.0 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kennygrant/sanitize v1.2.4 // indirect
github.com/klauspost/compress v1.15.15 // indirect
github.com/klauspost/cpuid/v2 v2.2.1 // indirect
github.com/libp2p/go-buffer-pool v0.0.2 // indirect
Expand All @@ -193,7 +184,6 @@ require (
github.com/magiconair/properties v1.8.6 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mattn/go-sqlite3 v1.14.16 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/miekg/dns v1.1.48 // indirect
Expand Down Expand Up @@ -231,11 +221,9 @@ require (
github.com/prometheus/procfs v0.9.0 // indirect
github.com/rabbitmq/amqp091-go v1.2.0 // indirect
github.com/raulk/clock v1.1.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rjeczalik/notify v0.9.2 // indirect
github.com/rs/cors v1.7.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/saintfish/chardet v0.0.0-20120816061221-3af4cd4741ca // indirect
github.com/shengdoushi/base58 v1.0.0 // indirect
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
github.com/shopspring/decimal v1.3.1 // indirect
Expand All @@ -248,7 +236,6 @@ require (
github.com/spf13/viper v1.12.0 // indirect
github.com/stretchr/testify v1.8.3 // indirect
github.com/subosito/gotenv v1.3.0 // indirect
github.com/temoto/robotstxt v1.1.2 // indirect
github.com/teris-io/shortid v0.0.0-20201117134242-e59966efd125 // indirect
github.com/tidwall/gjson v1.9.3 // indirect
github.com/tidwall/match v1.1.1 // indirect
Expand Down Expand Up @@ -283,7 +270,6 @@ require (
golang.org/x/time v0.1.0 // indirect
golang.org/x/tools v0.7.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
Expand Down
Loading

0 comments on commit c419543

Please sign in to comment.