Skip to content

Commit

Permalink
Merge pull request #185 from ghx1104/main
Browse files Browse the repository at this point in the history
Update ghx1104.md
  • Loading branch information
ghx1104 authored Feb 21, 2025
2 parents b34cfd1 + 4e07735 commit a89a184
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions ghx1104.md
Original file line number Diff line number Diff line change
Expand Up @@ -695,4 +695,52 @@ Ethereum 的开发遵循严格流程:

---

### 2025.02.21

#### week9

### **1. What do we test and why?**
我们测试区块链协议的各个方面,包括共识层、交易处理、智能合约执行、网络协议等。测试是为了确保网络安全、稳定,避免漏洞和提升性能。

---

### **2. Importance of Local Testing**
本地测试对于开发者至关重要,能在开发早期阶段捕获错误,减少部署到主网时的风险。它有助于验证协议变更和智能合约的功能。

---

### **3. How can I prototype a tool or change?**
通过使用本地开发环境(如 devnets 或 shadow forks)原型化工具或变更。开发者可以在这些环境中快速测试和迭代新功能。

---

### **4. What are Devnets? How do we spin them up?**
**Devnets** 是专门用于开发和测试的区块链网络。通过工具(如 Docker 或 Kubernetes)快速搭建 devnet,模拟实际网络环境进行测试。

---

### **5. Shadow Forks**
**Shadow Forks** 是一个临时的网络分支,用于模拟主网上的变更和测试新的协议或功能。它们有助于验证新代码在真实网络中的表现。

---

### **6. Handy DevOps Tools**
开发者使用以下 DevOps 工具来提升开发效率:
- **Kurtosis**:提供可靠的测试环境。
- **Template-devnets**:提供模板化的开发网络配置。
- **Assertoor**:用于自动化的测试和验证。
- **Forky**:快速搭建区块链分叉环境。
- **Tracoor**:用于追踪和调试区块链事件。
- **Dora**:简化区块链开发的框架。
- **Goomy-blob**:优化存储和数据传输。
- **Xatu**:高效的开发工具和框架。

---

### **7. Run your own local devnet and shadowfork!**
使用上述工具,开发者可以在本地运行自己的 devnet 和 shadowfork,从而在本地环境中快速验证新功能和协议变更。

---


<!-- Content_END -->

0 comments on commit a89a184

Please sign in to comment.