AmazingAng / WTF-Solidity

我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用,每周更新1-3讲。Now supports English! 官网: https://wtf.academy
https://wtf.academy
Other
10.75k stars 1.89k forks source link

Update `Selfdestruct` after Cancun Upgrade + Fix typos #711

Closed jes16jupyter closed 1 month ago

jes16jupyter commented 2 months ago

What type of PR is this (这是什么类型的PR)

Which issue(s) this PR fixes(Optional) (这个PR 修复了什么问题 (可选择))

What this PR does / why we need it (这个PR 做了什么/ 我们为什么需要这个PR)

  1. Update self-destruct since it is changed in Cancun upgrade. (更新坎昆升级给self-destruct的改动)
  2. Update problems I encounter when learning Library Contract. (解决在学习库合约时遇到的问题)
  3. Update potential security issues - permit front-running. (更新通过抢跑permit操作导致合约相关函数DOS)
  4. Update protection on front-run in contract side (更新在合约测如何应对抢跑问题:设置滑点)
  5. Update how to deal with RO reentrancy (更新如何处理只读重入的问题)
jes16jupyter commented 1 month ago

@AmazingAng A大看看这个,self-destruct用法更新了。

AmazingAng commented 1 month ago

好 最近一直在忙eth beijing黑客松 基本忙完了 明天下午3点 搞个会议审核pr 有空的话一起来

0xAA 邀请您参加腾讯会议 会议主题:WTF PR审核 会议时间:2024/05/12 15:00-16:00 (GMT+08:00) 中国标准时间 - 北京

腾讯会议:367-976-549

AmazingAng commented 1 month ago

很棒的pr lgtm