---
# System prepended metadata

title: Week11 Retro
tags: [AppWorks-School]

---

# Week11 Retro
## Repo Setting
1. README.md
	- Guide for using this repo
		- need what command
		- need what env -> .env.example
2. Do not upload KEY to Github. Hackers are actively scanning public repos and stealing KEYs

## Testing
1. before / beforeEach
    - block state issue
3. forking config
	- what scenario do we need to fork the network
4. what can we check
	- token balance change (most of us are already using this)
	- revert case
	- event emit
5. there are many strange `approve()` before `redeem()` in week11 HW
	- what scenario do we need to use `approve()`
6. description of `it` can be more clear.
	- try to separate the test case into more detail

## Why Are These Important
1. most blockchain project is open source, so if we have precise testing and guide, it can let user realize how our project work and how to interact with our contract
2. auditor friendly


###### tags: `AppWorks-School`