Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S4: Add gap storage to LCPClientBase contract #26

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions contracts/LCPClientBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down