forked from trustwallet/assets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into br0316-001701
- Loading branch information
Showing
10,465 changed files
with
100,920 additions
and
104,674 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
app: | ||
log_level: "debug" | ||
|
||
client_urls: | ||
binance: | ||
dex: "https://dex.binance.org" | ||
explorer: "https://explorer.binance.org" | ||
assets_manager_api: "https://assets.trustwallet.com/api" | ||
|
||
urls: | ||
assets_app: "https://assets-cdn.trustwallet.com" | ||
logo: "https://trustwallet.com/assets/images/favicon.png" | ||
|
||
time_format: "2006-01-02T15:04:05.000000" | ||
|
||
validators_settings: | ||
root_folder: | ||
allowed_files: | ||
- ".github" | ||
- "blockchains" | ||
- "dapps" | ||
- "media" | ||
- "node_modules" | ||
- "script-old" | ||
- "script" | ||
- "test" | ||
- ".gitignore" | ||
- "azure-pipelines.yml" | ||
- "jest.config.js" | ||
- "LICENSE" | ||
- "package-lock.json" | ||
- "package.json" | ||
- "README.md" | ||
- ".git" | ||
- ".eslintignore" | ||
- ".eslintrc.js" | ||
- "cmd" | ||
- "internal" | ||
- "go.mod" | ||
- "go.sum" | ||
- ".golangci.yml" | ||
- "Makefile" | ||
- "bin" | ||
skip_files: | ||
- "node_modules" | ||
skip_dirs: | ||
- ".git" | ||
|
||
chain_folder: | ||
allowed_files: | ||
- "assets" | ||
- "tokenlist.json" | ||
- "chainlist.json" | ||
- "tokenlist-extended.json" | ||
- "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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
name: Check | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
node-version: 12 | ||
- name: Install Dependencies | ||
run: npm ci | ||
go-version: 1.18 | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run check | ||
run: npm run check | ||
- name: Run test | ||
run: npm t | ||
- name: Run lint | ||
run: npm run lint | ||
run: make check | ||
|
||
- name: Unit Test | ||
run: make test | ||
|
||
- name: Lint | ||
run: make lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "master" ] | ||
schedule: | ||
- cron: '43 20 * * 6' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'go' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
# Use only 'java' to analyze code written in Java, Kotlin or both | ||
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both | ||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
|
||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
|
||
- name: Build assets binary | ||
run: make build | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,27 @@ | ||
name: Fixes (sanity and consistency) - Dry run | ||
on: | ||
pull_request: | ||
branches: [master] | ||
jobs: | ||
fix-all-dryrun: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Run fix script | ||
run: npm run fix | ||
- name: Show fix result (diff); run 'npm run fix' locally | ||
run: | | ||
git status | ||
git diff | ||
- name: Run check | ||
run: npm run check | ||
- name: Run test | ||
run: npm t | ||
#Disabled, we have 'check' job, 'fix' job do invisible changes which is not convenient to debug | ||
|
||
#name: Fix (Dry run) | ||
#on: | ||
# pull_request: | ||
# branches: [ master ] | ||
# | ||
#jobs: | ||
# fix-dryrun: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Set up Go | ||
# uses: actions/setup-go@v4 | ||
# with: | ||
# go-version: 1.18 | ||
# | ||
# - name: Check out code | ||
# uses: actions/checkout@v3 | ||
# | ||
# - name: Run fix | ||
# run: make fix | ||
# | ||
# - name: Show fix result (diff) | ||
# run: | | ||
# git config core.ignorecase false | ||
# git status | ||
# git diff |
Oops, something went wrong.