-
Notifications
You must be signed in to change notification settings - Fork 956
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
Remove max block time param #3366
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3366 +/- ##
==========================================
+ Coverage 53.92% 54.01% +0.09%
==========================================
Files 317 317
Lines 107575 107839 +264
==========================================
+ Hits 58011 58254 +243
- Misses 49564 49585 +21 ☔ View full report in Codecov by Sentry. |
I tried IBC e2e tests with the updated Hermes and IBC shielding transfer failed due to |
fc02f3c
to
da17c33
Compare
let block_timestamps = { | ||
let mut ts = Vec::with_capacity( | ||
usize::try_from({ | ||
// NB: cap the allocation to 16 |
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.
nit: let's note this cap in the rustdoc for this fn and estimate_max_block_time_from_blocks_and_params
The IBC E2E tests in CI failed when creating channels. I'm investigating it... |
hmm, flaky tests... These tests didn't fail locally. After some retries, they passed. |
@yito88 I suppose it's a matter of decreasing the max block time, to increase the amount of delta blocks in the masp tx expiration |
Is this ready for draft now? |
* tiago/remove-max-block-time-param: update Hermes Changelog for #3366 Add additional test coverage for max expected block times Import `namada_storage` with `testing` feat Avoid estimating block time of zero Test max block time estimates Insert mock block headers into test storage Split out `estimate_max_block_time_from_parameters` Remove max expected block time param Retrieve max block time estimate from new rpc method in masp Add max block duration estimate rpc method Read epochs per year param Implement date time subtraction Add block header Namada rpc handler
7ed0ef6
to
2b6d0eb
Compare
still messing around with timeout values to avoid flakes in ci |
2b6d0eb
to
df9c095
Compare
df9c095
to
48f58aa
Compare
@brentstone I think this is less flakey now. should be ok to merge |
* tiago/remove-max-block-time-param: Changelog for #3366 Adjust IBC timeout values Clue IBC max block time estimate from Namada params Decrease max block time estimate to 1m update Hermes Add additional test coverage for max expected block times Import `namada_storage` with `testing` feat Avoid estimating block time of zero Test max block time estimates Insert mock block headers into test storage Split out `estimate_max_block_time_from_parameters` Remove max expected block time param Retrieve max block time estimate from new rpc method in masp Add max block duration estimate rpc method Read epochs per year param Implement date time subtraction Add block header Namada rpc handler
Describe your changes
Remove the
max_expected_time_per_block
genesis parameter.Indicate on which release or other PRs this topic is based on
v0.39.0
Checklist before merging to
draft