2 ms·
There are two problems. First, when writing a contract every line you write might be a potential avenue for an attack. Second, the language (Solidity) and the p
by baby 9y ago
There are two problems. First, when writing a contract every line you write might be a potential avenue for an attack. Second, the language (Solidity) and the parsing of the bytecode (EVM) don't help.
If you look at the kind of attacks that happen I feel like two major problems came from the fact that addresses can be real account addresses or contracts (it could have been good to segregate them) and errors/exceptions don't propagate well.