We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ctx.host_current_height().revision_height < ctx.host_chain_history_size()
modules
If ctx.host_current_height().revision_height < ctx.host_chain_history_size(), the following will overflow:
https://github.com/informalsystems/ibc-rs/blob/ae36bba8db5404243e28566f2a7ce2dbef1640ae/modules/src/ics03_connection/handler/verify.rs#L200-L201
This issue was found during the MBT work (#546), after initializing the MockContext with max_history_size = usize::MAX.
MockContext
max_history_size = usize::MAX
ae36bba
The text was updated successfully, but these errors were encountered:
vitorenesduarte
Successfully merging a pull request may close this issue.
Crate
modules
Summary of Bug
If
ctx.host_current_height().revision_height < ctx.host_chain_history_size()
, the following will overflow:https://github.com/informalsystems/ibc-rs/blob/ae36bba8db5404243e28566f2a7ce2dbef1640ae/modules/src/ics03_connection/handler/verify.rs#L200-L201
This issue was found during the MBT work (#546), after initializing the
MockContext
withmax_history_size = usize::MAX
.Version
ae36bba
For Admin Use
The text was updated successfully, but these errors were encountered: