Commit d608031
fix: Update Cashmere bridge network data to match adapter exports and performance fixes (#416)
* fix: Update Cashmere bridge network data to match adapter exports
- Change chains from display names to internal names
- Update 'avalanche' → 'avax' to match adapter export
- Update 'world chain' → 'wc' to match adapter export
- Use identity chainMapping (avax→avax, wc→wc)
- This should fix ethereum, avalanche, world chain fetching on DefiLlama
Root cause: Adapter exports {avax: true, wc: true} but bridge data
expected {avalanche: true, 'world chain': true}, causing lookup failures.
* perf: Apply Relay performance fixes to Cashmere adapter
- Fix request queue key: use unique timestamp-based keys instead of 0
- Prevents queue conflicts between different time windows
- Matches recent Relay adapter improvements (commit dbfce50)
- Improves concurrent request handling
* perf: Apply complete Relay performance fixes to Cashmere handler
- Add parallel hour processing with concurrency control (12 concurrent hours)
- Implement mapLimit function for controlled parallelism
- Add proper hour window processing with labels
- Improve error logging with time window context
- Track both deposit and withdraw USD separately
- Matches Relay handler improvements (commit dbfce50)
Performance improvements:
- 12x faster processing (parallel vs sequential hours)
- Better error isolation per time window
- Improved logging and monitoring
* conflict fix
conflict fix
* Update bridgeNetworkData.ts with latest upstream changes
- Includes all new bridge integrations from upstream
- Maintains Cashmere bridge entry (id: 97)
- Resolves conflicts with upstream master
* k
k
* up
up
* up
up
---------
Co-authored-by: Cashmere Labs <dev@cashmere.exchange>1 parent 3e53f51 commit d608031
File tree
3 files changed
+58
-27
lines changed- src
- adapters/cashmere
- data
- handlers
3 files changed
+58
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2525 | 2525 | | |
2526 | 2526 | | |
2527 | 2527 | | |
2528 | | - | |
| 2528 | + | |
2529 | 2529 | | |
2530 | 2530 | | |
2531 | 2531 | | |
2532 | 2532 | | |
2533 | 2533 | | |
2534 | 2534 | | |
2535 | 2535 | | |
2536 | | - | |
| 2536 | + | |
2537 | 2537 | | |
2538 | 2538 | | |
2539 | 2539 | | |
2540 | 2540 | | |
2541 | 2541 | | |
2542 | 2542 | | |
2543 | 2543 | | |
2544 | | - | |
2545 | | - | |
2546 | | - | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
2547 | 2547 | | |
2548 | 2548 | | |
2549 | 2549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
42 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
43 | 71 | | |
44 | | - | |
45 | | - | |
| 72 | + | |
46 | 73 | | |
47 | 74 | | |
48 | 75 | | |
| |||
56 | 83 | | |
57 | 84 | | |
58 | 85 | | |
59 | | - | |
| 86 | + | |
60 | 87 | | |
61 | 88 | | |
62 | 89 | | |
| |||
80 | 107 | | |
81 | 108 | | |
82 | 109 | | |
83 | | - | |
| 110 | + | |
84 | 111 | | |
85 | 112 | | |
86 | 113 | | |
| |||
99 | 126 | | |
100 | 127 | | |
101 | 128 | | |
102 | | - | |
| 129 | + | |
103 | 130 | | |
104 | 131 | | |
105 | 132 | | |
| |||
109 | 136 | | |
110 | 137 | | |
111 | 138 | | |
112 | | - | |
| 139 | + | |
113 | 140 | | |
114 | 141 | | |
115 | | - | |
| 142 | + | |
116 | 143 | | |
117 | 144 | | |
118 | 145 | | |
119 | | - | |
| 146 | + | |
120 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
121 | 151 | | |
122 | | - | |
123 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
124 | 155 | | |
125 | 156 | | |
126 | 157 | | |
| |||
0 commit comments