You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And so forth. I imagine it should be possible to serialize the keys in alphabetical order, though not sure if this will need to be custom implemented or can be easily done with serde_json::Value
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (06f7c9c 2023-03-18T00:08:48.50351195Z)
What command(s) is the bug in?
No response
Operating System
Linux
Describe the bug
I would expect that
writeJson
and related cheatcodes would produce a deterministic result. However, across runs this output will be different:This code:
Produces:
OR:
And so forth. I imagine it should be possible to serialize the keys in alphabetical order, though not sure if this will need to be custom implemented or can be easily done with
serde_json::Value
The text was updated successfully, but these errors were encountered: