Skip to content

Commit 421a81c

Browse files
authored
fix: storage layout regression (#446)
**Motivation:** regression in the src / rc storage layouts **Modifications:** Re-order the inheritance to preserve the storage layout from the v0.5.4 rewards release **Result:** Consistent storage layout between releases
1 parent d12501e commit 421a81c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/RegistryCoordinator.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {RegistryCoordinatorStorage} from "./RegistryCoordinatorStorage.sol";
3434
*
3535
* @author Layr Labs, Inc.
3636
*/
37-
contract RegistryCoordinator is RegistryCoordinatorStorage, SlashingRegistryCoordinator {
37+
contract RegistryCoordinator is SlashingRegistryCoordinator, RegistryCoordinatorStorage {
3838
using BitmapUtils for *;
3939

4040
constructor(

src/SlashingRegistryCoordinator.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ import {SlashingRegistryCoordinatorStorage} from "./SlashingRegistryCoordinatorS
4444
* @author Layr Labs, Inc.
4545
*/
4646
contract SlashingRegistryCoordinator is
47-
SlashingRegistryCoordinatorStorage,
4847
Initializable,
4948
SemVerMixin,
5049
Pausable,
5150
OwnableUpgradeable,
51+
SlashingRegistryCoordinatorStorage,
5252
EIP712Upgradeable,
5353
ISignatureUtilsMixin
5454
{

0 commit comments

Comments
 (0)