Commit f97b850
fix: patch dedicatedFarm field for pre-V14 Farm event decoding
Existing indexer snapshots on all networks were built with an old
typesBundle that had a typo: "dedicatedFarm:" (trailing colon) in the
Farm struct. The stored JSON has "dedicatedFarm:" as the key, but the
processor expects "dedicatedFarm" (no colon) after the typesBundle was
corrected. This causes an assertion failure when decoding pre-V14
FarmStored/FarmUpdated events (specs 63-70).
Production 2.12.3 had this workaround in the isV101 branch, which was
removed by the typegen automation when relabeling the hash as isV63.
Remove this workaround after all indexers are resynced with the
corrected typesBundle.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 01e6b28 commit f97b850
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
133 | 140 | | |
134 | 141 | | |
135 | 142 | | |
| 143 | + | |
| 144 | + | |
136 | 145 | | |
137 | 146 | | |
138 | 147 | | |
| |||
0 commit comments