Hey,
I have been testing my Governor with timelock and ERC20 token to transfer native coins but facing issues while executing.
I want to transfer funds from account 0 to account 3
web3.eth.sendTransaction({from:accounts[0],to:accounts[3],value:10000000})
and im passing proposal as-
await instance.propose([accounts[0]], [10000000], [0x00], "Transfer funds", { from: accounts[2] });
Error:
VM Exception while processing transaction: revert -- Reason given: TimelockController: underlying transaction reverted.
error at line-
await instance.execute([accounts[0]], [10000000], [0x00], descriptionHash, { from: accounts[2] });
Technologies used- Truffle, Ganache.