Content pfp
Content
@
0 reply
0 recast
3 reactions

0xhamed 🎩 🔵 🎭 ✪ pfp
0xhamed 🎩 🔵 🎭 ✪
@0xhamed
Error handling in Solidity An error will undo all changes made to the state during a transaction. - require is used to validate inputs and conditions before execution. - revert is similar to require. See the code below for details. - assert is used to check for code that should never be false.
2 replies
2 recasts
47 reactions

Dima pfp
Dima
@dima1390
If the condition specified in require evaluates to false, the transaction is reverted, and all state changes made up to that point are undone 60 $DEGEN
0 reply
0 recast
0 reaction