-
Notifications
You must be signed in to change notification settings - Fork 8
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
getPausedRegions does not return the region with the highest pausable indext #949
Comments
@zajck, you are right.
|
@neverm25 , yes that's the solution. We haven't fixed this in Boson Contracts yet, since it's such a low-priority issue, but we'll do it as soon as we develop some other new features and schedule the next upgrade. |
Sounds interesting. |
@zajck can I create a PR for your issues? |
@neverm25 sure, go ahead. Also, when you start working on an open issue it helps us if you assign it to yourself and notify us by commenting on it. Regarding Fermion, it will become public soon (probably in about a month), but we might give you early access since we always welcome new contributors. I'll let you know once we align on it internally. |
@zajck thanks for your support. |
boson-protocol-contracts/contracts/protocol/facets/PauseHandlerFacet.sol
Lines 70 to 107 in 4191e9f
The following line is not the total number of regions, but the maximum pausable region index. The region count is 1 higher.
boson-protocol-contracts/contracts/protocol/facets/PauseHandlerFacet.sol
Line 73 in 4191e9f
The loops below do not reach the latest element and never report if the last region is paused.
This does not affect the pausing functionality otherwise.
The text was updated successfully, but these errors were encountered: