Skip to content

Conversation

@julienrbrt
Copy link
Collaborator

Description

Helps atomone-hub/atomone#248

This effectively loosen the checks, as any message implementing this interface will get this proposal kind.
This is on us to verify that none of our dependency adds a message with this flags (a non malicious dependency would have no reason to do that). I think the risk is acceptable. It makes the code on the atomone-hub/atomone#248 PR nicer (no need again another extra wrapper)

julienrbrt added a commit to atomone-hub/atomone that referenced this pull request Dec 10, 2025
for _, msg := range p.Messages {
var sdkMsg sdk.Msg
if err := keeper.cdc.UnpackAny(msg, &sdkMsg); err == nil {

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe you could run make lint-fix

@julienrbrt julienrbrt merged commit 986998e into release/v0.50.x Dec 11, 2025
21 checks passed
@tbruyelle
Copy link
Collaborator

Interesting fix, well done!

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