-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
R4R: Limit total number of signatures per transaction #2800
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2800 +/- ##
===========================================
+ Coverage 56.65% 56.75% +0.09%
===========================================
Files 131 131
Lines 8539 8554 +15
===========================================
+ Hits 4838 4855 +17
+ Misses 3368 3366 -2
Partials 333 333 |
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.
@alessio, so far so good! I just the language txSigLimit
is a bit a cleaner is all. Might wanna update that?
bbcad54
to
fd99353
Compare
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.
See comments.
0daf8e8
to
6e6a029
Compare
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.
Code changes & testcases look good to me.
- Needs
PENDING.md
entry - Can we add a note on the signature limit to the ante handler docs (or the baseapp docs)?
@cwgoes done, thanks |
This reverts commit 53e555e011de98914c56c639618f30748ca79a63.
4d80c70
to
c7c434c
Compare
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.
Tested ACK, this should see an additional review.
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. Although we should note this somewhere. Perhaps in the BaseApp doc.
@@ -103,6 +104,8 @@ func CodeToDefaultMsg(code CodeType) string { | |||
return "memo too large" | |||
case CodeInsufficientFee: | |||
return "insufficient fee" | |||
case CodeTooManySignatures: | |||
return "maximum numer of signatures exceeded" |
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.
numer -> number
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.
Argh! Noted, will fix in another PR. Thanks
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.
Don't we have misspell in CI?
closes: #2019
docs/
)PENDING.md
with issue #Files changed
in the github PR explorerFor Admin Use: