foundry-rs / forge-std

Forge Standard Library is a collection of helpful contracts for use with forge and foundry. It leverages forge's cheatcodes to make writing tests easier and faster, while improving the UX of cheatcodes. For more in-depth usage examples checkout the tests.
Apache License 2.0
842 stars 333 forks source link

fix: add missing console logs #577

Closed DaniPopes closed 4 months ago

DaniPopes commented 4 months ago

Ref https://github.com/foundry-rs/forge-std/pull/573#issuecomment-2203315762

I copy pasted the console2 functions to console and replaced int256 with int. This is the entire diff.

hellwolf commented 4 months ago

well, the thing is, it now compiles, but I am not sure if it actually prints anything. At least not with "forge 0.2.0 (5ac78a9 2024-06-02T00:19:17.377492500Z)"

DaniPopes commented 4 months ago

You're right, it's not hooked up, please open an issue in https://github.com/foundry-rs/foundry

hellwolf commented 4 months ago

That's not idea, it could be a footgun, should it be rolled back, for now?

I will report a bug or propose a fix.