# \#proxies

**URL:** https://forum.openzeppelin.com/tag/proxies/5.md

[Latest](https://forum.openzeppelin.com/latest.md) · [Categories](https://forum.openzeppelin.com/categories.md) · [Tags](https://forum.openzeppelin.com/tags.md)

---

## [UUPS Upgrade Successful (event emitted) but Implementation Address Not Updating (BSC Mainnet, Hardhat)](https://forum.openzeppelin.com/t/uups-upgrade-successful-event-emitted-but-implementation-address-not-updating-bsc-mainnet-hardhat/45284)

<div class="topic-metadata">

**Author:** [@awwy](https://forum.openzeppelin.com/u/awwy)\
**Replies:** 4\
**Last updated:** [November 4, 2026, 9:16pm UTC](https://forum.openzeppelin.com/t/uups-upgrade-successful-event-emitted-but-implementation-address-not-updating-bsc-mainnet-hardhat/45284 "2026-11-04T21:16:37Z")

</div>

Hi everyone, I’m encountering an issue with my upgradeable contract on BSC mainnet using Hardhat and would appreciate any insights. Context Pattern: UUPS upgradeable contract Network: BSC Mainnet Tooling: Hardh…

---

## [ReentrancyGuardUpgradeable still relavant in upgradable contracts?](https://forum.openzeppelin.com/t/reentrancyguardupgradeable-still-relavant-in-upgradable-contracts/45062)

<div class="topic-metadata">

**Author:** [@0xAkoja](https://forum.openzeppelin.com/u/0xAkoja)\
**Replies:** 2\
**Last updated:** [January 18, 2026, 6:37pm UTC](https://forum.openzeppelin.com/t/reentrancyguardupgradeable-still-relavant-in-upgradable-contracts/45062 "2026-01-18T18:37:58Z")

</div>

:1234: Code to reproduce :laptop: Environment Hi, I noticed ReentrancyGuardUpgradeable.sol is no longer available within newer versions of OZ upgradable contracts. What is the alternative to use as a non-upgradable v…

---

## [My UUPS got hacked - how?!](https://forum.openzeppelin.com/t/my-uups-got-hacked-how/40975)

<div class="topic-metadata">

**Author:** [@ratio](https://forum.openzeppelin.com/u/ratio)\
**Replies:** 5\
**Last updated:** [November 14, 2025, 8:23am UTC](https://forum.openzeppelin.com/t/my-uups-got-hacked-how/40975 "2025-11-14T08:23:03Z")

</div>

Hi there, I have been using a UUPS pattern since over a year and never had any issues. Last Saturday morning however, my smart contract 0x7F15F01af90Fd8c1AA32264f44DB02E6bEd259aF on Polygon Mainnet appears to got hack…

---

## [How to get 'exact code' verification for OpenZeppelin UUPS proxy contracts?](https://forum.openzeppelin.com/t/how-to-get-exact-code-verification-for-openzeppelin-uups-proxy-contracts/45037)

<div class="topic-metadata">

**Author:** [@m-elkhamisy](https://forum.openzeppelin.com/u/m-elkhamisy)\
**Replies:** 1\
**Last updated:** [October 29, 2025, 5:43pm UTC](https://forum.openzeppelin.com/t/how-to-get-exact-code-verification-for-openzeppelin-uups-proxy-contracts/45037 "2025-10-29T17:43:03Z")

</div>

Is there any way to get the “exact code” tag at the proxy? I am using hardhat “2.26.0” with “hardhat-verify” "2.0.1" :1234: Code to reproduce import { HardhatUserConfig } from "hardhat/config"; import "@nomicfounda…

---

## [Introduction to the Diamond Standard, EIP-2535 Diamonds](https://forum.openzeppelin.com/t/introduction-to-the-diamond-standard-eip-2535-diamonds/12505)

<div class="topic-metadata">

**Author:** [@Nick\_Mudge](https://forum.openzeppelin.com/u/Nick_Mudge)\
**Replies:** 12\
**Last updated:** [October 11, 2025, 11:40am UTC](https://forum.openzeppelin.com/t/introduction-to-the-diamond-standard-eip-2535-diamonds/12505 "2025-10-11T11:40:06Z")

</div>

---

## [Willing to test out new features for our business asset marketplace (LayerMarket)?](https://forum.openzeppelin.com/t/willing-to-test-out-new-features-for-our-business-asset-marketplace-layermarket/41313)

<div class="topic-metadata">

**Author:** [@anotherbuilder](https://forum.openzeppelin.com/u/anotherbuilder)\
**Replies:** 1\
**Last updated:** [August 26, 2025, 10:23am UTC](https://forum.openzeppelin.com/t/willing-to-test-out-new-features-for-our-business-asset-marketplace-layermarket/41313 "2025-08-26T10:23:40Z")

</div>

Simply put, we’re building LayerMarket, an online marketplace to buy and sell business assets, such as Datasets and IP, on top of Ethereum and Layer 2 networks (Arbitrum, Base, and Optimism). We’ve made some exciting up…

---

## [ERC2771 upgrade](https://forum.openzeppelin.com/t/erc2771-upgrade/44856)

<div class="topic-metadata">

**Author:** [@Chaos](https://forum.openzeppelin.com/u/Chaos)\
**Replies:** 0\
**Last updated:** [August 21, 2025, 2:51pm UTC](https://forum.openzeppelin.com/t/erc2771-upgrade/44856 "2025-08-21T14:51:32Z")

</div>

what is the impact of using ERC2771Context in an Upgedeable contract contract A is Initializable, UUPSUpgradeable, ERC2771Context{}

---

## [The upgrade function is used repeatedly with the current version of the smart contract as an argument for the new version, but instead, a new one should be deployed](https://forum.openzeppelin.com/t/the-upgrade-function-is-used-repeatedly-with-the-current-version-of-the-smart-contract-as-an-argument-for-the-new-version-but-instead-a-new-one-should-be-deployed/44188)

<div class="topic-metadata">

**Author:** [@Gleb\_Protasov](https://forum.openzeppelin.com/u/Gleb_Protasov)\
**Replies:** 2\
**Last updated:** [August 13, 2025, 3:53pm UTC](https://forum.openzeppelin.com/t/the-upgrade-function-is-used-repeatedly-with-the-current-version-of-the-smart-contract-as-an-argument-for-the-new-version-but-instead-a-new-one-should-be-deployed/44188 "2025-08-13T15:53:31Z")

</div>

I was using a proxy, and everything was working fine, but at some point during an upgrade, the plugin started calling the upgradeTo function with the old implementation as the argument. This makes further upgrades impos…

---

## [Can't call read function on cloned UUPSUpgradeable contract](https://forum.openzeppelin.com/t/cant-call-read-function-on-cloned-uupsupgradeable-contract/44391)

<div class="topic-metadata">

**Author:** [@ninjasolution](https://forum.openzeppelin.com/u/ninjasolution)\
**Replies:** 1\
**Last updated:** [June 25, 2025, 4:40pm UTC](https://forum.openzeppelin.com/t/cant-call-read-function-on-cloned-uupsupgradeable-contract/44391 "2025-06-25T16:40:14Z")

</div>

I want to know why I can't call the getTokenId() read function on the cloned UUPSUpgradeable contract. I cloned the contract and called the initialize() function on the instance correctly. The write function createAgen…

---

## [Refactor contracts to implement Diamond Storage Pattern](https://forum.openzeppelin.com/t/refactor-contracts-to-implement-diamond-storage-pattern/44204)

<div class="topic-metadata">

**Author:** [@Alexander-Herranz](https://forum.openzeppelin.com/u/Alexander-Herranz)\
**Replies:** 3\
**Last updated:** [June 18, 2025, 5:45pm UTC](https://forum.openzeppelin.com/t/refactor-contracts-to-implement-diamond-storage-pattern/44204 "2025-06-18T17:45:35Z")

</div>

Hi everyone, We have been using OpenZeppelin libraries from the beginning, but now we are requested to implement Diamond Storage Pattern (EIP-2535) to extend standard storage limitations in Solidity. The idea sounds go…

---

## [UUPS Timed out waiting for implementation contract deployment (docker)](https://forum.openzeppelin.com/t/uups-timed-out-waiting-for-implementation-contract-deployment-docker/44243)

<div class="topic-metadata">

**Author:** [@Denis\_Yakovenko](https://forum.openzeppelin.com/u/Denis_Yakovenko)\
**Replies:** 0\
**Last updated:** [June 2, 2025, 12:49pm UTC](https://forum.openzeppelin.com/t/uups-timed-out-waiting-for-implementation-contract-deployment-docker/44243 "2025-06-02T12:49:52Z")

</div>

Hello, everyone. I'm trying to deploy an UUPS contract (in docker environment using docker-compose) and encounter the timeout error: TransactionMinedTimeout \[Error\]: Timed out waiting for implementation contract deplo…

---

## [How to change the msg.sender in upgrade plugin?](https://forum.openzeppelin.com/t/how-to-change-the-msg-sender-in-upgrade-plugin/43856)

<div class="topic-metadata">

**Author:** [@Zartaj](https://forum.openzeppelin.com/u/Zartaj)\
**Replies:** 2\
**Last updated:** [May 23, 2025, 11:11am UTC](https://forum.openzeppelin.com/t/how-to-change-the-msg-sender-in-upgrade-plugin/43856 "2025-05-23T11:11:20Z")

</div>

My implementation is UUPS compatible, with the upgrade check being: function \_authorizeUpgrade( address newImplementation ) internal override onlyRole(DEFAULT\_ADMIN\_ROLE) {} Inside my foundry test, I have t…

---

## [Looking for service to verify my beacon proxy](https://forum.openzeppelin.com/t/looking-for-service-to-verify-my-beacon-proxy/44028)

<div class="topic-metadata">

**Author:** [@atlaschiew](https://forum.openzeppelin.com/u/atlaschiew)\
**Replies:** 2\
**Last updated:** [May 8, 2025, 11:46pm UTC](https://forum.openzeppelin.com/t/looking-for-service-to-verify-my-beacon-proxy/44028 "2025-05-08T23:46:06Z")

</div>

this is derived contract address: https://bscscan.com/address/0x69dfdb3184cd66ceed10f2768abb5297745b5020, which is derived through new BeaconProxy(...) from https://bscscan.com/address/0xbf4f2e1ddf6dcddcd50bfca23ddc8b36e…

---

## [How to Estimate the Cost of Developing Secure Smart Contracts Using OpenZeppelin Libraries?](https://forum.openzeppelin.com/t/how-to-estimate-the-cost-of-developing-secure-smart-contracts-using-openzeppelin-libraries/43934)

<div class="topic-metadata">

**Author:** [@jameswood32](https://forum.openzeppelin.com/u/jameswood32)\
**Replies:** 1\
**Last updated:** [April 28, 2025, 12:35am UTC](https://forum.openzeppelin.com/t/how-to-estimate-the-cost-of-developing-secure-smart-contracts-using-openzeppelin-libraries/43934 "2025-04-28T00:35:51Z")

</div>

Hi everyone, I'm planning a decentralized app (dApp) project and intend to use OpenZeppelin libraries for smart contract development. Could anyone share advice or methods on how to accurately estimate the cost involved,…

---

## [Should I Call Empty Initializers for Indirect Parent Contracts in Upgradable Smart Contracts?](https://forum.openzeppelin.com/t/should-i-call-empty-initializers-for-indirect-parent-contracts-in-upgradable-smart-contracts/43711)

<div class="topic-metadata">

**Author:** [@prakash](https://forum.openzeppelin.com/u/prakash)\
**Replies:** 1\
**Last updated:** [April 1, 2025, 1:26am UTC](https://forum.openzeppelin.com/t/should-i-call-empty-initializers-for-indirect-parent-contracts-in-upgradable-smart-contracts/43711 "2025-04-01T01:26:01Z")

</div>

I'm working on an upgradeable smart contract using OpenZeppelin's upgradeable contracts. I follow the best practice of calling initializer functions in my contract, but I am considering an approach where: I always call…

---

## [Regarding the problem of logical contract initialization being initialized by attackers](https://forum.openzeppelin.com/t/regarding-the-problem-of-logical-contract-initialization-being-initialized-by-attackers/43651)

<div class="topic-metadata">

**Author:** [@kakui-lau](https://forum.openzeppelin.com/u/kakui-lau)\
**Replies:** 1\
**Last updated:** [March 24, 2025, 12:41am UTC](https://forum.openzeppelin.com/t/regarding-the-problem-of-logical-contract-initialization-being-initialized-by-attackers/43651 "2025-03-24T00:41:55Z")

</div>

I developed an upgradeable contract using hardhat+openzeppelin. The proxy contract that deployed the contract executed initialize normally. The owner address needs to be initialized during initialize, but the logic contr…

---

## [Need help adding a withdraw BNB function](https://forum.openzeppelin.com/t/need-help-adding-a-withdraw-bnb-function/27124)

<div class="topic-metadata">

**Author:** [@southpaw25](https://forum.openzeppelin.com/u/southpaw25)\
**Replies:** 9\
**Last updated:** [March 23, 2025, 3:25pm UTC](https://forum.openzeppelin.com/t/need-help-adding-a-withdraw-bnb-function/27124 "2025-03-23T15:25:02Z")

</div>

We have 19.6BNB stuck in our contract with no withdraw method, i have been told the only way to remove this would be to upgrade the contract to a new one. Add the external withdraw function this is possible and it will n…

---

## [The Upgrades plugin does not allow the execution of the constructor](https://forum.openzeppelin.com/t/the-upgrades-plugin-does-not-allow-the-execution-of-the-constructor/43577)

<div class="topic-metadata">

**Author:** [@tolele666](https://forum.openzeppelin.com/u/tolele666)\
**Replies:** 5\
**Last updated:** [March 18, 2025, 1:57am UTC](https://forum.openzeppelin.com/t/the-upgrades-plugin-does-not-allow-the-execution-of-the-constructor/43577 "2025-03-18T01:57:27Z")

</div>

I am aware of this warning: https://docs.openzeppelin.com/upgrades-plugins/proxies#the-constructor-caveat But I still want to define immutable variables and initialize them through the constructor. The purpose is to red…

---

## [How to set ownership for UUPS Factory deployed ERC20 tokens?](https://forum.openzeppelin.com/t/how-to-set-ownership-for-uups-factory-deployed-erc20-tokens/43509)

<div class="topic-metadata">

**Author:** [@tolele666](https://forum.openzeppelin.com/u/tolele666)\
**Replies:** 8\
**Last updated:** [March 11, 2025, 6:03am UTC](https://forum.openzeppelin.com/t/how-to-set-ownership-for-uups-factory-deployed-erc20-tokens/43509 "2025-03-11T06:03:42Z")

</div>

My project uses the UUPS upgradeable proxy mode, and the warpped ERC20 contract will be deployed through the Factory mode in the implementation contract. There will be 3 contracts: proxy.sol, imple.sol and wrapERC20.sol.…

---

## [Hybrid proxy pattern?](https://forum.openzeppelin.com/t/hybrid-proxy-pattern/43355)

<div class="topic-metadata">

**Author:** [@Ting](https://forum.openzeppelin.com/u/Ting)\
**Replies:** 3\
**Last updated:** [March 3, 2025, 2:06am UTC](https://forum.openzeppelin.com/t/hybrid-proxy-pattern/43355 "2025-03-03T02:06:34Z")

</div>

Hi, I want to try out a federated proxy setup with both UUPS and Beacon, where I want the users to have the freedom to decide if they want to upgrade or not (UUPS) and a community-wide upgrade such as a security or comm…

---

## [How can i upgrade a smart contract without mention the prev refrence?](https://forum.openzeppelin.com/t/how-can-i-upgrade-a-smart-contract-without-mention-the-prev-refrence/43406)

<div class="topic-metadata">

**Author:** [@Soheil\_Parsaei](https://forum.openzeppelin.com/u/Soheil_Parsaei)\
**Replies:** 0\
**Last updated:** [February 27, 2025, 11:51am UTC](https://forum.openzeppelin.com/t/how-can-i-upgrade-a-smart-contract-without-mention-the-prev-refrence/43406 "2025-02-27T11:51:38Z")

</div>

Hello, i want to upgrade my contract but in openzeppelin v5 i should mention the prev contract as reference in my new contract but i want to when i change my contract, just simple upgrade that and don't want to create a …

---

## [Looking for Someone to Champion the Diamond Standard for OpenZeppelin](https://forum.openzeppelin.com/t/looking-for-someone-to-champion-the-diamond-standard-for-openzeppelin/3058)

<div class="topic-metadata">

**Author:** [@Nick\_Mudge](https://forum.openzeppelin.com/u/Nick_Mudge)\
**Replies:** 11\
**Last updated:** [February 27, 2025, 3:13pm UTC](https://forum.openzeppelin.com/t/looking-for-someone-to-champion-the-diamond-standard-for-openzeppelin/3058 "2025-02-27T15:13:43Z")

</div>

I am looking for someone familiar with OpenZeppelin who would be interested in creating OpenZeppelin-based contracts and tools for the Diamond Standard and championing it forward in the OpenZeppelin ecosystem. Here is a…

---

## [Verifying TransparentUpgradeableProxy v 4.5 on Ethereum mainnet](https://forum.openzeppelin.com/t/verifying-transparentupgradeableproxy-v-4-5-on-ethereum-mainnet/27258)

<div class="topic-metadata">

**Author:** [@amr\_shaban](https://forum.openzeppelin.com/u/amr_shaban)\
**Replies:** 10\
**Last updated:** [February 18, 2025, 4:54am UTC](https://forum.openzeppelin.com/t/verifying-transparentupgradeableproxy-v-4-5-on-ethereum-mainnet/27258 "2025-02-18T04:54:56Z")

</div>

I have deployed new contract using TransparentUpgradeableProxy to mainnet and here is the address of proxy 0x6f2bF9922079F07c18Dc6184dA0A1780f047575c implementation address (verified on etherscan) 0xdd86c052fc6f1e68b…

---

## [Reinitializer() works even with \_disableInitializer() in constructor?](https://forum.openzeppelin.com/t/reinitializer-works-even-with-disableinitializer-in-constructor/43197)

<div class="topic-metadata">

**Author:** [@srikanthalva](https://forum.openzeppelin.com/u/srikanthalva)\
**Replies:** 4\
**Last updated:** [February 12, 2025, 12:04am UTC](https://forum.openzeppelin.com/t/reinitializer-works-even-with-disableinitializer-in-constructor/43197 "2025-02-12T00:04:27Z")

</div>

I have deployed an upgradable contract shown below. I recently realized that I had missed adding the \_\_ReentrancyGuard\_init(); statement to the initialize function. I had also added \_disableInitializers() to the constr…

---

## [\`upgrades.deployProxy\` hangs indefinitely on \`hh coverage\`](https://forum.openzeppelin.com/t/upgrades-deployproxy-hangs-indefinitely-on-hh-coverage/27001)

<div class="topic-metadata">

**Author:** [@dtp5](https://forum.openzeppelin.com/u/dtp5)\
**Replies:** 6\
**Last updated:** [December 26, 2024, 1:18pm UTC](https://forum.openzeppelin.com/t/upgrades-deployproxy-hangs-indefinitely-on-hh-coverage/27001 "2024-12-26T13:18:48Z")

</div>

upgrades.deployProxy works as expected on npx hardhat test (or hh test), but hangs indefinitely in my project on hh coverage until the test fails with: Error: Timed out waiting for implementation contract deployment to …

---

## [Storage collision non-upgradable child and upgr. parent](https://forum.openzeppelin.com/t/storage-collision-non-upgradable-child-and-upgr-parent/42686)

<div class="topic-metadata">

**Author:** [@matadorcro](https://forum.openzeppelin.com/u/matadorcro)\
**Replies:** 1\
**Last updated:** [December 21, 2024, 3:36am UTC](https://forum.openzeppelin.com/t/storage-collision-non-upgradable-child-and-upgr-parent/42686 "2024-12-21T03:36:32Z")

</div>

Hi, I am wondering if there is any implication in using Initializable contarct with erc7201 storage layout as parent for child contract which is not proxy. Why am I asking is because I have situation where I would like t…

---

## [Convention for Proxy specific methods](https://forum.openzeppelin.com/t/convention-for-proxy-specific-methods/42443)

<div class="topic-metadata">

**Author:** [@gnarvaja](https://forum.openzeppelin.com/u/gnarvaja)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 7:43pm UTC](https://forum.openzeppelin.com/t/convention-for-proxy-specific-methods/42443 "2024-12-05T19:43:00Z")

</div>

I'm working on a custom proxy, that inherits from ERC-1967 Proxy contract. In this custom proxy, I need to define some external methods. If the name of those methods is the same as the methods of the implementation cont…

---

## [Defender 2.0 How to skip adding to address book](https://forum.openzeppelin.com/t/defender-2-0-how-to-skip-adding-to-address-book/42358)

<div class="topic-metadata">

**Author:** [@Maikel\_Junior\_Ordaz](https://forum.openzeppelin.com/u/Maikel_Junior_Ordaz)\
**Replies:** 0\
**Last updated:** [November 29, 2024, 10:06am UTC](https://forum.openzeppelin.com/t/defender-2-0-how-to-skip-adding-to-address-book/42358 "2024-11-29T10:06:20Z")

</div>

:computer: Environment Foundry OpenZeppelin Upgrades :memo:Details I’m trying to make an upgrade of a smart contract using foundry and my approval process is via a Gnosis Safe wallet. Everything is set up and tested …

---

## [Immutable ZkEvm Testnet - Upgradeable Contract initialize not being called](https://forum.openzeppelin.com/t/immutable-zkevm-testnet-upgradeable-contract-initialize-not-being-called/42226)

<div class="topic-metadata">

**Author:** [@Bernardo\_Santos](https://forum.openzeppelin.com/u/Bernardo_Santos)\
**Replies:** 6\
**Last updated:** [November 21, 2024, 8:03am UTC](https://forum.openzeppelin.com/t/immutable-zkevm-testnet-upgradeable-contract-initialize-not-being-called/42226 "2024-11-21T08:03:18Z")

</div>

Trying to create upgradeable contracts using hardhat and OpenZeppelin Upgrades but, when calling either the deploy or upgrade script, initialize is not called (values show up as default when i check the contract in the e…

---

## [Unable to uprgade the contract via proxyAdmin](https://forum.openzeppelin.com/t/unable-to-uprgade-the-contract-via-proxyadmin/42215)

<div class="topic-metadata">

**Author:** [@nukeTK](https://forum.openzeppelin.com/u/nukeTK)\
**Replies:** 3\
**Last updated:** [November 20, 2024, 7:27pm UTC](https://forum.openzeppelin.com/t/unable-to-uprgade-the-contract-via-proxyadmin/42215 "2024-11-20T19:27:21Z")

</div>

I have deployed a contract on the Sepolia network using a transparent proxy. However, when attempting to upgrade the contract, the transaction is reverting. I would appreciate any assistance or solutions to resolve this …

[Next page](https://forum.openzeppelin.com/tag/proxies/5.md?match_all_tags=true&page=1&tags%5B%5D=proxies)
