Skip to content

Commit

Permalink
Update ERC-7201 location for Initializable (#4554)
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio authored Aug 31, 2023
1 parent 3266bca commit 8a0b7be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/proxy/utils/Initializable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ abstract contract Initializable {
bool _initializing;
}

// keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1))
bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0e;
// keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;

/**
* @dev The contract is already initialized.
Expand Down

0 comments on commit 8a0b7be

Please sign in to comment.