Add mitigation for BadParity
This commit is contained in:
Binary file not shown.
@@ -127,9 +127,11 @@ eth.sendTransaction({
|
||||
gas: "80000"
|
||||
});
|
||||
\end{minted}
|
||||
|
||||
Our own balance has increased by 30 Ether.
|
||||
|
||||
To mitigate this vulnerability the contract should use \texttt{call} instead of
|
||||
\texttt{delegatecall}.
|
||||
|
||||
\section{DAO Down}
|
||||
% Fill here your answers for exercise B
|
||||
|
||||
|
||||
Reference in New Issue
Block a user