File tree Expand file tree Collapse file tree 4 files changed +60
-48
lines changed Expand file tree Collapse file tree 4 files changed +60
-48
lines changed Original file line number Diff line number Diff line change 1- ** Action:** add / update / remove token (keep those that apply)
1+ ** Action:** Add / Update / Remove token (choose one)
2+
23** Context / Rationale:**
4+ <brief explanation here >
35
46---
57
68### PR Checklist
79
8- - [ ] I have verified and published the contract source
9- - [ ] I have kept the token list in alphabetical order based on token symbol
10- - [ ] I have updated the ` updatedAt ` field (and ` createdAt ` if applicable)
11- - [ ] I have updated the list version number according to the README instructions
10+ - [ ] Verified and published the contract source
11+ - [ ] Kept the token list in alphabetical order by token symbol
12+ - [ ] Updated the ` updatedAt ` field (and ` createdAt ` if applicable)
13+ - [ ] Updated the list version number according to the README instructions
Original file line number Diff line number Diff line change 1+ name : Test and Validate JSON
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ unit_tests :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v5
17+
18+ - name : Set up Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : 22
22+
23+ - name : Install NPM dependencies
24+ run : npm ci
25+
26+ - name : Run NPM tests
27+ run : npm run test
28+
29+ validate_json :
30+ runs-on : ubuntu-latest
31+
32+ steps :
33+ - name : Checkout code
34+ uses : actions/checkout@v5
35+
36+ - name : Set up Python
37+ uses : actions/setup-python@v5
38+ with :
39+ python-version : ' 3.x'
40+
41+ - name : Install dependencies
42+ run : pip install jsonschema
43+
44+ - name : Validate JSON
45+ run : |
46+ jsonschema -i ./json/linea-sepolia-token-shortlist.json ./json/schema/l2-token-list-schema.json
Original file line number Diff line number Diff line change 1- name : Verify and Test
1+ name : Verify JSON
22
33on :
4- pull_request :
4+ push :
55 branches :
66 - main
77
88jobs :
9- unit_tests :
10- runs-on : ubuntu-latest
11- steps :
12- - name : Checkout code
13- uses : actions/checkout@v4
14-
15- - name : Set up Node.js
16- uses : actions/setup-node@v3
17- with :
18- node-version : 20
19-
20- - name : Install NPM dependencies
21- run : npm ci
22-
23- - name : Run NPM tests
24- run : npm run test
25-
26- validate_json :
27- runs-on : ubuntu-latest
28-
29- steps :
30- - name : Checkout code
31- uses : actions/checkout@v4
32-
33- - name : Set up Python
34- uses : actions/setup-python@v5
35- with :
36- python-version : ' 3.x'
37-
38- - name : Install dependencies
39- run : pip install jsonschema
40-
41- - name : Validate JSON
42- run : |
43- jsonschema -i ./json/linea-sepolia-token-shortlist.json ./json/schema/l2-token-list-schema.json
44-
459 verify_mainnet_shortlist :
4610 runs-on : ubuntu-latest
4711
@@ -54,14 +18,14 @@ jobs:
5418
5519 steps :
5620 - name : Checkout code
57- uses : actions/checkout@v4
21+ uses : actions/checkout@v5
5822 with :
5923 fetch-depth : 0
6024
6125 - name : Setup Node.js
62- uses : actions/setup-node@v3
26+ uses : actions/setup-node@v4
6327 with :
64- node-version : 20
28+ node-version : 22
6529
6630 - name : Install dependencies
6731 run : npm install
Original file line number Diff line number Diff line change 77 "versions" : [
88 {
99 "major" : 1 ,
10- "minor" : 56 ,
10+ "minor" : 57 ,
1111 "patch" : 1
1212 }
1313 ],
9595 {
9696 "chainId" : 59144 ,
9797 "chainURI" : " https://lineascan.build/block/0" ,
98- "tokenId" : " https://lineascan.build/address/0x880a3ae90f989030708a529abd841589053c1dc2 " ,
98+ "tokenId" : " https://lineascan.build/address/0x880A3Ae90f989030708A529ABd841589053c1dC2 " ,
9999 "tokenType" : [" native" ],
100100 "address" : " 0x880A3Ae90f989030708A529ABd841589053c1dC2" ,
101101 "name" : " Beaver Coin" ,
You can’t perform that action at this time.
0 commit comments