From 87eed10ac27db010683141190dfafda70e5e21ba Mon Sep 17 00:00:00 2001 From: Jun Kimura Date: Wed, 20 Nov 2024 15:36:36 +0900 Subject: [PATCH] S4: add gap storage Signed-off-by: Jun Kimura --- contracts/LCPClientBase.sol | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/contracts/LCPClientBase.sol b/contracts/LCPClientBase.sol index e9e7dd8..614d702 100644 --- a/contracts/LCPClientBase.sol +++ b/contracts/LCPClientBase.sol @@ -57,13 +57,17 @@ abstract contract LCPClientBase is ILightClient, ILCPClientErrors { // --------------------- Storage fields --------------------- + /// @dev clientId => client storage mapping(string => ClientStorage) internal clientStorages; - // rootCA's public key parameters + /// @dev RootCA's public key parameters AVRValidator.RSAParams internal verifiedRootCAParams; - // keccak256(signingCert) => RSAParams of signing public key + /// @dev keccak256(signingCert) => RSAParams of signing public key mapping(bytes32 => AVRValidator.RSAParams) internal verifiedSigningRSAParams; + /// @dev Reserved storage space to allow for layout changes in the future + uint256[50] private __gap; + // --------------------- Constructor --------------------- /// @custom:oz-upgrades-unsafe-allow constructor