Skip to content

fix(gov): preserve SDK-only params in legacy updates and use SDK cancel defaults in v4#303

Open
Pantani wants to merge 1 commit intomainfrom
fix/convert-atom-one-params
Open

fix(gov): preserve SDK-only params in legacy updates and use SDK cancel defaults in v4#303
Pantani wants to merge 1 commit intomainfrom
fix/convert-atom-one-params

Conversation

@Pantani
Copy link
Collaborator

@Pantani Pantani commented Mar 18, 2026

Summary

This PR fixes two gov compatibility issues:

  • preserve SDK-only cancel fields when handling legacy atomone.gov.v1.MsgUpdateParams;
  • use the SDK default ProposalCancelDest in the v4 migration;

Without this fix, the backward-compatibility wrapper for legacy gov param updates could fail SDK validation, and the v4 migration would diverge from SDK default proposal-cancel behavior.

@tbruyelle
Copy link
Collaborator

Is it related to an audit finding ?

@giuliostramondo
Copy link
Collaborator

This seems to clash with #306 which was fixing A-35.

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