- Install Foundry
curl -L https://foundry.paradigm.xyz | bash
foundryup
- Install solidity compiler https://docs.soliditylang.org/en/latest/installing-solidity.html#installing-the-solidity-compiler
Added: --evm-version=paris
to YulDeployer.sol
to work around PUSH0 issue.
- Build Yul contracts and check tests pass
forge test
Run tests (compiles yul then fetch resulting bytecode in test)
forge test
To see the console logs during tests
forge test -vvv