v1.3.0-rc.0
Pre-releaseBreaking 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
- Store G2 onchain by @RonTuretzky in #410
- test: add setClaimerFor unit tests for
ServiceManagerBase
by @tsnewnami in #413 - test: add coverage for
getQuorumUpdateAtIndex
onIndexRegistry
by @tsnewnami in #412 - test: increase
StakeRegistry
test coverage by @tsnewnami in #414 - docs: revamp
avs-guide
by @tsnewnami in #416 - docs: update
RegistryCoordinator
and addSlashingRegistryCoordinator
by @tsnewnami in #420 - docs: add
EjectionManager.md
by @tsnewnami in #422 - docs: add docs for slasher contracts by @tsnewnami in #423
- docs: update docs for registry contracts by @tsnewnami in #417
- docs: update
ServiceManagerBase
by @tsnewnami in #424 - docs: add
OperatorStateRetriever
by @tsnewnami in #421 - docs: update main docs readme by @tsnewnami in #425
- chore: bump openzeppelin 4.9.0 by @stevennevins in #427
- chore: update to use relative imports by @stevennevins in #430
- test: slashing registry coordinator unit tests by @stevennevins in #419
- test: bound input for intense runs by @stevennevins in #429
- test: e2e migration test by @tsnewnami in #435
- chore: remove code size diff from ci by @stevennevins in #437
- chore: bump v1.3.0 slashing core by @stevennevins in #431
- fix: resolve inheritance order and storage layout for upgraded rc by @stevennevins in #433
- test: partial and full test cases with stake updates by @stevennevins in #438
- fix: keep storage layout the same by @stevennevins in #439
New Contributors
- @tsnewnami made their first contribution in #413
Full Changelog: v1.1.1-testnet-slashing...v1.3.0-rc.0