Standalone

Hardhat Forking

close button

Part II

Changing Block Variables

The EmeraldQuarry contract is deployed on the Sepolia testnet at 0x934fFa5aC137Ec30B4cfF553375AB32fC3D3Fa9c.

Like before, by successfully calling the dig() function, the contract will reveal its hidden treasure.

Your Task

Find the contract’s hidden treasure (i.e. return value of dig()). Then, log your answer into the file output/treasure.json.

Your json file must be a top-level array.

[ "{TREASURE_1}", "{TREASURE_2}" ]

Run tests in Questplay

You’ve made a good start, but signs indicate there are rarer riches to be found in the valley’s emerald mines.