From 5738b728454b59efd13ff13134d2ca3d83f7f080 Mon Sep 17 00:00:00 2001 From: adityajirafe Date: Wed, 3 Apr 2024 12:22:06 +0800 Subject: [PATCH] patch workflow and remove token added --- .github/workflows/generate-lists.yml | 8 ++++---- package.json | 5 +++-- src/tokens/bolt-default-list.json | 8 -------- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/generate-lists.yml b/.github/workflows/generate-lists.yml index b218eb6..19b2ba6 100644 --- a/.github/workflows/generate-lists.yml +++ b/.github/workflows/generate-lists.yml @@ -22,8 +22,8 @@ jobs: - name: Build ./dist run: yarn build - - name: CI Check - run: yarn ci-check-auto - - name: Generate Token List - run: yarn generate-auto \ No newline at end of file + run: yarn generate-auto + + - name: CI Check + run: yarn ci-check-auto \ No newline at end of file diff --git a/package.json b/package.json index 4e81b6b..472c3e3 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,11 @@ "author": "adityajirafe ", "license": "MIT", "scripts": { - "generate": "yarn build && node ./dist ci-check && node ./dist generate bolt-default-list patch", + "generate": "yarn build-list && yarn ci-check", "build": "rm -rf ./dist && rollup -c", + "build-list": "yarn build && node ./dist generate bolt-default-list patch", "ci-check": "yarn build && node ./dist ci-check", - "ci-check-auto": "node ./dist ci-check", + "ci-check-auto": "yarn build && node ./dist ci-check", "generate-auto": "node ./dist generate bolt-default-list patch" }, "dependencies": { diff --git a/src/tokens/bolt-default-list.json b/src/tokens/bolt-default-list.json index 16d47d0..fbab19d 100644 --- a/src/tokens/bolt-default-list.json +++ b/src/tokens/bolt-default-list.json @@ -6,13 +6,5 @@ "decimals": 18, "chainId": 42070, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png" - }, - { - "name": "OurToken", - "address": "0x3962f6bfade976e707ef1c3d3cf94d9200f9072d", - "symbol": "OTK", - "decimals": 18, - "chainId": 42070, - "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png" } ] \ No newline at end of file