forge test -m
has been replaced byforge test --mt
- If you have trouble installing anvil, you can install it with this command:
# install Anvil
cargo install --path ./anvil --profile local --force
Per the foundry docs
forge test -m
has been replaced byforge test --mt
- To run the foundry-devops tool, you might need to install jq
The modulo examples shown on remix in the demo are the wrong way around.
It shows on screen (line 11):
// 2 % 2 = 0. 2 % 3 = 1. 2 % 6 = 0. 2 % 7 = 1
What it should be:
// 2 % 2 = 0. 3 % 2 = 1. 6 % 2 = 0. 7 % 2 = 1
In the latest version of openzeppelin/openzeppelin-contracts ERC20Mock.sol
file has been updated with 0 constructor parameters.
You should use forge install openzeppelin/[email protected] --no-commit
command to download the appropriate version synced with the video.