@@ -48,21 +48,27 @@ abstract contract LCPClientBase is ILightClient, ILCPClientErrors {
4848
4949 // --------------------- Immutable fields ---------------------
5050
51+ /// @dev ibcHandler is the address of the IBC handler contract.
52+ /// @custom:oz-upgrades-unsafe-allow state-variable-immutable
5153 address internal immutable ibcHandler;
52- // if developmentMode is true, the client allows the remote attestation of IAS in development.
54+ /// @dev if developmentMode is true, the client allows the remote attestation of IAS in development.
55+ /// @custom:oz-upgrades-unsafe-allow state-variable-immutable
5356 bool internal immutable developmentMode;
5457
5558 // --------------------- Storage fields ---------------------
5659
5760 mapping (string => ClientStorage) internal clientStorages;
5861
5962 // rootCA's public key parameters
60- AVRValidator.RSAParams public verifiedRootCAParams;
63+ AVRValidator.RSAParams internal verifiedRootCAParams;
6164 // keccak256(signingCert) => RSAParams of signing public key
62- mapping (bytes32 => AVRValidator.RSAParams) public verifiedSigningRSAParams;
65+ mapping (bytes32 => AVRValidator.RSAParams) internal verifiedSigningRSAParams;
6366
6467 // --------------------- Constructor ---------------------
6568
69+ /// @custom:oz-upgrades-unsafe-allow constructor
70+ /// @param ibcHandler_ the address of the IBC handler contract
71+ /// @param developmentMode_ if true, the client allows the enclave debug mode
6672 constructor (address ibcHandler_ , bool developmentMode_ ) {
6773 ibcHandler = ibcHandler_;
6874 developmentMode = developmentMode_;
@@ -77,7 +83,7 @@ abstract contract LCPClientBase is ILightClient, ILCPClientErrors {
7783
7884 // --------------------- Public methods ---------------------
7985
80- /// @dev isDevelopmentMode returns true if the client allows the remote attestation of IAS in development .
86+ /// @dev isDevelopmentMode returns true if the client allows the enclave debug mode .
8187 function isDevelopmentMode () public view returns (bool ) {
8288 return developmentMode;
8389 }
0 commit comments