Add mitigation for BadParity

This commit is contained in:
2022-01-01 15:46:23 +01:00
parent fc82b8c44b
commit c22a3ec2f3
2 changed files with 3 additions and 1 deletions
Binary file not shown.
+3 -1
View File
@@ -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