Commit d74a650
fix(runner): relax Starknet RPC spec version check
A node reporting a non-0.9 spec_version (or failing to respond to
spec_version at all) currently aborts torii startup. In practice most
JSON-RPC methods torii uses are stable across minor spec bumps, so a
strict check blocks valid setups whenever a node ships a newer spec.
Replace the hard error with a tracing warning and continue. Real
incompatibilities will still surface at the actual RPC call site with a
more specific error. Mirrors dojoengine/dojo#3402 for sozo.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2193fc5 commit d74a650
1 file changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
302 | 313 | | |
303 | 314 | | |
304 | 315 | | |
| |||
0 commit comments