In case of failure, assert() consumes all the gas whereas require() returns all gas

picture loading error handler
67 thought(s)67

Ethereum Developer Masterclass

Key takeaways from Udemy's course 'Ethereum Developer Masterclass: Build Real World Projects'.
Ethereum
Blockchain
Solidity
Truffle
Development
Get