Skip to content
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

parameters/max_block_time: fallback to parameters only when no blocks #3591

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

tzemanovic
Copy link
Member

@tzemanovic tzemanovic commented Aug 7, 2024

Describe your changes

The value estimated from parameters might be very off when the configured epoch duration is proportionally much longer than the min number of blocks in epoch in respect to block duration from configured by timeout_commit (comet consensus config)

Indicate on which release or other PRs this topic is based on

0.41.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@tzemanovic tzemanovic requested a review from sug0 August 7, 2024 12:24
@tzemanovic
Copy link
Member Author

@mateuszjasiuk

@tzemanovic tzemanovic marked this pull request as ready for review August 7, 2024 12:27
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.54%. Comparing base (6d3fc90) to head (4f584de).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3591      +/-   ##
==========================================
- Coverage   54.55%   54.54%   -0.01%     
==========================================
  Files         323      323              
  Lines      113851   113842       -9     
==========================================
- Hits        62106    62098       -8     
+ Misses      51745    51744       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@mateuszjasiuk mateuszjasiuk left a comment

Choose a reason for hiding this comment

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

LGTM!

@Fraccaman
Copy link
Member

wanna go ahead and merge? @tzemanovic

@tzemanovic tzemanovic added the merge Ready to merge - mergifyio bot will add the PR to merge queue when all checks pass label Aug 8, 2024
mergify bot added a commit that referenced this pull request Aug 8, 2024
@mergify mergify bot merged commit 26e628a into main Aug 8, 2024
21 checks passed
@mergify mergify bot deleted the tomas/max-block-time-estimate branch August 8, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge Ready to merge - mergifyio bot will add the PR to merge queue when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants