Add GovernorSequentialProposalId extension for sequential numbers on proposals (#5290)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
Arr00
2024-12-19 05:19:06 -05:00
committed by GitHub
parent 3b240d7e6a
commit 03e06bf08c
10 changed files with 405 additions and 48 deletions

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---
`GovernorSequentialProposalId`: Adds a `Governor` extension that sequentially numbers proposal ids instead of using the hash.

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---
`IGovernor`: Add the `getProposalId` function to the governor interface.