Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 971 Bytes

README.md

File metadata and controls

48 lines (30 loc) · 971 Bytes

ethernaut-foundry

Writeups

  • Discussion of the solutions at the writeups.md document.

Install forge

Install dependencies

forge install

Run the entire test suit

Preparations

Create an .env file. You can copy the sample .env-sample:

export RPC_URL=https://eth-holesky.g.alchemy.com/v2/9yUn7YrS814EkZ-2xI0Ex0VFHcPAUmRw
export BLOCK_NUMBER=2000000

Then you just do

forge test

Running a single challenge

forge test --match-contract Hello

Add traces

There are different level of verbosities, -vvvvv is the maximum.

forge test --match-contract Hello -vvvvv