-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fix upper bound in cursor and remove in topper batch #1180
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1180 +/- ##
==========================================
- Coverage 27.84% 27.81% -0.03%
==========================================
Files 553 553
Lines 19454 19473 +19
Branches 10069 10085 +16
==========================================
Hits 5417 5417
- Misses 9211 9215 +4
- Partials 4826 4841 +15
Continue to review full report at Codecov.
|
@@ -25,7 +25,9 @@ namespace kagome::authorship { | |||
outcome::result<std::unique_ptr<BlockBuilder>> BlockBuilderFactoryImpl::make( | |||
const kagome::primitives::BlockInfo &parent, | |||
primitives::Digest inherent_digest) const { | |||
#ifndef BOOST_ASSERT_IS_VOID |
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.
What is it?
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.
It is defined when BOOST_ASSERT is compiled to noop.
@@ -212,7 +207,7 @@ namespace kagome::host_api { | |||
if (limit_opt) { | |||
SL_TRACE_VOID_FUNC_CALL(logger_, prefix, limit_opt.value()); | |||
} else { | |||
SL_TRACE_VOID_FUNC_CALL(logger_, prefix, std::string_view{"none"}); | |||
SL_TRACE_VOID_FUNC_CALL(logger_, prefix, std::string_view {"none"}); |
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.
the file missing autoformat
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.
looks legit
Referenced issues
related to #942
Description of the Change
Benefits
It works.
Possible Drawbacks
No funny debugging anymore.
Usage Examples or Tests
Provided in the code.