Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

increase_*_counter methods should return error in case of overflow #857

Closed
Tracked by #861
Farhad-Shabani opened this issue Sep 5, 2023 · 0 comments · Fixed by #858
Closed
Tracked by #861

increase_*_counter methods should return error in case of overflow #857

Farhad-Shabani opened this issue Sep 5, 2023 · 0 comments · Fixed by #858
Assignees
Labels
A: breaking Admin: breaking change that may impact operators
Milestone

Comments

@Farhad-Shabani
Copy link
Member

Summary

In order to allow hosts implementing ExecutionContext to handle overflow cases for increase_*_counter methods, they should return the Result<(),ContextError> type.

@Farhad-Shabani Farhad-Shabani added the A: breaking Admin: breaking change that may impact operators label Sep 5, 2023
@github-project-automation github-project-automation bot moved this to 📥 To Do in ibc-rs Sep 5, 2023
@Farhad-Shabani Farhad-Shabani changed the title The increase_*_counter methods should return an error in case of overflow increase_*_counter methods should return error in case of overflow Sep 5, 2023
@github-project-automation github-project-automation bot moved this from 📥 To Do to ✅ Done in ibc-rs Sep 5, 2023
@Farhad-Shabani Farhad-Shabani self-assigned this Sep 7, 2023
@Farhad-Shabani Farhad-Shabani added this to the v0.45.0 milestone Sep 7, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A: breaking Admin: breaking change that may impact operators
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant