Is DEFAULT_ADMIN_ROLE still admin role for TIMELOCK_ADMIN_ROLE?

Hi There,

In TimelockController.sol there is this code:

_setRoleAdmin(TIMELOCK_ADMIN_ROLE, TIMELOCK_ADMIN_ROLE)

Now, can we revoke the role of TIMELOCK_ADMIN_ROLE by the EOA with role of DEFAULT_ADMIN_ROLE as _setRoleAdmin(TIMELOCK_ADMIN_ROLE, TIMELOCK_ADMIN_ROLE)
changes the admin of TIMELOCK_ADMIN_ROLE?

Thanks

The answer is no, once the constructor runs this line:

_setRoleAdmin(TIMELOCK_ADMIN_ROLE, TIMELOCK_ADMIN_ROLE)

only an account with the TIMELOCK_ADMIN_ROLE role can revoke or grant that role. Once it runs, DEFAULT_ADMIN_ROLE has no admin privileges over it.