Skip to content

fix(gov): preserve SDK-only cancel fields in legacy param updates#303

Closed
Pantani wants to merge 3 commits intomainfrom
fix/convert-atom-one-params
Closed

fix(gov): preserve SDK-only cancel fields in legacy param updates#303
Pantani wants to merge 3 commits intomainfrom
fix/convert-atom-one-params

Conversation

@Pantani
Copy link
Copy Markdown
Contributor

@Pantani Pantani commented Mar 18, 2026

Summary

This PR preserves the SDK-only ProposalCancelRatio and ProposalCancelDest fields when converting and handling legacy atomone.gov.v1.MsgUpdateParams, so legacy param updates stay valid without overlapping with the app/upgrades/v4 change now covered by #306.

@tbruyelle
Copy link
Copy Markdown
Collaborator

Is it related to an audit finding ?

@giuliostramondo
Copy link
Copy Markdown
Collaborator

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

@Pantani
Copy link
Copy Markdown
Contributor Author

Pantani commented Mar 19, 2026

Is it related to an audit finding ?

This is a follow-up fix for issues found while reviewing PR #300

@Pantani
Copy link
Copy Markdown
Contributor Author

Pantani commented Mar 19, 2026

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

Should I close this one?

@tbruyelle
Copy link
Copy Markdown
Collaborator

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

Should I close this one?

Yes please @Pantani

@Pantani Pantani changed the title fix(gov): preserve SDK-only params in legacy updates and use SDK cancel defaults in v4 fix(gov): preserve SDK-only cancel fields in legacy param updates Mar 25, 2026
@Pantani
Copy link
Copy Markdown
Contributor Author

Pantani commented Mar 25, 2026

Yes please @Pantani

@tbruyelle, I made a change, this PR is now scoped solely to the government compatibility fix.

@tbruyelle
Copy link
Copy Markdown
Collaborator

@Pantani Have you seen atomone-hub/cosmos-sdk#85 ? Does that make this PR irrelevant ?

@giunatale
Copy link
Copy Markdown
Collaborator

Basically yes

@Pantani Pantani closed this Mar 31, 2026
@Pantani Pantani deleted the fix/convert-atom-one-params branch March 31, 2026 20:31
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.

4 participants