Create/Modify MIP Proposal
Steps
- •Ask user for: MIP number, target chain, reference proposal (if any)
- •Run
git branch --show-current— refuse to proceed if onmain - •Check existing MIP naming pattern:
ls src/proposals/ - •Load chain addresses from config files (never hardcode addresses)
- •After code changes, run
forge buildto verify compilation - •Run
forge test --match-contract <MIPName>to verify tests pass - •Show diff summary before committing
Rules
- •Storage variables in build() must be initialized from chain config addresses
- •Duration calculations: always show math explicitly for user verification
- •Follow existing naming convention exactly