Commit af109db
authored
fix(runner): relax Starknet RPC spec version check (#429)
A node reporting a non-0.9 spec_version (or failing the spec_version RPC
entirely) currently aborts torii startup. Most JSON-RPC methods torii
uses are stable across minor spec bumps, so this blocks valid setups
whenever a node ships a newer spec.
Downgrade both the version mismatch and the RPC call failure to a
tracing warning and continue. Genuine incompatibilities will still
surface at the actual call site with a more specific error. Mirrors
dojoengine/dojo#3402.1 parent 2193fc5 commit af109db
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