-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
A-cheatcodesArea: cheatcodesArea: cheatcodesC-forgeCommand: forgeCommand: forgeT-bugType: bugType: bugT-to-reproduceType: requires reproductionType: requires reproduction
Milestone
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
Linux
Describe the bug
There's some unexpected behavior with vm.serializeString.
When using
string memory out = vm.serializeString(key, key, '10000000000000');
vm.writeJson(out, path);
It seems like foundry will automatically convert the string to a number if it looks like a number.
This is somewhat unexpected and it hard to work with consumer languages that don't natively support big numbers.
Metadata
Metadata
Assignees
Labels
A-cheatcodesArea: cheatcodesArea: cheatcodesC-forgeCommand: forgeCommand: forgeT-bugType: bugType: bugT-to-reproduceType: requires reproductionType: requires reproduction
Type
Projects
Status
Done