-
Notifications
You must be signed in to change notification settings - Fork 81
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
rpc: subscription filters validity check #3258
Conversation
d5f4325
to
04c5f2c
Compare
04c5f2c
to
3840e50
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.
Please, remove "TODO" from the PR description.
3840e50
to
e12d38f
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3258 +/- ##
==========================================
+ Coverage 85.21% 85.25% +0.04%
==========================================
Files 327 327
Lines 44248 44267 +19
==========================================
+ Hits 37705 37740 +35
+ Misses 5047 5033 -14
+ Partials 1496 1494 -2 ☔ View full report in Codecov by Sentry. |
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.
Please, adjust the PR description, PR includes not only int -> byte
filter field change.
e12d38f
to
50e55c4
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.
Otherwise LGTM.
c0c05d1
to
3e3bd5f
Compare
3e3bd5f
to
b5b9af5
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.
After all changes ensure that the Linter job passes.
b5b9af5
to
818f778
Compare
BlockFilter has PrinaryIndex of int type while block.Block structure itself has PrimaryIndex of byte. It's needed to prevent changing filters field type and all associated subscriptions logic on server side. Refs #3241. Signed-off-by: Ekaterina Pavlova <[email protected]>
818f778
to
1b7c76a
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.
Otherwise LGTM.
1b7c76a
to
802006b
Compare
Additional check of filters parameters added for filter validation. Closes #3241. Signed-off-by: Ekaterina Pavlova <[email protected]>
802006b
to
cc06674
Compare
Change BlockFilter Primary field from int to byte. Additional check of filters parameters added for filter validation.
Closes: #3241