# How upgrade works with abstract contract?

**URL:** <https://forum.openzeppelin.com/t/how-upgrade-works-with-abstract-contract/39659>\
**Category:** Upgrades\
**Created:** [February 25, 2024, 1:30pm UTC](https://forum.openzeppelin.com/t/how-upgrade-works-with-abstract-contract/39659 "2024-02-25T13:30:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abinash\_Burman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abinash_burman/32/18207_2.png) [@Abinash\_Burman](https://forum.openzeppelin.com/u/Abinash_Burman)\
**Post date:** [February 25, 2024, 1:30pm UTC](https://forum.openzeppelin.com/t/how-upgrade-works-with-abstract-contract/39659/1 "2024-02-25T13:30:06Z")

</div>

Question 1: Suppose ContractA does not use initialize() function, but it inherits from Initializable and used `_disableInitializer()` in its constructor. Is it still considered as upgradable contract??

Question 2: If the ContractB is an abstract contract with features mentioned in question 1, how those features will affect the ContractB?? Can we upgrade an abstract contract?? If we can upgrade then if this abstract contract does not implement storage gap so will it cause any issue to other inherited contracts??

---

<div class="post-metadata">

**Author:** ![barakman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/barakman/32/855_2.png) [@barakman](https://forum.openzeppelin.com/u/barakman)\
**Post date:** [February 25, 2024, 2:51pm UTC](https://forum.openzeppelin.com/t/how-upgrade-works-with-abstract-contract/39659/2 "2024-02-25T14:51:02Z")

</div>

> [@Abinash\_Burman](#):
>
> Can we upgrade an abstract contract??

You can't even deploy an abstract contract, let alone upgrade one!
