See the test/MyGovernor.t.sol
file.
in the test case we created a proposal to grant ethers to an address to show the lifecycle of create and execute a proposal which contains these steps:
- Propose
- Cast Vote
- Queue
- Execute
in this project we are using Foundry so to clone run this command:
git clone --recurse-submodules https://github.com/hosseinnedaee/build-DAO-with-openzeppelin-governance.git