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
@mattsse In foundry-rs/forge-std#253 we started expanding console2.sol to add more overloads, so add a log(int256) and log(string,int256) overload. Do you think you could get a quick PR in to add those both to foundry? (I'm not exactly sure how the abigen + format_hardhat_call stuff, e.g. in HardhatConsoleCalls::Log7(c) => logf1!(c) how do you know what numbers to use there?)
Additional context
No response
The text was updated successfully, but these errors were encountered:
@mds1 these numbers are coming from macro expansion. since cargo expand would simply flood your terminal, you could use rust-analyzer's command to expand the macro recursively. I can get a quick PR in, are these the only 2 additional methods?
Component
Forge
Describe the feature you would like
@mattsse In foundry-rs/forge-std#253 we started expanding
console2.sol
to add more overloads, so add alog(int256)
andlog(string,int256)
overload. Do you think you could get a quick PR in to add those both to foundry? (I'm not exactly sure how the abigen +format_hardhat_call
stuff, e.g. inHardhatConsoleCalls::Log7(c) => logf1!(c)
how do you know what numbers to use there?)Additional context
No response
The text was updated successfully, but these errors were encountered: