Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The guidance provided by the foundry book informs us to setup our tests via ``` contract MyTest is Test { ... } ``` However, given the inheritance and import structures of `forge-std/Test.sol`, the documentation to create a wallet produces the following error: ``` Compiler run failed: Error (7920): Identifier not found or not unique. --> test/MyTest.t.sol:86:5: | 86 | Wallet memory _w = vm.createWallet(100); | ^^^^^^ Error: ``` Instead, in order to store the result returned by `vm.createWallet`, I had to reference the `Wallet` type through the `Vm` interface, like so: ``` Vm.Wallet memory _w = vm.createWallet(100); ```
- Loading branch information