Commit Graph

27 Commits

Author SHA1 Message Date
Adam R
4f487cd054
[internal] Black/whitelist rename (#3424)
* Rename white/black* to allow/deny*.

* White/black to allow/deny renames.

* Duplicate new allowlist.json/denylist.json files under the old names

* Fix allowed-files check

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-18 08:50:32 +02:00
Adam R
78eef8eabc
CMC mapping: merge exceptions on every commit, retrieve from CMC and merge on Update runs. (#3406)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-17 17:31:08 +02:00
Catenocrypt
d310074554 Revert "CMC mapping: merge exceptions on every commit, retrieve from CMC and merge on Update runs."
This reverts commit 4f035dae0f.
2020-08-17 17:24:14 +02:00
Catenocrypt
4f035dae0f CMC mapping: merge exceptions on every commit, retrieve from CMC and merge on Update runs. 2020-08-17 17:16:44 +02:00
Nick Kozlov
8ebaf3f065
Add SNX legacy token for pricing (#3383) 2020-08-16 10:49:39 +03:00
Adam R
102f2b88d4
[Internal] New infra for runnig checks (not as jest tests) (#2938)
* CMC mapping update.

* New check infrastructure, move root folder test to new infra.

* Move list of allowed files to config.

* Include new check in other tests.

* More generic way to call checks.

* Organize fix and update actions behind interfaces.

* Organize checks into steps, multiple steps per action.

* Simplify checkStep class/instance creation.

* Migrate chain logo checks.

* Migrate asset folder check.

* Migrate further chain checks.

* Migrate eth fork folder checks.

* Migrate binance chain check.

* Extra output.

* Output improvements.

* Async fix.

* Migrate Tron check.

* Add Tron check.

* Remove Tron check from old.

* White/blacklist check in new intra, combined with fix.

* Refine ETH checks.

* Remove from old infra.

* Migrate CMC check to new infra.

* Migrate validator tests to new check infra.

* Migrate Json files validity check to new check infra.

* Whitelist check fix.

* Cleanup helpers.ts.

* Move helpers.ts.

* Cleanup of models.ts.

* Move models.ts.

* Move index.test.ts.

* Update with BEP8 support.

* Descriptive names for jobs within the builds.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-06 21:17:38 +02:00
Nick Kozlov
addaa763b6
[internal] Add new token to mapping (#3001)
* Add new token

* Add checksum address

* Add to exceptions.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-03 11:29:26 +02:00
Adam R
079617ac38
[Internal] Refactored fix builds (#2920)
* Empty infrastructure for new-housekeeping build.

* Move updateBEP action to new new-housekeeping build infra.

* Remove old updateBEP.

* New-housekeeping-dryrun run.

* Include new top-level folder name script-new.

* Remove update:bep2 from old daily-run.

* Use imports instead of require.

* Small refactor for testability.

* Organize scripts into subfolders.

* iUpdateBEP2: refactor and add tests.

* Move formatting validators to new-housekeeping,add new helpers.

* Move info and black/whitelist fixing to new-housekeeping.

* New fix command.

* New 'fix' target; Move ETH checksum fix to new-housekeeping.

* Move logo size check and resize to new-housekeeping.

* Improved async error handling.

* Build renames.

* Move (old) BEP2 and CMC update to periodic update build.

* Rename (add missing).

* Rename builds.

* Renames ('fix').

* rename

* Invoke new scripts (as well) from period-update.

* Move cmc update to new-periodic.

* Move tezos validator update to new-periodic.

* Missing file.

* Leftover.

* Cleanup

* Rename of unused openseacontracts.

* CMC should not be run always.

* Break main/fixAndUpdate function into two.

* Show diff in build after changes.

* Cleanup

* Rename, script-old.

* Cleanup, remove old fix build definitions.

* Renames, remove new- prefix.

* CMC mapping update.

* Config infrastructure; add binance URL to config.

* Add image size parameters to config.

* Rename.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: Andrew M <35627271+zachzwei@users.noreply.github.com>
2020-07-29 15:42:51 +02:00
Adam R
4a7c5f7f89
[Internal] Exclude entries that are in the custom overrides. Add exception for 0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5. (#2935)
* CMC mapping update.

* CMC mapping: Small refactor, coin mapping as separate step.

* Revert "CMC mapping: Small refactor, coin mapping as separate step."

This reverts commit 2480269c7ea0790ad9993afdf97abfc6145cea61.

* CMC mapping: Small refactor, entry processing and adding separate steps.

* CMC mapping: Exclude entries that are in the custom overrides.

* CMC mapping: Add exception for 0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-29 11:33:32 +02:00
Adam R
91f902bdd6
Custom CMC mapping for Decentr (#2897)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-27 09:37:14 +02:00
Adam R
9b28f5fbfd
Fix for daily build, CMC mapping, remove custom token doplicates. (#2840)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-22 10:36:05 +02:00
Viktor Radchenko
33b694894d [CI] Add check that TRX token_id is not empty 2020-07-14 11:28:08 -07:00
Nick Kozlov
1241d22ac3
Bring back changes (#2737) 2020-07-14 17:30:05 +03:00
Nick Kozlov
3f1529273d
Fix cmc script.ts (#2736) 2020-07-14 14:40:42 +03:00
Viktor Radchenko
4c3b6b1699
Delete use of @trustwallet/types (#2693)
* Delete use of @trustwallet/types

* Add wallet-core support

* Remove cleanup option
2020-07-11 01:10:28 -07:00
Mykola
675a11eaa1 Do not include removed whitelist in blacklist 2020-06-19 13:45:08 -07:00
mykola.eth
5a9e2a8622
Update cmc generation script (#2143) 2020-05-20 14:52:27 -07:00
Mykola
ba11bfeefc Add Contentos (COS) ERC20 2020-05-11 13:49:16 -07:00
Mykola
3444b9f513 Daily update 2020-04-02 12:56:25 -07:00
Mykola
b46002fc1d Add pooltogether 2020-02-28 11:46:58 -08:00
D. Robin
9c7da704eb
Fix typos in CMC script (#1345) 2020-02-28 11:40:37 -08:00
D. Robin
31f08487b3
NULL coalesce on CMC script exit (#1346) 2020-02-28 11:39:08 -08:00
Mykola
08efad8571
Token update procedure script (#1285)
* Add socials param if doesn't exist

* Igonre text files

* Update command

* Contract upgrade procedure

* Checksum ERC20 addresses [skip ci]

* Optimised images with calibre/image-actions

* Update list again

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-21 14:01:03 -08:00
Mykola
a8e02b02fc Add VERA erc20 to map 2020-02-18 19:10:58 -08:00
Mykola
3ac372ecf8
Checksum script (#1263)
* Add @types/node

* Add checksum script

* Update azl pipeline

* Update map

* Optimised images with calibre/image-actions

* Omit checkout

* remove

* Recreate with exectute permission

* Add lovercase for tsting script

* Change to chmod 700

* run with sudo

* run with sudo

* Use SYSTEM_PULLREQUEST_SOURCEBRANCH var to get branch name

* Use Bash task

* Checksum ERC20 addresses [skip ci]

* Add in lowercase for testing

* Checksum ERC20 addresses [skip ci]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-18 18:00:11 -08:00
Mykola
1117476eec Update map 2020-02-07 13:59:15 -08:00
Mykola
b9975d4646
Cmc map script (#1148)
* Add new coin images after script run

* Add new methods

* Move interfaces

* Update readme

* CMC map script

* Update maping

* Update script andUpdate scrip results

* Remove good from whitelist

* remove old

* Update list

* Optimised images with calibre/image-actions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-04 00:54:44 -08:00