Skip to content

Commit

Permalink
Update UUPSUpgradeable.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx authored Jun 16, 2023
1 parent 5e4982d commit 98bede1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/proxy/utils/UUPSUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ abstract contract UUPSUpgradeable is IERC1822Proxiable {
if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {
revert UUPSUnsupportedProxiableUUID(slot);
}
ERC1967Utils.upgradeToAndCall(newImplementation, data, forceCall);
} catch {
// The implementation is not UUPS
revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);
}
ERC1967Utils.upgradeToAndCall(newImplementation, data, forceCall);
}
}

0 comments on commit 98bede1

Please sign in to comment.