Skip to content

Dev: Standard Practice Before Doing PR

zjlin edited this page Oct 14, 2022 · 6 revisions

Standard Practice before doing PR with contract modification

Step 1: Run all tests Dev: Testing
Step 2: Dev: Running Hardhat Coverage Make sure that functions, statement, and branch coverage is at 100% 90% if low risk for contract in question
Step 3: Run test coverage for all contracts Dev: Running Hardhat Coverage

Step 4: Run the formatter and linter in alicenet/bridge

npm run format  
npm run lint -- --fix
npm run lint-solidity

Step 5: Run a Local node and walk it all the way to snapshot Dev: Running Locally