Skip to content

Commit 42dccf5

Browse files
authored
fix: keep storage layout the same (#439)
**Motivation:** Needs to be maintained for storage layout compatibility for the RegistryCoordinator **Modifications:** Add back the registries array as a place holder for the slot it used to take up **Result:** Storage layout will be compatible with prior version
1 parent 36ac8ec commit 42dccf5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/SlashingRegistryCoordinatorStorage.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ abstract contract SlashingRegistryCoordinatorStorage is ISlashingRegistryCoordin
7373
/// @notice mapping from quorum number to the latest block that all quorums were updated all at once
7474
mapping(uint8 => uint256) public quorumUpdateBlockNumber;
7575

76+
/// @notice the dynamic-length array of the registries this coordinator is coordinating
77+
/// @dev DEPRECATED: This slot is no longer used but kept for storage layout compatibility
78+
address[] private registries;
7679
/// @notice the address of the entity allowed to sign off on operators getting kicked out of the AVS during registration
7780
address public churnApprover;
7881
/// @notice the address of the entity allowed to eject operators from the AVS

0 commit comments

Comments
 (0)