Skip to content

fix(x/coredaos): missing MsgAnnotateProposal annotation length validation#307

Open
tbruyelle wants to merge 3 commits intomainfrom
tbruyelle/fix/coredaos-val
Open

fix(x/coredaos): missing MsgAnnotateProposal annotation length validation#307
tbruyelle wants to merge 3 commits intomainfrom
tbruyelle/fix/coredaos-val

Conversation

@tbruyelle
Copy link
Collaborator

Fix A-39

)

const (
MaxAnnotationLength = 1000
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it enough?
I know it's simpler this way, but also maybe a constant is not ideal and should be a param instead. Just thinking out loud here, thoughts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Most length limits are constants, so I did the same here. Do you think it is different for a proposal annotation ?

This reverts commit 1c4d0a9.

We don't need CL entries to fix feature that has never been released.
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