mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Update assets-go-libs version (#16058)
This commit is contained in:
parent
77a5f9a08c
commit
b04cf2fdac
16
.github/assets.config.yaml
vendored
16
.github/assets.config.yaml
vendored
|
@ -6,17 +6,12 @@ client_urls:
|
|||
|
||||
validators_settings:
|
||||
image_file:
|
||||
size: 100 # file size in KB
|
||||
size_kb: 100
|
||||
max_w: 512
|
||||
max_h: 512
|
||||
min_w: 50
|
||||
min_h: 50
|
||||
|
||||
asset_folder:
|
||||
allowed_files:
|
||||
- "logo.png"
|
||||
- "info.json"
|
||||
|
||||
root_folder:
|
||||
allowed_files:
|
||||
- ".github"
|
||||
|
@ -50,11 +45,20 @@ validators_settings:
|
|||
- "validators"
|
||||
- "info"
|
||||
|
||||
asset_folder:
|
||||
allowed_files:
|
||||
- "logo.png"
|
||||
- "info.json"
|
||||
|
||||
chain_info_folder:
|
||||
has_files:
|
||||
- "logo.png"
|
||||
- "info.json"
|
||||
|
||||
chain_validators_asset_folder:
|
||||
has_files:
|
||||
- "logo.png"
|
||||
|
||||
dapps_folder:
|
||||
ext: ".png"
|
||||
|
||||
|
|
|
@ -26,14 +26,8 @@ func main() {
|
|||
}
|
||||
|
||||
fileStorage := file.NewFileService()
|
||||
|
||||
validatorsService, err := validator.NewService(fileStorage)
|
||||
if err != nil {
|
||||
log.WithError(err).Fatal("failed to init validator service")
|
||||
}
|
||||
|
||||
validatorsService := validator.NewService(fileStorage)
|
||||
reportService := reporter.NewReportService()
|
||||
|
||||
assetfsProcessor := processor.NewService(fileStorage, validatorsService, reportService)
|
||||
|
||||
switch script {
|
||||
|
|
2
go.mod
2
go.mod
|
@ -4,7 +4,7 @@ go 1.17
|
|||
|
||||
require (
|
||||
github.com/sirupsen/logrus v1.8.1
|
||||
github.com/trustwallet/assets-go-libs v0.0.6
|
||||
github.com/trustwallet/assets-go-libs v0.0.7
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
10
go.sum
10
go.sum
|
@ -278,6 +278,16 @@ github.com/trustwallet/assets-go-libs v0.0.6-0.20211124104413-520938a5b242 h1:7i
|
|||
github.com/trustwallet/assets-go-libs v0.0.6-0.20211124104413-520938a5b242/go.mod h1:0nQmM5unJu0GuWSFJrWgSyOi2uUGnYmjQ53SkKe7/qI=
|
||||
github.com/trustwallet/assets-go-libs v0.0.6 h1:a0hJXemtyya4do32CTGHHJZDVHSR9ql+P7HpLilo0A0=
|
||||
github.com/trustwallet/assets-go-libs v0.0.6/go.mod h1:0nQmM5unJu0GuWSFJrWgSyOi2uUGnYmjQ53SkKe7/qI=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7-0.20211124164500-003dab6b2916 h1:TXr+Tk9Y4SxPEVn/CYNu4nFpOsvDecRFEfiZJDzVnDU=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7-0.20211124164500-003dab6b2916/go.mod h1:0nQmM5unJu0GuWSFJrWgSyOi2uUGnYmjQ53SkKe7/qI=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7-0.20211124170118-ab37fc3e5b48 h1:0B7BitT7BHBfa+vXKM8y9NLJ/RZ5cBhAvB052esXItQ=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7-0.20211124170118-ab37fc3e5b48/go.mod h1:0nQmM5unJu0GuWSFJrWgSyOi2uUGnYmjQ53SkKe7/qI=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7-0.20211124170607-cfb99cf6f96c h1:abu6Ek0/grRcyZt7PtnKTgP5hRZ707bF+uKy8c3r+2U=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7-0.20211124170607-cfb99cf6f96c/go.mod h1:0nQmM5unJu0GuWSFJrWgSyOi2uUGnYmjQ53SkKe7/qI=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7-0.20211124173428-88b8c903a73b h1:Nhf5a6xsgmGboYVyJBNFaXVNmgy7UDPd5TP4upss/v8=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7-0.20211124173428-88b8c903a73b/go.mod h1:0nQmM5unJu0GuWSFJrWgSyOi2uUGnYmjQ53SkKe7/qI=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7 h1:3OwNTBdKjVB3V3PcPbKqhP6SepcnDqEmb3RPfE7e1ZQ=
|
||||
github.com/trustwallet/assets-go-libs v0.0.7/go.mod h1:0nQmM5unJu0GuWSFJrWgSyOi2uUGnYmjQ53SkKe7/qI=
|
||||
github.com/trustwallet/go-libs v0.2.17 h1:l2zr5Ow19GTPnoWbhjExAhTbz7xLcYPXBa10EIgItjI=
|
||||
github.com/trustwallet/go-libs v0.2.17/go.mod h1:gBDrDkN5wOY+8kwlU6pnv3l/seGJy2qH1OpTKe7NnXA=
|
||||
github.com/trustwallet/go-primitives v0.0.11 h1:uVjm1IssSrur5MjnSbl+LerljnaU8pvgoBxq7krjNvI=
|
||||
|
|
Loading…
Reference in New Issue
Block a user