Commit 79cd70e
fix: validate network before fetch loop for fail-fast behavior
Move network validation before the contract iteration loop so invalid
network strings are caught immediately instead of surfacing during
the first fetch — which is confusing when fetching multiple contracts.
Closes #12
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fed887c commit 79cd70e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
0 commit comments