Submitted by hake
https://github.com/Plex-Engineer/lending-market/blob/755424c1f9ab3f9f0408443e6606f94e4f08a990/contracts/Governance/GovernorBravoDelegate.sol#L115
state() function cannot view the state from any proposal except for the latest one.
Currently proposalCount needs to be bigger or equal to proposalId.
Assuming proposalId is incremented linearly in conjunction with proposalCount, this implies only the most recent proposalId will pass the require() check above. All other proposals will not be able to have their states checked via this function.
Change above function to proposalCount <= proposalId (assuming proposalId is set linearly, which currently is not enforced by code).
nivasan1 (Canto) confirmed
Alex the Entreprenerd (judge) commented:
