mirror of
https://github.com/vacp2p/staking-reward-streamer.git
synced 2026-01-08 04:33:52 -05:00
refactor(TrustedCodehashAccess): rename storage gap variable
When debugging storage layouts, it's actually hard to follow where all the `__gap` fields are coming from when multiple upgradeable contracts are part of the dependency chain. This commit changes the name of `__gap` toa contract specific name, allowing for clarity when inspecting storage layouts.
This commit is contained in:
@@ -15,7 +15,8 @@ abstract contract TrustedCodehashAccess is ITrustedCodehashAccess, OwnableUpgrad
|
||||
/// @notice Whidelisted codehashes.
|
||||
mapping(bytes32 codehash => bool permission) private trustedCodehashes;
|
||||
/// @notice Gap for upgrade safety.
|
||||
uint256[10] private __gap;
|
||||
// solhint-disable-next-line
|
||||
uint256[10] private __gap_TrustedcodehashAccess;
|
||||
|
||||
/**
|
||||
* @notice Restricts access based on the codehash of the caller.
|
||||
|
||||
Reference in New Issue
Block a user