0xAA

Results 74 comments of 0xAA

可能是因为require里包含了报错提示字符,字符越长gas消耗越多。另外例子中代码比较少,可能代码长一些,才能看出差别。

The fact is, 1M replay buffer with stacked frames will cost more than 28G Ram: 10^6 * 84 * 84 * 4 bytes ~=28 gigabytes So a 56G Ram machine...

好像这种菱形+多重继承是很麻烦,感谢提醒。 你提个pr把这部分加到这一讲?

Nice, `(a, b) = (b, a)` 很棒,不用搞个临时变量。

对 mirror的编辑和github不太一样 挺多没有更新的地方 主要是图片格式 有什么好办法么

好的 mirror还用不了github的图片 所以还挺麻烦

No problem. The first chapters of WTF Solidity tutorials are translated into English. We will run a community review on translation later this month. If you find any typo or...

格式有些问题 需要修改

address其实还有很多成员函数,可以给个网址让大家去了解,但不用这里都讲: 1. .balance (uint256) 2. .code (bytes memory) 3. .codehash (bytes32) 4. .transfer(uint256 amount) 5. .send(uint256 amount) returns (bool) 6. .call(bytes memory) returns (bool, bytes memory) 7. .delegatecall(bytes memory) returns...

这个不算冗余其实 如果多次引用一个状态变量 最好把它赋值给一个临时变量 可以省gas