-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: Remove support for legacy plain text proposals #1668
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1668 +/- ##
=======================================
Coverage 51.56% 51.57%
=======================================
Files 95 95
Lines 5954 5953 -1
=======================================
Hits 3070 3070
+ Misses 2570 2569 -1
Partials 314 314
|
app/test/std_sdk_test.go
Outdated
expectedCode: abci.CodeTypeOK, | ||
// plain text proposals have been removed, so we expect an error. "No | ||
// handler exists for proposal type" | ||
expectedCode: uint32(9), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there no specific CodeType that can be used instead of uint32(9)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point! 976b0bb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one comment. Will approve after you get a chance to view it @evan-forbes so that this doesn't auto-merge
Overview
This PR removes legacy text proposals. While it is still possible to submit other proposals that are functionally very similar, here we are being explicit by removing the ability to handle text proposals.
part of #1593
Checklist