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
I'm getting this odd error when trying to use vm.getRecordedLogs() in a test in a project using foundry-template.
Type struct VmSafe.Log[] memory is not implicitly convertible to expected type struct VmSafe.Log[] memory.
It's the first time I use this cheatcode, but someone in the Foundry support tg suggests that PRBTest might be causing the problem. Have you ever encountered this odd error?
The only workaround is to switch to Forge Std and DSTest, or make a PR to update the Vm in PRBTest. Or alternatively, advocate for an independent forge-vm repository.
Hi Paul,
I'm getting this odd error when trying to use
vm.getRecordedLogs()
in a test in a project usingfoundry-template
.Type struct VmSafe.Log[] memory is not implicitly convertible to expected type struct VmSafe.Log[] memory.
It's the first time I use this cheatcode, but someone in the Foundry support tg suggests that PRBTest might be causing the problem. Have you ever encountered this odd error?
Here is the tg mention of PRBTest possibly causing the problem: https://t.me/foundry_support/43751
And here are my imports, in case relevant
Thanks for any suggestions.
The text was updated successfully, but these errors were encountered: