Commit 581a3e3
committed
fix(stores-eth): imperative fallback also treats Alchemy error as missing
Mirror the observation-driven reaction: if parent.error is set, the
imperative awaitFallbackIfMissing() path must not trust a cached
response and should drop into batch fallback, so fetch()/wait*()
produce fresh data instead of silently returning the stale Alchemy
balance.1 parent 50b5b6d commit 581a3e3
File tree
2 files changed
+10
-5
lines changed- apps/hooks-internal/src/swap
- packages/stores-eth/src/queries
2 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
755 | | - | |
756 | | - | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
757 | 757 | | |
758 | | - | |
| 758 | + | |
| 759 | + | |
759 | 760 | | |
760 | 761 | | |
761 | 762 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
| 320 | + | |
319 | 321 | | |
320 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
321 | 325 | | |
322 | 326 | | |
323 | 327 | | |
| |||
0 commit comments