Update JSON output documentation
Let merge this but note that we need to update the documentation as well.
Originally posted by @gustavo-grieco in https://github.com/crytic/echidna/issues/1460#issuecomment-3352193392
Hi! I'd like to take this one.
From the origin thread: #1460 added value to the JSON output and converted gas/gasPrice to strings (JSON numbers cannot safely hold values above 2^53), but the documentation still shows the old shape.
Plan: run a small sample campaign, regenerate the current JSON output, diff it against the docs, and update the JSON section with the current schema and a fresh end-to-end example. For anything that is emitted but undocumented — or documented but no longer emitted — I'll flag it in the PR rather than silently picking a side, so the maintainers can decide which is authoritative.
Update: I've opened #1632 with the documentation update for this.
It brings the README's json output section back in sync with Echidna.Output.JSON ("type" vs "testType", the verified status, the previously undocumented reason and events fields, the string-typed gas/gasprice/value from #1460) and adds a short section on the corpus/reproducer transaction file format, including the accepted legacy underscore-prefixed keys.