What is Implementation2 in TimelockController-tests?

I'm trying to test the governance with the timelock controller. I've started with OpenZeppelin's TimelockController-tests here: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/test/governance/TimelockController.test.js

I'm trying to compile and run the test but I got stuck. When I run npx hardhat test it throws this error:

Error HH700: Artifact for contract "Implementation2" not found.

And the line throwing this error is: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/cf86fd9962701396457e50ab0d6cc78aa29a5ebc/test/governance/TimelockController.test.js#L10

I couldn't find any file named Implementation2 in OZ repository. Any idea what is this?

It's a "mock" contract that is only used for testing.

1 Like

I was looking for a file named Implementation2.sol :sweat_smile: Thank you!