- 从
master创建功能分支 - 仅修改当前任务相关文件
- 同步受影响的 ABI
- 在提交前运行对应检查
- 通过 Pull Request 合并
npm run frontend:lint
npm run frontend:buildforge fmt --root contracts --check
forge build --root contracts --sizes
PRIVATE_KEY=1 npm run contracts:test默认 CI 执行不需要 RPC 的 19 个测试。以下测试访问 Sepolia 已部署代币,必须使用 fork:
SEPOLIA_RPC_URL=<rpc-url> PRIVATE_KEY=1 npm run contracts:test:integration使用简洁的 Conventional Commit 风格:
feat:新功能fix:修复refactor:不改变行为的结构调整docs:文档chore:工具或依赖
不要在提交中包含私钥、RPC 密钥、构建产物、日志或 node_modules。