Traces
Forge can produce traces either for failing tests (-vvv
) or all tests (-vvvv
).
Traces follow the same general format:
If your terminal supports colour, the traces will also come with a variety of colours:
Green: For calls that do not revert
Red: For reverting calls
Blue: For calls to cheat codes
Cyan: For emitted logs
Yellow: For contract deployments
The gas usage (marked in square brackets) is for the entirety of the function call.
Last updated