I am using openzepellin Govenance Wizard contract & openzepellin TimelockController . I am getting this error:

Error: VM Exception while processing transaction: reverted with reason string 'TimelockController: underlying transaction reverted'

I suspect the error has something to do with AccessControl.sol or Unsuccessful Proposal but I don't seem to be able to locate the error.

Reproduce the Error

You can clone this repository and cd into the vyrochain-hardhat directory. Run following commands after installing all the dependencies using yarn:

yarn hardhat node 

In the new terminal, run the following commands side-by-side:

yarn hardhat run scripts/changeChairperson/propose.js --network localhost
yarn hardhat run scripts/changeChairperson/vote.js --network localhost
yarn hardhat run scripts/changeChairperson/queue-and-execute.js --network localhost

After the execution of the last command, I am getting the error mentioned above.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.