Hello guys .
i am using openzepellin Govenance Wizard contract & openzepellin TimelockController .
i am getting this error
execution reverted: TimelockController: underlying transaction reverted"
My function arguments are
Propose = ["ERC token addrerss"],[0],["0x00"],"hello"]
Queue = ["ERC20 token Address"],[0], ["0x00"],"hash of hello"]
Execute = ["ERC 20 token address"],[0],["0x00"],"hash of hello"]
when i call execute function i get error :
execution reverted: TimelockController: underlying transaction reverted"
can anyone help me out ? what will be the flow after it with timelockController ?
i have passed executor and propoesers role to MyGovernor & admin address
Your proposal ["ERC token addrerss"],[0],["0x00"],"hello"] is asking the timelock to send a transaction, with calldata 0x00 (not that is is not empty calldata, its exactly 1 empty byte) to the ERC token address.
This doesn't look like valid calldata.... and indeed, the timelock is telling you that sending that the token did not accept these parameters and that the transaction reverted.
Do you have any fallback function in your token contract? What are you trying to have the proposal do on the token ?
In my case was an access control poorly done. The function allowed access from DAO executor (timelock) but inside this function another function was called that did not allowed DAO executor.
I got the same issue above. Looks like the issue come from TimeLockController that cannot execute the proposal although I've proposed, voted and queued the proposal before executing it.
Can anyone help to give us you solution for resolving this?