MyGit

v4.8.0-rc.1

OpenZeppelin/openzeppelin-contracts

版本发布时间: 2022-09-24 02:53:46

OpenZeppelin/openzeppelin-contracts最新发布版本:v5.0.2(2024-03-01 01:14:42)

This prerelease is now available for open review! Try it out, look at the code, and share your feedback.

In addition to all the changes in 4.8.0-rc.0, this new release candidate improves the timelock configuration process and updates part of the documentation.

Breaking changes TimelockController: During deployment, the TimelockController used to grant the TIMELOCK_ADMIN_ROLE to the deployer and to the timelock itself. The deployer was then expected to renounce this role once configuration of the timelock is over. Failing to renounce that role allows the deployer to change the timelock permissions (but not to bypass the delay for any time-locked actions). The role is no longer given to the deployer by default. A new parameter admin can be set to a non-zero address to grant the admin role during construction (to the deployer or any other address). Just like previously, this admin role should be renounced after configuration. If this param is given address(0), the role is not allocated and doesn't need to be revoked. In any case, the timelock itself continues to have this role.

See the changelog for all the release details.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-09-24发行的版本