# Support

**URL:** https://forum.openzeppelin.com/c/support/17.md

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

---

## [OZ Smart Account Builder on Stellar](https://forum.openzeppelin.com/t/oz-smart-account-builder-on-stellar/45403)

<div class="topic-metadata">

**Author:** [@PoulavBhowmick03](https://forum.openzeppelin.com/u/PoulavBhowmick03)\
**Replies:** 0\
**Last updated:** [June 26, 2026, 5:36am UTC](https://forum.openzeppelin.com/t/oz-smart-account-builder-on-stellar/45403 "2026-06-26T05:36:31Z")

</div>

Hello. My team and I are building a policy builder on top of OZ Smart Accounts on Stellar, and while researching we hit a couple of things I wanted to check with you. We were looking at whether spending\_limit could cons…

---

## [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:** 3\
**Last updated:** [April 9, 2026, 3:23pm UTC](https://forum.openzeppelin.com/t/uups-upgrade-successful-event-emitted-but-implementation-address-not-updating-bsc-mainnet-hardhat/45284 "2026-04-09T15:23:20Z")

</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…

---

## [\[Defender Sunset\] No migration path for CREATE2 deterministic deployments via hardhat-upgrades](https://forum.openzeppelin.com/t/defender-sunset-no-migration-path-for-create2-deterministic-deployments-via-hardhat-upgrades/45272)

<div class="topic-metadata">

**Author:** [@Santiago\_Hoyos](https://forum.openzeppelin.com/u/Santiago_Hoyos)\
**Replies:** 0\
**Last updated:** [March 18, 2026, 9:47pm UTC](https://forum.openzeppelin.com/t/defender-sunset-no-migration-path-for-create2-deterministic-deployments-via-hardhat-upgrades/45272 "2026-03-18T21:47:24Z")

</div>

\[Defender Sunset\] No migration path for CREATE2 deterministic deployments via hardhat-upgrades Summary Defender sunsets July 1, 2026. The official migration guide covers only Monitor and Relayer there is no migration gui…

---

## [Initial alpha release of Hardhat Upgrades plugin for Hardhat v3](https://forum.openzeppelin.com/t/initial-alpha-release-of-hardhat-upgrades-plugin-for-hardhat-v3/45248)

<div class="topic-metadata">

**Author:** [@ericglau](https://forum.openzeppelin.com/u/ericglau)\
**Replies:** 0\
**Last updated:** [March 2, 2026, 10:50pm UTC](https://forum.openzeppelin.com/t/initial-alpha-release-of-hardhat-upgrades-plugin-for-hardhat-v3/45248 "2026-03-02T22:50:27Z")

</div>

Hi everyone, we've published an initial alpha version of the Hardhat Upgrades plugin with Hardhat 3 support: @openzeppelin/hardhat-upgrades@4.0.0-alpha.0 This release includes: Hardhat 3 compatibility updates Usage do…

---

## [Need help in locking a PCS LP](https://forum.openzeppelin.com/t/need-help-in-locking-a-pcs-lp/45232)

<div class="topic-metadata">

**Author:** [@jose\_antonio](https://forum.openzeppelin.com/u/jose_antonio)\
**Replies:** 0\
**Last updated:** [February 22, 2026, 4:32am UTC](https://forum.openzeppelin.com/t/need-help-in-locking-a-pcs-lp/45232 "2026-02-22T04:32:08Z")

</div>

Hi all, i am trying to lock a PanCakeSwap LP to reference a pricing oracle to fix spot prices against my token. tried via code, no go. Here’s the link for the LP need help befoore adding more LP :1234: Code to re…

---

## [Review Request: AOXC Upgradeable Token with Inflation Control & Daily Limits](https://forum.openzeppelin.com/t/review-request-aoxc-upgradeable-token-with-inflation-control-daily-limits/45189)

<div class="topic-metadata">

**Author:** [@orcun](https://forum.openzeppelin.com/u/orcun)\
**Replies:** 0\
**Last updated:** [February 2, 2026, 9:47pm UTC](https://forum.openzeppelin.com/t/review-request-aoxc-upgradeable-token-with-inflation-control-daily-limits/45189 "2026-02-02T21:47:14Z")

</div>

\`\`\`solidity // SPDX-License-Identifier: MIT pragma solidity ^0.8.33; import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import {UUPSUpgradeable} from "@openzeppelin/contr…

---

## [Compatibility/Support of old manifest formats](https://forum.openzeppelin.com/t/compatibility-support-of-old-manifest-formats/45117)

<div class="topic-metadata">

**Author:** [@Eduardo\_Vasques](https://forum.openzeppelin.com/u/Eduardo_Vasques)\
**Replies:** 2\
**Last updated:** [January 29, 2026, 10:28am UTC](https://forum.openzeppelin.com/t/compatibility-support-of-old-manifest-formats/45117 "2026-01-29T10:28:29Z")

</div>

I am trying to run upgrade on smart-contracts that were deployed still using the ProxyAdmin \<=v4 implementation. I still have my manifest file, from several years ago. I detect that there's a change on the information in…

---

## [Install @openzeppelin/community-contracts](https://forum.openzeppelin.com/t/install-openzeppelin-community-contracts/45130)

<div class="topic-metadata">

**Author:** [@AlirezaEthDev](https://forum.openzeppelin.com/u/AlirezaEthDev)\
**Replies:** 2\
**Last updated:** [January 4, 2026, 8:48am UTC](https://forum.openzeppelin.com/t/install-openzeppelin-community-contracts/45130 "2026-01-04T08:48:02Z")

</div>

I need to install @openzeppelin/community-contracts to try MultiSignerERC7913 contract: How can I install the package? I couldn't find it in npmjs.

---

## [Vanity contract address using CREATE2?](https://forum.openzeppelin.com/t/vanity-contract-address-using-create2/5794)

<div class="topic-metadata">

**Author:** [@marsxr](https://forum.openzeppelin.com/u/marsxr)\
**Replies:** 6\
**Last updated:** [December 30, 2025, 8:35pm UTC](https://forum.openzeppelin.com/t/vanity-contract-address-using-create2/5794 "2025-12-30T20:35:14Z")

</div>

I would like to get a vanity contract address. Just like 1INCH: https://etherscan.io/token/0x111111111117dc0aa78b770fa6a738034120c302 Just like TORN: https://etherscan.io/address/0x77777feddddffc19ff86db637967013e6c6a1…

---

## [Contract \`ReentrancyGuard\` has a constructor define an initializer instead](https://forum.openzeppelin.com/t/contract-reentrancyguard-has-a-constructor-define-an-initializer-instead/45104)

<div class="topic-metadata">

**Author:** [@ojoaoguilherme](https://forum.openzeppelin.com/u/ojoaoguilherme)\
**Replies:** 0\
**Last updated:** [December 16, 2025, 8:23pm UTC](https://forum.openzeppelin.com/t/contract-reentrancyguard-has-a-constructor-define-an-initializer-instead/45104 "2025-12-16T20:23:04Z")

</div>

I updated openzeppelin from v4 to v5 and have tried to deploy the contract using ReentrancyGuard as ReentrancyGuardUpgradeable has been deprecated. The error I receive trying to deploy bellow: Error: script failed: Upg…

---

## [Unexpected different CREATE2 address when using defender.deployProxy() despite identical parameters](https://forum.openzeppelin.com/t/unexpected-different-create2-address-when-using-defender-deployproxy-despite-identical-parameters/45094)

<div class="topic-metadata">

**Author:** [@Santiago\_Hoyos](https://forum.openzeppelin.com/u/Santiago_Hoyos)\
**Replies:** 0\
**Last updated:** [December 4, 2025, 10:29pm UTC](https://forum.openzeppelin.com/t/unexpected-different-create2-address-when-using-defender-deployproxy-despite-identical-parameters/45094 "2025-12-04T22:29:43Z")

</div>

I am seeing an unexpected behavior when deploying a proxy using defender.deployProxy() with CREATE2: the resulting proxy address on Ethereum Mainnet is different from the address obtained on other networks, even though a…

---

## [Partial Defender Deployment Fails to Maintain Deterministic Address](https://forum.openzeppelin.com/t/partial-defender-deployment-fails-to-maintain-deterministic-address/45092)

<div class="topic-metadata">

**Author:** [@ek2461](https://forum.openzeppelin.com/u/ek2461)\
**Replies:** 0\
**Last updated:** [December 3, 2025, 9:58pm UTC](https://forum.openzeppelin.com/t/partial-defender-deployment-fails-to-maintain-deterministic-address/45092 "2025-12-03T21:58:27Z")

</div>

When a Hardhat Upgrades + Defender deployment partially completes (implementation deployed, proxy not), there is no clean recovery path that preserves the expected deterministic proxy address. :laptop: Environment @ope…

---

## [Why was the Approval event removed from transferFrom](https://forum.openzeppelin.com/t/why-was-the-approval-event-removed-from-transferfrom/45079)

<div class="topic-metadata">

**Author:** [@andrewwahid](https://forum.openzeppelin.com/u/andrewwahid)\
**Replies:** 0\
**Last updated:** [November 23, 2025, 6:22pm UTC](https://forum.openzeppelin.com/t/why-was-the-approval-event-removed-from-transferfrom/45079 "2025-11-23T18:22:01Z")

</div>

The Approval event used to be emitted whenever an allowance was spent via transferFrom. But a past PR have removed the default behavior of Approval event emission, may I know the rationale behind this since now the allo…

---

## [safeApprove... forever loop with remix](https://forum.openzeppelin.com/t/safeapprove-forever-loop-with-remix/45051)

<div class="topic-metadata">

**Author:** [@EagleDriver](https://forum.openzeppelin.com/u/EagleDriver)\
**Replies:** 0\
**Last updated:** [November 2, 2025, 9:33pm UTC](https://forum.openzeppelin.com/t/safeapprove-forever-loop-with-remix/45051 "2025-11-02T21:33:13Z")

</div>

Smart Contract infinite loop due to safeApprove SafeERC20 I am attempting to fix code that worked under 0.6.6, but now fails under 0.8.30, and no matter what I do, I can't get past the safeApprove-ERC-SafeERC loop I am…

---

## [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…

---

## [ERC4626 vault](https://forum.openzeppelin.com/t/erc4626-vault/44979)

<div class="topic-metadata">

**Author:** [@novaknole](https://forum.openzeppelin.com/u/novaknole)\
**Replies:** 3\
**Last updated:** [October 8, 2025, 1:13pm UTC](https://forum.openzeppelin.com/t/erc4626-vault/44979 "2025-10-08T13:13:10Z")

</div>

Hi OZ, ERC4626 doesn’t revert on deposit if shares returned according to assets is 0. OZ says that if this occurs, it’s basically a donation. What’s the reasoning behind this ? Why not revert on in this case ? Is it bec…

---

## [// The following functions are overrides required by Solidity](https://forum.openzeppelin.com/t/the-following-functions-are-overrides-required-by-solidity/20104)

<div class="topic-metadata">

**Author:** [@nm77](https://forum.openzeppelin.com/u/nm77)\
**Replies:** 4\
**Last updated:** [October 7, 2025, 7:39am UTC](https://forum.openzeppelin.com/t/the-following-functions-are-overrides-required-by-solidity/20104 "2025-10-07T07:39:08Z")

</div>

The contract wizard often creates the statement "// The following functions are overrides required by Solidity" followed by a series of overrides that appear trivial. Why is this done? What happens without these override…

---

## [Issue with my token](https://forum.openzeppelin.com/t/issue-with-my-token/44886)

<div class="topic-metadata">

**Author:** [@Parsons](https://forum.openzeppelin.com/u/Parsons)\
**Replies:** 3\
**Last updated:** [September 15, 2025, 7:41am UTC](https://forum.openzeppelin.com/t/issue-with-my-token/44886 "2025-09-15T07:41:01Z")

</div>

Is it possible for me to recover my token? Many thanks for any help :blush: Parsons.

---

## [ERC2771ContextUpgradeable implementation](https://forum.openzeppelin.com/t/erc2771contextupgradeable-implementation/42400)

<div class="topic-metadata">

**Author:** [@Cryptochain\_Italia](https://forum.openzeppelin.com/u/Cryptochain_Italia)\
**Replies:** 8\
**Last updated:** [August 21, 2025, 2:47pm UTC](https://forum.openzeppelin.com/t/erc2771contextupgradeable-implementation/42400 "2025-08-21T14:47:03Z")

</div>

Hello, I am currently working on an ERC721A implementation that utilizes ERC2771ContextUpgradeable for handling meta-transactions. I have a few questions regarding my approach and some related functionalities: Implem…

---

## [About governance contract in version 5.4.0](https://forum.openzeppelin.com/t/about-governance-contract-in-version-5-4-0/44801)

<div class="topic-metadata">

**Author:** [@zenhaditaka](https://forum.openzeppelin.com/u/zenhaditaka)\
**Replies:** 0\
**Last updated:** [August 14, 2025, 2:19pm UTC](https://forum.openzeppelin.com/t/about-governance-contract-in-version-5-4-0/44801 "2025-08-14T14:19:38Z")

</div>

I'm a newcomer in this smart contract world, I want to clarify that this snippet Governance contract need a separated Timelock Controller contract or not :1234: Code to reproduce // SPDX-License-Identifier: MIT // Comp…

---

## [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…

---

## [Failed to upgrade implementation of proxy using proxy admin](https://forum.openzeppelin.com/t/failed-to-upgrade-implementation-of-proxy-using-proxy-admin/44635)

<div class="topic-metadata">

**Author:** [@Fagun](https://forum.openzeppelin.com/u/Fagun)\
**Replies:** 1\
**Last updated:** [August 13, 2025, 3:30pm UTC](https://forum.openzeppelin.com/t/failed-to-upgrade-implementation-of-proxy-using-proxy-admin/44635 "2025-08-13T15:30:10Z")

</div>

Here is my contract code: // SPDX-License-Identifier: MIT pragma solidity =0.8.27; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.so…

---

## [Difference between initializer, reinitializer(1), and reinitializer(2) modifiers](https://forum.openzeppelin.com/t/difference-between-initializer-reinitializer-1-and-reinitializer-2-modifiers/39095)

<div class="topic-metadata">

**Author:** [@tibas](https://forum.openzeppelin.com/u/tibas)\
**Replies:** 8\
**Last updated:** [August 13, 2025, 10:47am UTC](https://forum.openzeppelin.com/t/difference-between-initializer-reinitializer-1-and-reinitializer-2-modifiers/39095 "2025-08-13T10:47:23Z")

</div>

What is the difference between initializer, reinitializer(1), and reinitializer(2) modifiers?

---

## [Deploy upgradable contract with hardhat-upgrades fails on mainnet](https://forum.openzeppelin.com/t/deploy-upgradable-contract-with-hardhat-upgrades-fails-on-mainnet/44747)

<div class="topic-metadata">

**Author:** [@Majd\_TL51](https://forum.openzeppelin.com/u/Majd_TL51)\
**Replies:** 2\
**Last updated:** [August 11, 2025, 7:32am UTC](https://forum.openzeppelin.com/t/deploy-upgradable-contract-with-hardhat-upgrades-fails-on-mainnet/44747 "2025-08-11T07:32:59Z")

</div>

Hello :slight\_smile: I’m using an upgradeable contract (uups) and want to deploy it with @openzeppelinopenzeppelin/hardhat-upgrades. It works correctly on Testnets (Sepolia, Amoy) and on my local Hardhat/Ganache network…

---

## [Creation of ERC20PresetMinterPauser on Remix errored: Cannot convert undefined or null to object](https://forum.openzeppelin.com/t/creation-of-erc20presetminterpauser-on-remix-errored-cannot-convert-undefined-or-null-to-object/4201)

<div class="topic-metadata">

**Author:** [@Triston\_Edwards](https://forum.openzeppelin.com/u/Triston_Edwards)\
**Replies:** 5\
**Last updated:** [August 10, 2025, 10:33pm UTC](https://forum.openzeppelin.com/t/creation-of-erc20presetminterpauser-on-remix-errored-cannot-convert-undefined-or-null-to-object/4201 "2025-08-10T22:33:39Z")

</div>

Hey abcoathup i thought i would try the remix way also (Create an ERC20 using Remix, without writing Solidity)!. :slight\_smile: i get to the 'Deploy the contract' and when i click deploy i get the below message? cre…

---

## [Web3js intagration in html + JS please help me it wont display the ABI array in the browser like I told it to!](https://forum.openzeppelin.com/t/web3js-intagration-in-html-js-please-help-me-it-wont-display-the-abi-array-in-the-browser-like-i-told-it-to/44670)

<div class="topic-metadata">

**Author:** [@Snowpiercer](https://forum.openzeppelin.com/u/Snowpiercer)\
**Replies:** 0\
**Last updated:** [July 28, 2025, 3:45am UTC](https://forum.openzeppelin.com/t/web3js-intagration-in-html-js-please-help-me-it-wont-display-the-abi-array-in-the-browser-like-i-told-it-to/44670 "2025-07-28T03:45:12Z")

</div>

Heres the code please help:

---

## [Plans for Generalization of ERC721](https://forum.openzeppelin.com/t/plans-for-generalization-of-erc721/44618)

<div class="topic-metadata">

**Author:** [@Sebasky](https://forum.openzeppelin.com/u/Sebasky)\
**Replies:** 0\
**Last updated:** [July 23, 2025, 2:58pm UTC](https://forum.openzeppelin.com/t/plans-for-generalization-of-erc721/44618 "2025-07-23T14:58:58Z")

</div>

Are there some plans about generalizing ERC721? Not using \_balances, \_owners directly in \_update would improve flexibility of OpenZeppelin ERC721. It could be used to write optimal code (bitfields/structs). Ideas for i…

---

## [Why doesn't \_\_Ownable2Step\_init do initialization for \_\_Context\_init/\_\_Ownable\_init?](https://forum.openzeppelin.com/t/why-doesnt-ownable2step-init-do-initialization-for-context-init-ownable-init/44513)

<div class="topic-metadata">

**Author:** [@zhiqiangxu](https://forum.openzeppelin.com/u/zhiqiangxu)\
**Replies:** 6\
**Last updated:** [July 13, 2025, 6:03pm UTC](https://forum.openzeppelin.com/t/why-doesnt-ownable2step-init-do-initialization-for-context-init-ownable-init/44513 "2025-07-13T18:03:44Z")

</div>

Currently if a contract inherits from Ownable2StepUpgradeable, it needs to manually call \_\_Context\_init/\_\_Ownable\_init, why doesn't \_\_Ownable2Step\_init call these two functions automatically so that the complexity can be…

---

## [How do ShortStrings optimize gas/storage?](https://forum.openzeppelin.com/t/how-do-shortstrings-optimize-gas-storage/44495)

<div class="topic-metadata">

**Author:** [@AbdulrazaqAS](https://forum.openzeppelin.com/u/AbdulrazaqAS)\
**Replies:** 0\
**Last updated:** [July 7, 2025, 4:32pm UTC](https://forum.openzeppelin.com/t/how-do-shortstrings-optimize-gas-storage/44495 "2025-07-07T16:32:49Z")

</div>

I'm still confused of how ShortStrings optimize storage. Aren't strings \<31 in length already have their length in the last byte? Making it take only one slot. After searching the internet, I found that short strings (\<3…

---

## [Complex conditional logic for function access with AccessManaged](https://forum.openzeppelin.com/t/complex-conditional-logic-for-function-access-with-accessmanaged/44414)

<div class="topic-metadata">

**Author:** [@miguelmtzinf](https://forum.openzeppelin.com/u/miguelmtzinf)\
**Replies:** 2\
**Last updated:** [July 1, 2025, 9:48am UTC](https://forum.openzeppelin.com/t/complex-conditional-logic-for-function-access-with-accessmanaged/44414 "2025-07-01T09:48:19Z")

</div>

The current AccessManaged contract exposes only the restricted modifier to enforce access control on functions. However, this approach limits flexibility, as it doesn't allow for more complex conditional logic (e.g., "al…

[Next page](https://forum.openzeppelin.com/c/support/17.md?page=1)
