Skip to content

Commit c7fa6f7

Browse files
authored
Merge branch 'main' into data-feeds-sdk-solana-update
2 parents fba43f8 + a273360 commit c7fa6f7

File tree

160 files changed

+17528
-15451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+17528
-15451
lines changed

.github/scripts/data/baseline.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"timestamp": "2025-10-19T21:03:54Z",
2+
"timestamp": "2025-10-26T21:03:36Z",
33
"knownIds": [
44
"aptos-apt-usd",
55
"aptos-btc-usd",
@@ -31,6 +31,7 @@
3131
"arbitrum-ai16z-usd-premium-prod-v03",
3232
"arbitrum-aixbt-usd-refprice-mainnet-production",
3333
"arbitrum-algo-usd-refprice-ds-premium-global-003-prod",
34+
"arbitrum-alp-usd-streams-exchangerate-mainnet-production",
3435
"arbitrum-alpaca-usd-refprice-mainnet-production",
3536
"arbitrum-alt-usd-refprice-ds-premium-global-003-prod",
3637
"arbitrum-amgn-usd-streams-equityprice-timestamped-mainnet-production",
@@ -42,6 +43,9 @@
4243
"arbitrum-ankr-usd-refprice-mainnet-production",
4344
"arbitrum-ankreth-eth-exchange-rate",
4445
"arbitrum-anon-usd",
46+
"arbitrum-aoabt-nav",
47+
"arbitrum-aoabt-por",
48+
"arbitrum-aoabtb-nav",
4549
"arbitrum-ape-usd",
4650
"arbitrum-ape-usd-premium-prod",
4751
"arbitrum-apt-usd",
@@ -198,6 +202,7 @@
198202
"arbitrum-fil-usd-premium-prod",
199203
"arbitrum-floki-usd-premium-prod",
200204
"arbitrum-flow-usd-premium-prod",
205+
"arbitrum-flp-usd-streams-exchangerate-mainnet-production",
201206
"arbitrum-flr-usd-refprice-mainnet-production",
202207
"arbitrum-fragsol-sol-exchange-rate",
203208
"arbitrum-frax-usd",
@@ -264,6 +269,7 @@
264269
"arbitrum-ilv-usd-premium-prod",
265270
"arbitrum-imx-usd-refprice-ds-premium-global-003-prod",
266271
"arbitrum-ineth-eth-exchange-rate",
272+
"arbitrum-inf-sol-streams-exchangerate-mainnet-production",
267273
"arbitrum-inf-usd-refprice-mainnet-production",
268274
"arbitrum-inj-usd-premium-prod",
269275
"arbitrum-insteth-eth-exchange-rate",
@@ -594,6 +600,7 @@
594600
"arbitrum-vz-usd-streams-equityprice-timestamped-mainnet-production",
595601
"arbitrum-wal-usd-refprice-mainnet-production",
596602
"arbitrum-wbtc-btc",
603+
"arbitrum-wbtc-uniswap-usd-streams-dexprice-mainnet-production",
597604
"arbitrum-wbtc-usd",
598605
"arbitrum-wbtc-usd-refprice-mainnet-production",
599606
"arbitrum-weeth-eeth-exchange-rate",
@@ -855,6 +862,7 @@
855862
"base-susds-usds-exchange-rate",
856863
"base-susdz-usdz-exchange-rate",
857864
"base-swbtc-wbtc-exchange-rate",
865+
"base-synd-usd",
858866
"base-syrupusdc-usdc-exchange-rate",
859867
"base-tbtc-usd",
860868
"base-teth-reserves",
@@ -925,6 +933,7 @@
925933
"bnb-chain-cake-usd",
926934
"bnb-chain-calculated-bnbx-usd",
927935
"bnb-chain-calculated-savax-usd",
936+
"bnb-chain-cashplus-nav",
928937
"bnb-chain-cfx-usd",
929938
"bnb-chain-chf-usd",
930939
"bnb-chain-chr-usd",
@@ -1146,6 +1155,7 @@
11461155
"ethereum-c3m-eur",
11471156
"ethereum-cad-usd",
11481157
"ethereum-calc-xsushi-eth",
1158+
"ethereum-cashplus-nav",
11491159
"ethereum-cbbtc-por",
11501160
"ethereum-cbbtc-usd",
11511161
"ethereum-cbeth-eth",
@@ -1220,6 +1230,7 @@
12201230
"ethereum-mavia-usd",
12211231
"ethereum-mcap-usd",
12221232
"ethereum-meth-eth",
1233+
"ethereum-mim-usd",
12231234
"ethereum-mkr-eth",
12241235
"ethereum-mkr-usd",
12251236
"ethereum-mln-eth",
@@ -1342,6 +1353,7 @@
13421353
"fantom-gmx-usd",
13431354
"fantom-link-ftm",
13441355
"fantom-link-usd",
1356+
"fantom-mim-usd",
13451357
"fantom-snx-usd",
13461358
"fantom-spell-usd",
13471359
"fantom-sushi-usd",
@@ -1419,12 +1431,16 @@
14191431
"hyperevm-hyped-hype-exchange-rate",
14201432
"hyperevm-khype-hype-exchange-rate",
14211433
"hyperevm-khype-usd",
1434+
"hyperevm-lhype-khype-exchange-rate",
1435+
"hyperevm-lhype-sthype-exchange-rate",
14221436
"hyperevm-sol-usd",
14231437
"hyperevm-susde-usd",
14241438
"hyperevm-usdc-usd",
14251439
"hyperevm-usde-usd",
14261440
"hyperevm-usdt-usd",
14271441
"hyperevm-usr-usd",
1442+
"hyperevm-whlp-usdt0-exchange-rate",
1443+
"hyperevm-wsthype-sthype-exchange-rate",
14281444
"hyperevm-xaut-usd",
14291445
"linea-aave-usd",
14301446
"linea-ageth-eth-exchange-rate",
@@ -1680,8 +1696,10 @@
16801696
"plasma-eth-usd",
16811697
"plasma-gho-usd",
16821698
"plasma-link-usd",
1699+
"plasma-plusd-usdt-exchange-rate",
16831700
"plasma-rlp-usd",
16841701
"plasma-savusd-avusd-exchange-rate",
1702+
"plasma-splusd-plusd-exchange-rate",
16851703
"plasma-susdai-usdai",
16861704
"plasma-susde-usd",
16871705
"plasma-susde-usde",
@@ -1800,6 +1818,7 @@
18001818
"polygon-pln-usd",
18011819
"polygon-qnt-usd",
18021820
"polygon-quick-usd",
1821+
"polygon-rdnt-usd",
18031822
"polygon-ryt-nav",
18041823
"polygon-ryt-polygon",
18051824
"polygon-sand-usd",
@@ -2050,8 +2069,15 @@
20502069
"xlayer-ezeth-eth-exchange-rate",
20512070
"xlayer-link-usd",
20522071
"xlayer-okb-usd",
2072+
"xlayer-susde-usd",
2073+
"xlayer-syrupusdc-usdc-exchange-rate",
2074+
"xlayer-syrupusdt-usdt-exchange-rate",
20532075
"xlayer-usdc-usd",
2076+
"xlayer-usde-usd",
2077+
"xlayer-usdg-usd",
20542078
"xlayer-usdt-usd",
2079+
"xlayer-usdt0-usd",
2080+
"xlayer-wbtc-btc",
20552081
"zksync-aave-usd",
20562082
"zksync-btc-usd",
20572083
"zksync-dai-usd",

.github/workflows/detect-new-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
# Step 11: Upload artifacts for debugging and record-keeping
153153
- name: Capture output artifacts
154154
if: always()
155-
uses: actions/upload-artifact@v4
155+
uses: actions/upload-artifact@v5
156156
with:
157157
name: data-detection-${{ github.run_id }}
158158
path: |

.github/workflows/detect-new-tokens.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
# Capture output artifacts (always runs, even if previous steps failed)
161161
- name: Capture output files
162162
if: always()
163-
uses: actions/upload-artifact@v4
163+
uses: actions/upload-artifact@v5
164164
with:
165165
name: token-detection-artifacts-${{ github.run_id }}
166166
path: |

.github/workflows/test.yml

Lines changed: 31 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ concurrency:
66
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
77
cancel-in-progress: true
88

9+
env:
10+
FOUNDRY_PROFILE: ci
11+
912
# Set default permissions as restrictive as possible
1013
permissions:
1114
actions: write # Required for upload-artifact
@@ -27,14 +30,12 @@ jobs:
2730
cache: 'npm'
2831
cache-dependency-path: '**/package-lock.json'
2932

30-
# Only cache node_modules, let setup-node handle npm cache
3133
- name: Cache node_modules
3234
uses: actions/cache@v4
3335
id: cache-node-modules
3436
continue-on-error: true
3537
with:
36-
path: |
37-
node_modules
38+
path: node_modules
3839
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
3940

4041
- name: Install Dependencies
@@ -50,24 +51,29 @@ jobs:
5051
steps:
5152
- name: Checkout Repo
5253
uses: actions/checkout@v5
53-
54+
5455
- name: Setup Node.js
5556
uses: actions/setup-node@v6
5657
with:
5758
node-version: '20'
5859
cache: 'npm'
5960
cache-dependency-path: '**/package-lock.json'
6061

61-
# Restore node_modules from setup job
62+
- name: Install Foundry
63+
uses: foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5
64+
with:
65+
version: stable
66+
cache: false
67+
68+
- name: Show Forge version
69+
run: forge --version
70+
6271
- name: Restore node_modules
63-
uses: actions/cache@v4
72+
uses: actions/cache/restore@v4
6473
continue-on-error: true
6574
with:
66-
path: |
67-
node_modules
75+
path: node_modules
6876
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
69-
restore-keys: |
70-
${{ runner.os }}-node-modules-
7177

7278
- name: Ensure Dependencies
7379
run: |
@@ -76,31 +82,15 @@ jobs:
7682
npm ci --prefer-offline --no-audit
7783
fi
7884
79-
# Cache Solidity compilation artifacts
80-
- name: Restore compilation caches
81-
id: cache-solidity
82-
uses: actions/cache@v4
83-
continue-on-error: true
84-
with:
85-
path: |
86-
.test/artifacts
87-
.test/cache
88-
~/.cache/hardhat
89-
typechain-types
90-
key: ${{ runner.os }}-solidity-${{ hashFiles('public/samples/**/*.sol', 'hardhat.config.cts') }}
91-
restore-keys: |
92-
${{ runner.os }}-solidity-
85+
- name: Check Solidity Formatting
86+
run: npm run sol:fmt:check
9387

9488
- name: Check Solidity Compilation
95-
run: |
96-
echo "Running Solidity compilation with cache..."
97-
npm run sol:compile
98-
99-
- name: Check Solidity Solhint
100-
run: |
101-
echo "Running Solhint..."
102-
npm run lint-solc
89+
run: forge build --sizes
10390

91+
- name: Check Solidity Linting
92+
run: npm run lint-solc
93+
10494
# Job 2: Check ESLint
10595
eslint:
10696
needs: setup
@@ -116,16 +106,12 @@ jobs:
116106
cache: 'npm'
117107
cache-dependency-path: '**/package-lock.json'
118108

119-
# Restore node_modules from setup job
120109
- name: Restore node_modules
121-
uses: actions/cache@v4
110+
uses: actions/cache/restore@v4
122111
continue-on-error: true
123112
with:
124-
path: |
125-
node_modules
113+
path: node_modules
126114
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
127-
restore-keys: |
128-
${{ runner.os }}-node-modules-
129115

130116
- name: Ensure Dependencies
131117
run: |
@@ -159,16 +145,12 @@ jobs:
159145
cache: 'npm'
160146
cache-dependency-path: '**/package-lock.json'
161147

162-
# Restore node_modules from setup job
163148
- name: Restore node_modules
164-
uses: actions/cache@v4
149+
uses: actions/cache/restore@v4
165150
continue-on-error: true
166151
with:
167-
path: |
168-
node_modules
152+
path: node_modules
169153
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
170-
restore-keys: |
171-
${{ runner.os }}-node-modules-
172154

173155
- name: Ensure Dependencies
174156
run: |
@@ -195,16 +177,12 @@ jobs:
195177
cache: 'npm'
196178
cache-dependency-path: '**/package-lock.json'
197179

198-
# Restore node_modules from setup job
199180
- name: Restore node_modules
200-
uses: actions/cache@v4
181+
uses: actions/cache/restore@v4
201182
continue-on-error: true
202183
with:
203-
path: |
204-
node_modules
184+
path: node_modules
205185
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
206-
restore-keys: |
207-
${{ runner.os }}-node-modules-
208186

209187
- name: Ensure Dependencies
210188
run: |
@@ -243,16 +221,12 @@ jobs:
243221
cache: 'npm'
244222
cache-dependency-path: '**/package-lock.json'
245223

246-
# Restore node_modules from setup job
247224
- name: Restore node_modules
248-
uses: actions/cache@v4
225+
uses: actions/cache/restore@v4
249226
continue-on-error: true
250227
with:
251-
path: |
252-
node_modules
228+
path: node_modules
253229
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
254-
restore-keys: |
255-
${{ runner.os }}-node-modules-
256230

257231
- name: Ensure Dependencies
258232
run: |
@@ -266,7 +240,7 @@ jobs:
266240

267241
- name: Upload Test Coverage
268242
if: always()
269-
uses: actions/upload-artifact@v4
243+
uses: actions/upload-artifact@v5
270244
with:
271245
name: coverage-report-node-${{ matrix.node-version }}
272246
path: coverage/

.prettierrc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@
1212
"parser": "astro"
1313
}
1414
},
15-
{
16-
"files": "*.sol",
17-
"options": {
18-
"printWidth": 80,
19-
"tabWidth": 4,
20-
"useTabs": false,
21-
"singleQuote": false,
22-
"bracketSpacing": false
23-
}
24-
},
2515
{
2616
"files": "public/samples/ChainlinkFunctions/*.js",
2717
"options": {

0 commit comments

Comments
 (0)