Skip to content

Commit 5c83562

Browse files
committed
fix: add storage gap to upgradeable contract (TRST-R04)
Signed-off-by: Tomás Migone <[email protected]>
1 parent 872a341 commit 5c83562

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/horizon/contracts/data-service/extensions/DataServiceFeesStorage.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ abstract contract DataServiceFeesV1Storage {
1818
mapping(address serviceProvider => LinkedList.List list) public claimsLists;
1919

2020
/// @dev Gap to allow adding variables in future upgrades
21+
/// Note that this contract is not upgradeable but might be inherited by an upgradeable contract
2122
uint256[50] private __gap;
2223
}

packages/horizon/contracts/data-service/extensions/DataServicePausableUpgradeable.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ abstract contract DataServicePausableUpgradeable is PausableUpgradeable, DataSer
1515
/// @notice List of pause guardians and their allowed status
1616
mapping(address pauseGuardian => bool allowed) public pauseGuardians;
1717

18+
/// @dev Gap to allow adding variables in future upgrades
19+
uint256[50] private __gap;
20+
1821
/**
1922
* @notice Checks if the caller is a pause guardian.
2023
*/

0 commit comments

Comments
 (0)