I’m having issue while trying to solve level 9 of Ethernaut. I understand how to solve it but It doesn’t work somehow and I have no idea why. I tried to implement various solutions found here :https://medium.com/coinmonks/ethernaut-lvl-9-king-walkthrough-how-bad-contracts-can-abuse-withdrawals-db12754f359b and https://github.com/tsauvajon/ethernaut/tree/master/07-force without success.
I click on “get a new instance” and deploy the following contract (from Nicole Zhu) in remix IDE
Then I replace the value MY_INSTANCE_ADDRESS by the one given in Ethernaut.
What am I doing wrong ?