File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -676,7 +676,7 @@ It is no longer possible to call an `initializer`-protected function from within
676
676
This release includes two small breaking changes in ` TimelockController ` .
677
677
678
678
1 . The ` onlyRole ` modifier in this contract was designed to let anyone through if the role was granted to ` address(0) ` ,
679
- allowing the possibility to to make a role "open", which can be used for ` EXECUTOR_ROLE ` . This modifier is now
679
+ allowing the possibility to make a role "open", which can be used for ` EXECUTOR_ROLE ` . This modifier is now
680
680
replaced by ` AccessControl.onlyRole ` , which does not have this ability. The previous behavior was moved to the
681
681
modifier ` TimelockController.onlyRoleOrOpenRole ` .
682
682
2 . It was possible to make ` PROPOSER_ROLE ` an open role (as described in the previous item) if it was granted to
Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ library Math {
440
440
441
441
// We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).
442
442
//
443
- // We can refine our estimation by noticing that the the middle of that interval minimizes the error.
443
+ // We can refine our estimation by noticing that the middle of that interval minimizes the error.
444
444
// If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).
445
445
// This is going to be our x_0 (and ε_0)
446
446
xn = (3 * xn) >> 1 ; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)
You can’t perform that action at this time.
0 commit comments