Encode-Solidity-Expert-2023-Q3-Group-6 / GasOptimisationFoundry

Homework8
0 stars 0 forks source link

GAS OPTIMSATION

To run tests & gas report with verbatim trace

Run: forge test --gas-report -vvvv

To run tests & gas report

Run: forge test --gas-report

To run a specific test

RUN:forge test --match-test {TESTNAME} -vvvv EG: forge test --match-test test_onlyOwner -vvvv