Skip to content

Commit

Permalink
Update script/libraries/LibInitializeGuard.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
TuDo1403 authored Aug 13, 2024
1 parent bb5463c commit 17310d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/libraries/LibInitializeGuard.sol
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ library LibInitializeGuard {

if ($cache._lastInitVer[proxy] != 0) {
// assume given proxy use `Initializable` from OpenZeppelin v5
// ToDo(TuDo1403): switch to `forkId` if working multichain
bytes32 slotValue = vm.load(proxy, INITIALIZABLE_STORAGE_OZV5);
if (slotValue != 0) {
initSlot.found = true;
Expand Down

0 comments on commit 17310d9

Please sign in to comment.