Skip to content

v1.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ypatil12 ypatil12 released this 09 Apr 13:02
· 62 commits to dev since this release
f5adbca

Overview
This release represents the middleware contracts release on top of the frozen core contracts slashing release

Breaking Changes:

  • Removed the registries array that tracked all onchain registries in the RegistryCoordinator
  • The lookahead period for slashable stakes can no longer be set longer than the DEALLOCATION_DELAY in the AllocationManager.sol in the core contracts

** Additional Notes **

In this release we bumped the openzeppelin dependency to align with the core contracts.

https://github.com/OpenZeppelin/openzeppelin-contracts/tree/release-v4.7 to https://github.com/OpenZeppelin/openzeppelin-contracts/tree/release-v4.9

Between these two releases the EIP712 implementation progressed out of draft status. And had changes to it's storage layout. This contract was used in the RegistryCoordinator (legacy) and was the first contract in the inheritance order. This meant that upgrading to the openzeppelin 4.9 would have resulted in a storage layout shift for upgrading contracts. To remedy this we moved EIP712 to be the last contract in the inheritance order so that it's storage is at the end of the storage layout. This preserves the functionality and keeps the storage layout the same pre and post upgrade.

An AVS that extended the RegistryCoordinator and added storage to the end of the storage layout will also need to make sure that EIP712Upgradeable is the last contract in the inheritance order and verify that it's the last contract in the storage layout. Extra precauction is needed in verifying these storage layout changes

What's Changed since the release candidate

New Contributors

Full Changelog: v1.3.0-rc.0...v1.3.0