Skip to content

refactor(gov): move oversight-DAO bundling check from the ante to a coredaos gov hook - #354

Merged
giunatale merged 3 commits into
mainfrom
giunatale/submit-proposal-authz-msgexec
Jun 30, 2026
Merged

refactor(gov): move oversight-DAO bundling check from the ante to a coredaos gov hook#354
giunatale merged 3 commits into
mainfrom
giunatale/submit-proposal-authz-msgexec

Conversation

@giunatale

Copy link
Copy Markdown
Collaborator

Now that the atomone-sdk rejects self-executing authz.MsgExec proposals at submission (atomone-hub/atomone-sdk#106), the AtomOne-side logic that existed to catch MsgExec-wrapped governance abuse is redundant. This PR consolidates the AtomOne-side proposal-submission checks accordingly:

  • moves the oversight-DAO bundling prevention out of the ante and into a coredaos gov AfterProposalSubmission hook
  • deletes the GovSubmitProposalDecorator ante
  • drops the dead MsgExec-flattening helper that only existed to see through wrapped proposal messages

@giunatale
giunatale merged commit d6828b7 into main Jun 30, 2026
14 checks passed
@giunatale
giunatale deleted the giunatale/submit-proposal-authz-msgexec branch June 30, 2026 08:38
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.

3 participants