@@ -26,7 +26,7 @@ contract TimelockController is AccessControl, ERC721Holder, ERC1155Holder {
2626 bytes32 public constant PROPOSER_ROLE = keccak256 ("PROPOSER_ROLE " );
2727 bytes32 public constant EXECUTOR_ROLE = keccak256 ("EXECUTOR_ROLE " );
2828 bytes32 public constant CANCELLER_ROLE = keccak256 ("CANCELLER_ROLE " );
29- uint256 internal constant _DONE_TIMESTAMP = uint256 (1 );
29+ uint256 internal constant DONE_TIMESTAMP = uint256 (1 );
3030
3131 mapping (bytes32 id = > uint256 ) private _timestamps;
3232 uint256 private _minDelay;
@@ -207,7 +207,7 @@ contract TimelockController is AccessControl, ERC721Holder, ERC1155Holder {
207207 uint256 timestamp = getTimestamp (id);
208208 if (timestamp == 0 ) {
209209 return OperationState.Unset;
210- } else if (timestamp == _DONE_TIMESTAMP ) {
210+ } else if (timestamp == DONE_TIMESTAMP ) {
211211 return OperationState.Done;
212212 } else if (timestamp > block .timestamp ) {
213213 return OperationState.Waiting;
@@ -432,7 +432,7 @@ contract TimelockController is AccessControl, ERC721Holder, ERC1155Holder {
432432 if (! isOperationReady (id)) {
433433 revert TimelockUnexpectedOperationState (id, _encodeStateBitmap (OperationState.Ready));
434434 }
435- _timestamps[id] = _DONE_TIMESTAMP ;
435+ _timestamps[id] = DONE_TIMESTAMP ;
436436 }
437437
438438 /**
@@ -445,7 +445,7 @@ contract TimelockController is AccessControl, ERC721Holder, ERC1155Holder {
445445 * - the caller must be the timelock itself. This can only be achieved by scheduling and later executing
446446 * an operation where the timelock is the target and the data is the ABI-encoded call to this function.
447447 */
448- function updateDelay (uint256 newDelay ) external virtual {
448+ function updateDelay (uint256 newDelay ) public virtual {
449449 address sender = _msgSender ();
450450 if (sender != address (this )) {
451451 revert TimelockUnauthorizedCaller (sender);
0 commit comments