OpenZeppelin/openzeppelin-contracts
Ver no GitHubPrevent proposals with duplicate actions from being submitted in `GovernorTimelockCompound`
Open
#6.431 aberto em 23 de mar. de 2026
good first issue
Métricas do repositório
- Stars
- (23.941 stars)
- Métricas de merge de PR
- (Mesclagem média 42d 15h) (16 fundiu PRs em 30d)
Description
It is a know issue in Compound Governance that proposal queueing will fail if it contains 2 (or more) actions that have the same target, value, and calldata. While this can be circumvented by adding extra (useless) bytes at the end of the calldata to create unicity, it is possible to create such a proposal and not realised if will never be executable after the voting ends.
We should modify the behavior of _propose in GovernorTimelockCompound to reject proposals that have duplicated actions