Commit f5d7e7d
Fix wrong trie root: don't bypass validation for force-scheduled tasks
The force-schedule fallback (stall prevention) was setting
skipCheck[nextTx] = true, which tells the validator to accept the
result without checking state consistency. This is only correct for
the task at maxValidated+1 (the validation frontier), where all
predecessors are guaranteed validated. For a non-frontier task, this
can accept results computed against stale state, producing wrong
trie roots.
Remove the skipCheck flag from the force-schedule path. The task is
still dispatched and executed; its result goes through normal
validation and gets re-executed if invalid.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a36f84d commit f5d7e7d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1904 | 1904 | | |
1905 | 1905 | | |
1906 | 1906 | | |
1907 | | - | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
1908 | 1911 | | |
1909 | 1912 | | |
1910 | 1913 | | |
| |||
0 commit comments