You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TrustThresholdFraction as currently defined can be instantiated with an invalid numerator/denominator combination (see ibc-rs/#1149 and ibc-rs/!1157), so we could enforce validation by making it's internal fields non-public and providing a constructor that always validates.
What's the definition of "done" for this issue?
A TrustThresholdFraction should only be constructible iff all below conditions are satisfied ->
denominator != 0
numerator * 3 >= denominator
numerator < denominator
The text was updated successfully, but these errors were encountered:
The TrustThresholdFraction as currently defined can be instantiated with an invalid
numerator
/denominator
combination (see ibc-rs/#1149 and ibc-rs/!1157), so we could enforce validation by making it's internal fields non-public and providing a constructor that always validates.What's the definition of "done" for this issue?
A
TrustThresholdFraction
should only be constructible iff all below conditions are satisfied ->The text was updated successfully, but these errors were encountered: