Contracts Testing
Tests live in:
apps/contracts/test/RelationalEuro.t.sol
Prerequisites
Install Foundry:
curl -L https://foundry.paradigm.xyz | bash
foundryup
Install dependencies for this workspace:
cd apps/contracts
forge install OpenZeppelin/openzeppelin-contracts --no-git
forge install foundry-rs/forge-std --no-git
--no-git avoids nested git submodule behavior in this monorepo.
Run Test Suite
cd apps/contracts
forge test -vv
Useful Commands
# Format check and compile
forge fmt --check
forge build