您好,我最近刚刚开始从 Udemy 学习 Solidity,尽管在几乎完成课程后我还没有理解 assert 和 require 之间的区别。当不满足要求时,它们不是都会破坏功能吗?在合约内的 Gas 优化方面,两者相比是否有优势?
blockchain ethereum solidity smartcontracts
blockchain ×1
ethereum ×1
smartcontracts ×1
solidity ×1