Skip to content

feat: prevent proposals with duplicate actions in GovernorTimelockCom…#6488

Open
xu-nicolas wants to merge 1 commit intoOpenZeppelin:masterfrom
xu-nicolas:feat/prevent-duplicate-actions-in-proposal
Open

feat: prevent proposals with duplicate actions in GovernorTimelockCom…#6488
xu-nicolas wants to merge 1 commit intoOpenZeppelin:masterfrom
xu-nicolas:feat/prevent-duplicate-actions-in-proposal

Conversation

@xu-nicolas
Copy link
Copy Markdown

…pound

Reject proposals at creation time if they contain two or more actions with the same target, value, and calldata. This avoids the scenario where a proposal appears to succeed in voting but can never be executed because the Compound Timelock enforces uniqueness of queued transactions.

Closes #6431

Fixes #????

PR Checklist

  • Tests
  • Documentation
  • Changeset entry (run npx changeset add)

…pound

Reject proposals at creation time if they contain two or more actions
with the same target, value, and calldata. This avoids the scenario
where a proposal appears to succeed in voting but can never be executed
because the Compound Timelock enforces uniqueness of queued transactions.

Closes OpenZeppelin#6431
@xu-nicolas xu-nicolas requested a review from a team as a code owner April 26, 2026 01:09
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 26, 2026

⚠️ No Changeset found

Latest commit: 77a471a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prevent proposals with duplicate actions from being submitted in GovernorTimelockCompound

1 participant