Skip to content

Files

Latest commit

f8772d0 · Apr 8, 2022

History

History
This branch is 7 commits ahead of, 2 commits behind ciaranmcveigh5/ethernaut-x-foundry:main.

Force

2. Force

NOTE - Some code has been slightly altered to work with newer versions of solidity and enable us to test the level with foundry. Any where this has been done an accompanying comment gives context for why this change was made.

Original Level

https://ethernaut.openzeppelin.com/level/0x22699e6AdD7159C3C385bf4d7e1C647ddB3a99ea

Walkthrough

https://medium.com/coinmonks/ethernaut-lvl-7-walkthrough-how-to-selfdestruct-and-create-an-ether-blackhole-eb5bb72d2c57

Foundry

forge test --match-contract ForceTest -vvvv

alt text