What the Heck am i Doing Wrong? Openzeppelin Ethernaut Re-entrancy #10 #742
Unanswered
justAWanderKid
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
it's Just an Simple Reentrancy Vulnerablity Exploitation, but it seems like there's something im doing wrong.
Link to the Openzeppelin Ethernaut
10-Re-entrancy
: https://ethernaut.openzeppelin.com/level/10Now First of all, i made couple of Changes to the original
Reentrance
Contract that importsSafeMath
and uses 0.6.0 solidity version.here's the changes i made to
Reentrance
Contract:and this is the attacker contract:
and this is the test i wrote for it:
what the heck am i doing wrong that the transaction gets reverted for
overflow/underflow
?Beta Was this translation helpful? Give feedback.
All reactions