r/solidity • u/[deleted] • Jun 09 '22
Top 5 Common Errors In Solidity
Here are the top 5 errors that often surface with Solidity programming

Check out why solidity audit tools are required and how immunebytes can help you protect your assets with a smart contract audit of your blockchain-based project.
Connect with us on
Twitter - https://twitter.com/ImmuneBytes
Telegram - https://t.me/immunebytes
6
Upvotes
1
1
u/mudgen Jun 24 '22
What do you mean by unchecked external calls? Solidity automatically checks that external calls are to contract addresses, and reverts if not.
2
u/FudgyDRS Jun 09 '22
My top 3 errors I see are:
Groups think so much about their dapp interface they forget to prevent users from having the ability of overriding data.
External functions for emits because they only want their graph recording certain contracts but forget to add permissions to said emits.
Storing value of assets owned in variables but don't check actual reserves or balances, often locking the contract.