Loading...
Loading...
Compare original and translation side by side
| Step | Command / Action |
|---|---|
| Format code | |
| Run all tests | |
| Check gas report | |
| Verify config | Manually check |
| Dry-run | |
| Check balance | |
| Gas limit set | Deployment command must include |
| 步骤 | 命令 / 操作 |
|---|---|
| 格式化代码 | |
| 运行所有测试 | |
| 查看gas报告 | |
| 验证配置 | 手动检查 |
| 模拟运行 | |
| 检查余额 | |
| 设置gas上限 | 部署命令必须包含 |
| Situation | Rule |
|---|---|
| Default deployment | No |
| User requests verification | Add |
| Post-deploy verification | Use |
| Multi-chain deploy | Separate scripts per chain, never batch multiple chains in one script |
| Proxy deployment | Deploy implementation first, then proxy — verify both separately |
| 场景 | 规则 |
|---|---|
| 默认部署 | 不添加 |
| 用户要求验证 | 在命令中添加 |
| 部署后验证 | 单独使用 |
| 多链部署 | 每条链使用单独的脚本,切勿在一个脚本中批量处理多条链 |
| 代理部署 | 先部署实现合约,再部署代理合约 — 分别验证两者 |
config/*.jsondeployments/latest.envcast calldocs/CHANGELOG.mdforge verify-contractconfig/*.jsondeployments/latest.envcast calldocs/CHANGELOG.mdforge verify-contractcast wallet import--broadcastcast wallet import--broadcastundefinedundefinedundefinedundefined