Skip to content

Commit 8de5258

Browse files
authored
Merge branch 'main' into feat/upshift-guides
2 parents 33ec768 + 3856dcd commit 8de5258

File tree

133 files changed

+13921
-5162
lines changed

Some content is hidden

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

133 files changed

+13921
-5162
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.docusaurus
22
.vscode
33
/build
4-
/node-modules
4+
/node_modules
55
/docgen/**

.eslintrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ module.exports = {
2424
"warn",
2525
{ prefer: "type-imports" },
2626
],
27+
"@typescript-eslint/ban-ts-comment": [
28+
"error",
29+
{
30+
"ts-expect-error": "allow-with-description",
31+
"ts-ignore": true,
32+
"ts-nocheck": true,
33+
"ts-check": true,
34+
},
35+
],
2736
},
2837
overrides: [
2938
{

.github/workflows/check-external-links.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ jobs:
2020
uses: actions/cache@v5
2121
with:
2222
path: .lycheecache
23-
key: cache-lychee-${{ hashFiles('lychee.toml') }}
24-
restore-keys: cache-lychee-
23+
key: cache-lychee-${{ runner.os }}-${{ github.sha }}
24+
restore-keys: |
25+
cache-lychee-${{ runner.os }}-
26+
2527
- name: Link Checker
2628
id: lychee
2729
uses: lycheeverse/lychee-action@v2
@@ -33,21 +35,35 @@ jobs:
3335
docs
3436
env:
3537
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
- name: Prepare broken link report
39+
id: lychee_report
40+
if: ${{ steps.lychee.outputs.exit_code && steps.lychee.outputs.exit_code != '0' }}
41+
shell: bash
42+
run: |
43+
report_file="lychee/out.md"
44+
if [[ ! -s "$report_file" ]]; then
45+
echo "report<<EOF" >> "$GITHUB_OUTPUT"
46+
echo "Lychee detected broken links, but the report file (\`$report_file\`) was empty or missing." >> "$GITHUB_OUTPUT"
47+
echo "EOF" >> "$GITHUB_OUTPUT"
48+
exit 0
49+
fi
50+
51+
echo "report<<EOF" >> "$GITHUB_OUTPUT"
52+
cat "$report_file" >> "$GITHUB_OUTPUT"
53+
echo "EOF" >> "$GITHUB_OUTPUT"
3654
- name: Comment on PR if broken links found
37-
if: ${{ always() && steps.lychee.outputs.exit_code != 0 }}
55+
if: ${{ steps.lychee.outputs.exit_code && steps.lychee.outputs.exit_code != '0' }}
3856
uses: thollander/actions-comment-pull-request@v3
3957
with:
4058
message: |
4159
### 🚨 Broken links detected
4260
<details>
4361
<summary>Click to expand</summary>
4462
45-
```markdown
46-
${{ steps.lychee.outputs.report }}
47-
```
63+
${{ steps.lychee_report.outputs.report }}
4864
</details>
4965
env:
5066
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5167
- name: Fail if broken links found
52-
if: ${{ steps.lychee.outputs.exit_code != 0 }}
68+
if: ${{ failure() || (steps.lychee.outputs.exit_code && steps.lychee.outputs.exit_code != '0') }}
5369
run: exit 1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ yarn-error.log*
2222
.vscode
2323
.idea
2424
.lycheecache
25+
.eslintcache
2526

2627
flare-smart-contracts-v2/
2728
flare-smart-contracts/

automations/feed_stability.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
[
2+
{ "name": "AAVE/USD", "stability": 99.09 },
3+
{ "name": "ADA/USD", "stability": 99.06 },
4+
{ "name": "ALGO/USD", "stability": 98.96 },
5+
{ "name": "APT/USD", "stability": 98.98 },
6+
{ "name": "ARB/USD", "stability": 98.67 },
7+
{ "name": "ATOM/USD", "stability": 99.48 },
8+
{ "name": "AVAX/USD", "stability": 99.30 },
9+
{ "name": "BCH/USD", "stability": 99.25 },
10+
{ "name": "BERA/USD", "stability": 96.83 },
11+
{ "name": "BNB/USD", "stability": 99.71 },
12+
{ "name": "BONK/USD", "stability": 97.42 },
13+
{ "name": "BTC/USD", "stability": 99.77 },
14+
{ "name": "DOGE/USD", "stability": 99.14 },
15+
{ "name": "DOT/USD", "stability": 99.31 },
16+
{ "name": "ENA/USD", "stability": 97.34 },
17+
{ "name": "ETC/USD", "stability": 99.41 },
18+
{ "name": "ETH/USD", "stability": 99.55 },
19+
{ "name": "ETHFI/USD", "stability": 97.56 },
20+
{ "name": "FET/USD", "stability": 96.72 },
21+
{ "name": "FIL/USD", "stability": 98.60 },
22+
{ "name": "FLR/USD", "stability": 97.58 },
23+
{ "name": "HBAR/USD", "stability": 98.99 },
24+
{ "name": "HNT/USD", "stability": 94.54 },
25+
{ "name": "HYPE/USD", "stability": 97.10 },
26+
{ "name": "ICP/USD", "stability": 98.31 },
27+
{ "name": "JOULE/USD", "stability": 62.15 },
28+
{ "name": "JUP/USD", "stability": 98.68 },
29+
{ "name": "LEO/USD", "stability": 80.56 },
30+
{ "name": "LINK/USD", "stability": 99.31 },
31+
{ "name": "LTC/USD", "stability": 99.34 },
32+
{ "name": "MON/USD", "stability": 95.42 },
33+
{ "name": "NEAR/USD", "stability": 98.98 },
34+
{ "name": "NOT/USD", "stability": 94.24 },
35+
{ "name": "ONDO/USD", "stability": 98.96 },
36+
{ "name": "OP/USD", "stability": 98.98 },
37+
{ "name": "PAXG/USD", "stability": 99.70 },
38+
{ "name": "PENGU/USD", "stability": 96.02 },
39+
{ "name": "PEPE/USD", "stability": 98.37 },
40+
{ "name": "POL/USD", "stability": 98.95 },
41+
{ "name": "PUMP/USD", "stability": 94.74 },
42+
{ "name": "PYTH/USD", "stability": 98.38 },
43+
{ "name": "QNT/USD", "stability": 98.85 },
44+
{ "name": "RENDER/USD", "stability": 98.46 },
45+
{ "name": "RUNE/USD", "stability": 95.55 },
46+
{ "name": "S/USD", "stability": 97.63 },
47+
{ "name": "SGB/USD", "stability": 77.25 },
48+
{ "name": "SHIB/USD", "stability": 99.45 },
49+
{ "name": "SOL/USD", "stability": 99.31 },
50+
{ "name": "SUI/USD", "stability": 98.87 },
51+
{ "name": "TAO/USD", "stability": 98.24 },
52+
{ "name": "TON/USD", "stability": 99.29 },
53+
{ "name": "TRUMP/USD", "stability": 98.64 },
54+
{ "name": "TRX/USD", "stability": 99.81 },
55+
{ "name": "UNI/USD", "stability": 98.88 },
56+
{ "name": "USDC/USD", "stability": 99.95 },
57+
{ "name": "USDS/USD", "stability": 98.78 },
58+
{ "name": "USDT/USD", "stability": 99.95 },
59+
{ "name": "USDX/USD", "stability": 99.94 },
60+
{ "name": "WIF/USD", "stability": 96.85 },
61+
{ "name": "XDC/USD", "stability": 98.84 },
62+
{ "name": "XLM/USD", "stability": 99.17 },
63+
{ "name": "XPL/USD", "stability": 95.27 },
64+
{ "name": "XRP/USD", "stability": 99.26 }
65+
]

automations/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencies = [
1111
"web3>=7.2.0",
1212
]
1313

14-
[tool.uv]
15-
dev-dependencies = [
14+
[dependency-groups]
15+
dev = [
1616
"pyright>=1.1.383",
1717
"ruff>=0.6.4",
1818
]

0 commit comments

Comments
 (0)