# \#upgrades-plugins

**URL:** https://forum.openzeppelin.com/tag/upgrades-plugins/42.md?match_all_tags=true&page=1&tags%5B%5D=upgrades-plugins

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

**Page:** 2

---

## [Error: Global Truffle config not found: Truffle \>=5.1.35 is required](https://forum.openzeppelin.com/t/error-global-truffle-config-not-found-truffle-5-1-35-is-required/4797)

<div class="topic-metadata">

**Author:** [@sarang](https://forum.openzeppelin.com/u/sarang)\
**Replies:** 4\
**Last updated:** [November 30, 2020, 2:04pm UTC](https://forum.openzeppelin.com/t/error-global-truffle-config-not-found-truffle-5-1-35-is-required/4797 "2020-11-30T14:04:45Z")

</div>

:computer: Environment Truffle v5.1.5 (core: 5.1.5) Solidity - 0.6.0 (solc-js) Node v12.18.2 Web3.js v1.2.1 :memo:Details I’m following the Smart Contract Upgrade tutorial from the docs - https://docs.openzeppelin.…

---

## [Using Beacon proxy pattern with API](https://forum.openzeppelin.com/t/using-beacon-proxy-pattern-with-api/5758)

<div class="topic-metadata">

**Author:** [@kiliw](https://forum.openzeppelin.com/u/kiliw)\
**Replies:** 5\
**Last updated:** [May 31, 2022, 12:55pm UTC](https://forum.openzeppelin.com/t/using-beacon-proxy-pattern-with-api/5758 "2022-05-31T12:55:12Z")

</div>

Hey guys, I’m currently looking for solution for smart contract upgrades and came across the beacon pattern. I found some good tutorials here in the forum about deploying upgradable porxies with truffle but still those …

---

## [With hardhat-deploy, how do I access a contract instance previously deployed with upgrades plugin?](https://forum.openzeppelin.com/t/with-hardhat-deploy-how-do-i-access-a-contract-instance-previously-deployed-with-upgrades-plugin/28644)

<div class="topic-metadata">

**Author:** [@darkWingDuckCurry](https://forum.openzeppelin.com/u/darkWingDuckCurry)\
**Replies:** 2\
**Last updated:** [May 12, 2022, 8:15pm UTC](https://forum.openzeppelin.com/t/with-hardhat-deploy-how-do-i-access-a-contract-instance-previously-deployed-with-upgrades-plugin/28644 "2022-05-12T20:15:23Z")

</div>

Is there an equivalent method to ethers.GetContract() that gives me access to the deployment contract that is returned from: await exampleContract.deployed() which was previously deployed with OpenZeppelin upgrade…

---

## [New mapping in Base contract - Openzeppelin upgrades](https://forum.openzeppelin.com/t/new-mapping-in-base-contract-openzeppelin-upgrades/28531)

<div class="topic-metadata">

**Author:** [@Keerthana\_Ramalingam](https://forum.openzeppelin.com/u/Keerthana_Ramalingam)\
**Replies:** 1\
**Last updated:** [May 9, 2022, 5:17pm UTC](https://forum.openzeppelin.com/t/new-mapping-in-base-contract-openzeppelin-upgrades/28531 "2022-05-09T17:17:11Z")

</div>

I am trying to add new mapping to base contract and when I upgrade using "upgradeProxy" I am getting below error , "New variables should be placed after all existing inherited variables". Using " uint256\[1000\] private \_…

---

## [How can I find implementation contract address?](https://forum.openzeppelin.com/t/how-can-i-find-implementation-contract-address/6937)

<div class="topic-metadata">

**Author:** [@swkim109](https://forum.openzeppelin.com/u/swkim109)\
**Replies:** 8\
**Last updated:** [February 23, 2022, 1:39am UTC](https://forum.openzeppelin.com/t/how-can-i-find-implementation-contract-address/6937 "2022-02-23T01:39:30Z")

</div>

Hi, After deploying contracts using upgrades.deployProxy, it shows proxy contract address. But how can I find the actual address of implementation contract? Do I need to know it or not? There is a file in .openzeppelin…

---

## [Slither unprotected-upgradeable-contract detector](https://forum.openzeppelin.com/t/slither-unprotected-upgradeable-contract-detector/26808)

<div class="topic-metadata">

**Author:** [@fabianorodrigo](https://forum.openzeppelin.com/u/fabianorodrigo)\
**Replies:** 1\
**Last updated:** [April 14, 2022, 3:43pm UTC](https://forum.openzeppelin.com/t/slither-unprotected-upgradeable-contract-detector/26808 "2022-04-14T15:43:57Z")

</div>

Hi everyone, I've been using the Openzeppelin contracts upgradeable in my project and today I decided to run the slither tool to check how is it going. Well ... apparently it isn't very good. But I can't understand wher…

---

## [Using setUpRole on AccessControlUpgradeable in a test for a smart contract the admin address is always 0x000..0](https://forum.openzeppelin.com/t/using-setuprole-on-accesscontrolupgradeable-in-a-test-for-a-smart-contract-the-admin-address-is-always-0x000-0/27481)

<div class="topic-metadata">

**Author:** [@Memsita](https://forum.openzeppelin.com/u/Memsita)\
**Replies:** 2\
**Last updated:** [April 13, 2022, 9:18pm UTC](https://forum.openzeppelin.com/t/using-setuprole-on-accesscontrolupgradeable-in-a-test-for-a-smart-contract-the-admin-address-is-always-0x000-0/27481 "2022-04-13T21:18:05Z")

</div>

Dears, I'm developing an upgredable smart contract. I want to use AccessControlUpgradeable but I'm unable to test the contract. Initializing the contract the DEFAULT\_ADMIN\_ROLE is 0x00000000000000000000000000000000000000…

---

## [How to upgrade any number of beacon proxies in a single operation](https://forum.openzeppelin.com/t/how-to-upgrade-any-number-of-beacon-proxies-in-a-single-operation/26842)

<div class="topic-metadata">

**Author:** [@mali](https://forum.openzeppelin.com/u/mali)\
**Replies:** 1\
**Last updated:** [April 6, 2022, 2:37pm UTC](https://forum.openzeppelin.com/t/how-to-upgrade-any-number-of-beacon-proxies-in-a-single-operation/26842 "2022-04-06T14:37:16Z")

</div>

Hi OpenZeppelin community, This is my first post here. Excited to be building using OZ tools. I have an Artist contract that can have multiple instances deployed. const Artist = await hre.ethers.getContractFactory…

---

## [Error: Contract is not upgrade safe. Use of delegatecall is not allowed](https://forum.openzeppelin.com/t/error-contract-is-not-upgrade-safe-use-of-delegatecall-is-not-allowed/16859)

<div class="topic-metadata">

**Author:** [@karl](https://forum.openzeppelin.com/u/karl)\
**Replies:** 7\
**Last updated:** [April 5, 2022, 7:17pm UTC](https://forum.openzeppelin.com/t/error-contract-is-not-upgrade-safe-use-of-delegatecall-is-not-allowed/16859 "2022-04-05T19:17:35Z")

</div>

Hi! I am trying to test deployment through a proxy. My contract does not have any delegate calls, neither selfdestruct. However, after upgrades.deployProxy(MyContract) I'm getting an error that I can remove using { …

---

## [Exporting ABI from Upgradeable Contracts](https://forum.openzeppelin.com/t/exporting-abi-from-upgradeable-contracts/26640)

<div class="topic-metadata">

**Author:** [@thesoulkiller](https://forum.openzeppelin.com/u/thesoulkiller)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 3:51pm UTC](https://forum.openzeppelin.com/t/exporting-abi-from-upgradeable-contracts/26640 "2022-03-23T15:51:00Z")

</div>

Hello, I'm just curious about any easy way to export the implementation contract's ABI from hardhat / OZ's upgrades-plugins ? Generally I do hardhat export /path/to/export.json in normal contracts but in upgradeable ca…

---

## [Upgrade contract without changes to storage layout](https://forum.openzeppelin.com/t/upgrade-contract-without-changes-to-storage-layout/26027)

<div class="topic-metadata">

**Author:** [@cmdzro](https://forum.openzeppelin.com/u/cmdzro)\
**Replies:** 1\
**Last updated:** [March 11, 2022, 6:22pm UTC](https://forum.openzeppelin.com/t/upgrade-contract-without-changes-to-storage-layout/26027 "2022-03-11T18:22:41Z")

</div>

I'm trying to upgrade a smart contract using the UUPSProxy. The smart contract was previously deployed and upgraded successfully already. Now I made another change to the contract that just 2 more methods but didn't chan…

---

## [UUPS upgradable smart contract deployment](https://forum.openzeppelin.com/t/uups-upgradable-smart-contract-deployment/25594)

<div class="topic-metadata">

**Author:** [@zqc](https://forum.openzeppelin.com/u/zqc)\
**Replies:** 1\
**Last updated:** [March 8, 2022, 7:07pm UTC](https://forum.openzeppelin.com/t/uups-upgradable-smart-contract-deployment/25594 "2022-03-08T19:07:13Z")

</div>

I don't see a very clear guide to deploy UUPS smart contract using Truffle although I find some tutorial \[UUPS Proxies: Tutorial (Solidity + JavaScript)\]. I try to write a UUPS contract and deploy successfully. But still…

---

## [Contract that is OpenZeppelin2771ContractUpgradeable failing in test environment when used with OpenGSN due to a isTrustedForwarder failure](https://forum.openzeppelin.com/t/contract-that-is-openzeppelin2771contractupgradeable-failing-in-test-environment-when-used-with-opengsn-due-to-a-istrustedforwarder-failure/7587)

<div class="topic-metadata">

**Author:** [@varunsrin](https://forum.openzeppelin.com/u/varunsrin)\
**Replies:** 7\
**Last updated:** [February 13, 2022, 6:52pm UTC](https://forum.openzeppelin.com/t/contract-that-is-openzeppelin2771contractupgradeable-failing-in-test-environment-when-used-with-opengsn-due-to-a-istrustedforwarder-failure/7587 "2022-02-13T18:52:19Z")

</div>

:computer: Environment "@nomiclabs/hardhat-ethers": "^2.0.0", "@nomiclabs/hardhat-waffle": "^2.0.0", "@opengsn/gsn": "^2.1.0", "@openzeppelin/hardhat-upgrades": "^1.6.0", "@types/chai": "^4.2.14", "@types/mocha": "^8.2…

---

## [OpenZeppelin Upgrade Problem](https://forum.openzeppelin.com/t/openzeppelin-upgrade-problem/24140)

<div class="topic-metadata">

**Author:** [@0fatih](https://forum.openzeppelin.com/u/0fatih)\
**Replies:** 2\
**Last updated:** [February 9, 2022, 1:47am UTC](https://forum.openzeppelin.com/t/openzeppelin-upgrade-problem/24140 "2022-02-09T01:47:40Z")

</div>

Hey, I am getting this error when I want to upgrade my contract. The thing is that I didn't change any state variables. I just change some functions and their visibility/payable. Here is the script I used for upgrading: …

---

## [Verifying TransparentUpgradeableProxy on Boba Network](https://forum.openzeppelin.com/t/verifying-transparentupgradeableproxy-on-boba-network/22943)

<div class="topic-metadata">

**Author:** [@Gabe](https://forum.openzeppelin.com/u/Gabe)\
**Replies:** 6\
**Last updated:** [January 21, 2022, 11:14pm UTC](https://forum.openzeppelin.com/t/verifying-transparentupgradeableproxy-on-boba-network/22943 "2022-01-21T23:14:45Z")

</div>

I have used the truffle upgrades plugin to deploy a TransparentUpgradeableProxy on Boba Network. It seems nobody has deployed a contract with matching bytecode before. How can I verify it on Boba BlockScout? First I tri…

---

## [Upgrades Plugins: Support for beacon proxies](https://forum.openzeppelin.com/t/upgrades-plugins-support-for-beacon-proxies/22635)

<div class="topic-metadata">

**Author:** [@ericglau](https://forum.openzeppelin.com/u/ericglau)\
**Replies:** 0\
**Last updated:** [January 13, 2022, 6:57pm UTC](https://forum.openzeppelin.com/t/upgrades-plugins-support-for-beacon-proxies/22635 "2022-01-13T18:57:21Z")

</div>

OpenZeppelin Upgrades Plugins are the recommended way for users to deploy and manage their upgradeable contracts. They augment your Hardhat or Truffle setup with the ability to upgrade your contracts. If you’re new to…

---

## [Issue verifying AdminUpgradabilityProxy with Buidler Plugin](https://forum.openzeppelin.com/t/issue-verifying-adminupgradabilityproxy-with-buidler-plugin/21949)

<div class="topic-metadata">

**Author:** [@Simsonraj](https://forum.openzeppelin.com/u/Simsonraj)\
**Replies:** 4\
**Last updated:** [January 6, 2022, 7:25pm UTC](https://forum.openzeppelin.com/t/issue-verifying-adminupgradabilityproxy-with-buidler-plugin/21949 "2022-01-06T19:25:26Z")

</div>

:1234: Code to reproduce hi @abcoathup, @frangio I have similar issues in verifying the Proxy contract too in Avalanche fuji testnet, I'm using snowtrace explorer. Im using buidler plugin to deploy upgradable proxy con…

---

## [Address is 0x0 using owner upgradable and truffle deploy](https://forum.openzeppelin.com/t/address-is-0x0-using-owner-upgradable-and-truffle-deploy/21114)

<div class="topic-metadata">

**Author:** [@peakindie](https://forum.openzeppelin.com/u/peakindie)\
**Replies:** 3\
**Last updated:** [December 22, 2021, 11:50pm UTC](https://forum.openzeppelin.com/t/address-is-0x0-using-owner-upgradable-and-truffle-deploy/21114 "2021-12-22T23:50:35Z")

</div>

I've tried all ways but my contract owner address is always 0x0. I would need to set the Contract Owner to use the features of the ERC721 presets for minting. contract ERC721v1 is Initializable, OwnableUpgradeable, ERC…

---

## [I need help creating an upgradeable smart contract for a NFT collection](https://forum.openzeppelin.com/t/i-need-help-creating-an-upgradeable-smart-contract-for-a-nft-collection/20855)

<div class="topic-metadata">

**Author:** [@Thomas](https://forum.openzeppelin.com/u/Thomas)\
**Replies:** 1\
**Last updated:** [December 16, 2021, 9:25pm UTC](https://forum.openzeppelin.com/t/i-need-help-creating-an-upgradeable-smart-contract-for-a-nft-collection/20855 "2021-12-16T21:25:19Z")

</div>

Hello everyone, I am a little familiar with smartcontracts and solidity, however I have a hard time wrapping my head around upgradeables, I have found a few posts from the OpenZeppelin blog, but they are still confusing. …

---

## [Using Strings for uint256 not working with ERC721EnumerableUpgradeable](https://forum.openzeppelin.com/t/using-strings-for-uint256-not-working-with-erc721enumerableupgradeable/20927)

<div class="topic-metadata">

**Author:** [@Thomas](https://forum.openzeppelin.com/u/Thomas)\
**Replies:** 2\
**Last updated:** [December 14, 2021, 1:36pm UTC](https://forum.openzeppelin.com/t/using-strings-for-uint256-not-working-with-erc721enumerableupgradeable/20927 "2021-12-14T13:36:10Z")

</div>

Hello, just like the title says I cannot get using Strings to compile, I keep getting the identifier not found. This is the start of my .sol contract import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/…

---

## [Is upgradeability really necessary for ERC20/721/1155 Token?](https://forum.openzeppelin.com/t/is-upgradeability-really-necessary-for-erc20-721-1155-token/20353)

<div class="topic-metadata">

**Author:** [@night-king](https://forum.openzeppelin.com/u/night-king)\
**Replies:** 1\
**Last updated:** [December 6, 2021, 3:19pm UTC](https://forum.openzeppelin.com/t/is-upgradeability-really-necessary-for-erc20-721-1155-token/20353 "2021-12-06T15:19:26Z")

</div>

I had seen several platform's contract, and they have not add upgradeable on Token, suce as :https://github.com/0xflair/finance-contracts/tree/main/contracts They only add upgradeable for Governor contract. Our team p…

---

## [How to implement OZ UUPS to make a non token contract upgradable?](https://forum.openzeppelin.com/t/how-to-implement-oz-uups-to-make-a-non-token-contract-upgradable/20557)

<div class="topic-metadata">

**Author:** [@hasanza](https://forum.openzeppelin.com/u/hasanza)\
**Replies:** 6\
**Last updated:** [December 9, 2021, 2:19pm UTC](https://forum.openzeppelin.com/t/how-to-implement-oz-uups-to-make-a-non-token-contract-upgradable/20557 "2021-12-09T14:19:09Z")

</div>

I have a non-token contract that I want to make upgradable using the OZ uups contract. I have used it to make a token contract upgradable, but what is the most appropriate way to implement it in any other general contrac…

---

## [Truffle migrate failed after TransparentUpgradeableProxy deployment is done](https://forum.openzeppelin.com/t/truffle-migrate-failed-after-transparentupgradeableproxy-deployment-is-done/17427)

<div class="topic-metadata">

**Author:** [@Kevin\_Nguyen](https://forum.openzeppelin.com/u/Kevin_Nguyen)\
**Replies:** 2\
**Last updated:** [December 2, 2021, 12:05am UTC](https://forum.openzeppelin.com/t/truffle-migrate-failed-after-transparentupgradeableproxy-deployment-is-done/17427 "2021-12-02T00:05:34Z")

</div>

:computer: Environment Truffle v5.1.48 Solidity - 0.6 (solc-js) Node v12.21.0 @openzeppelin/contracts-ethereum-package: 3.0.0 @openzeppelin/truffle-upgrades: 1.9.1 web3: 1.5.2 :memo:Details Hi, I am using truffl…

---

## [When Upgrading a Smart Contract, Do We Need to Copy-Paste The Previous Code?](https://forum.openzeppelin.com/t/when-upgrading-a-smart-contract-do-we-need-to-copy-paste-the-previous-code/19105)

<div class="topic-metadata">

**Author:** [@bryanherediax](https://forum.openzeppelin.com/u/bryanherediax)\
**Replies:** 2\
**Last updated:** [November 20, 2021, 12:08am UTC](https://forum.openzeppelin.com/t/when-upgrading-a-smart-contract-do-we-need-to-copy-paste-the-previous-code/19105 "2021-11-20T00:08:01Z")

</div>

Hey guys, I deployed an upgradeable ERC20 smart contract to testnet for educational purposes. Now that I want to make some upgrades to the smart contract, do I have to copy-paste the code from the previous smart contrac…

---

## [Error: function "owner" will shadow "owner". Please update code to avoid conflict](https://forum.openzeppelin.com/t/error-function-owner-will-shadow-owner-please-update-code-to-avoid-conflict/16876)

<div class="topic-metadata">

**Author:** [@karl](https://forum.openzeppelin.com/u/karl)\
**Replies:** 3\
**Last updated:** [October 14, 2021, 10:22am UTC](https://forum.openzeppelin.com/t/error-function-owner-will-shadow-owner-please-update-code-to-avoid-conflict/16876 "2021-10-14T10:22:39Z")

</div>

Hi, I am trying to deploy my Pool contract via a proxy using the hardhat-deploy plugin. Everything was fine until I used the proxy: true to specify deployment through a default proxy. const poolDeployResult = await d…

---

## [How to get Hardhat deployProxy gas used](https://forum.openzeppelin.com/t/how-to-get-hardhat-deployproxy-gas-used/14551)

<div class="topic-metadata">

**Author:** [@noobshow](https://forum.openzeppelin.com/u/noobshow)\
**Replies:** 4\
**Last updated:** [September 10, 2021, 10:02pm UTC](https://forum.openzeppelin.com/t/how-to-get-hardhat-deployproxy-gas-used/14551 "2021-09-10T22:02:33Z")

</div>

Using this code for contract deployment and getting certain informations after deployment const contract = (await upgrades.deployProxy(contractFactory, \[\], { kind: 'uups', })) as ContractType; await contract.d…

---

## [Using Multiple Initializers in Upgradable Smart Contract](https://forum.openzeppelin.com/t/using-multiple-initializers-in-upgradable-smart-contract/13849)

<div class="topic-metadata">

**Author:** [@Leon-Africa](https://forum.openzeppelin.com/u/Leon-Africa)\
**Replies:** 6\
**Last updated:** [August 13, 2021, 3:20pm UTC](https://forum.openzeppelin.com/t/using-multiple-initializers-in-upgradable-smart-contract/13849 "2021-08-13T15:20:47Z")

</div>

For Upgradable Smart contract following pattern as specified here: "Constructor"/Initializer has form: function initialize() public initializer { ....... ....... ....... } Now suppose I have…

---

## [Visibility of initializer function in upgradable smart contracts](https://forum.openzeppelin.com/t/visibility-of-initializer-function-in-upgradable-smart-contracts/13276)

<div class="topic-metadata">

**Author:** [@Leon-Africa](https://forum.openzeppelin.com/u/Leon-Africa)\
**Replies:** 1\
**Last updated:** [July 30, 2021, 2:57pm UTC](https://forum.openzeppelin.com/t/visibility-of-initializer-function-in-upgradable-smart-contracts/13276 "2021-07-30T14:57:06Z")

</div>

The upgradable contract implements an initializer function that only initializes once - somewhat mimicking constructor behavior. Now since the new Ethereum upgrade visibility operands have been removed from constructors: …

---

## [Transfer admin ownership to DAO](https://forum.openzeppelin.com/t/transfer-admin-ownership-to-dao/10803)

<div class="topic-metadata">

**Author:** [@Ash](https://forum.openzeppelin.com/u/Ash)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 11:06pm UTC](https://forum.openzeppelin.com/t/transfer-admin-ownership-to-dao/10803 "2021-06-18T23:06:20Z")

</div>

I am a 14 year old beginner developer trying to make upgradeable contracts and give admin access to a DAO. I was following the tutorial for upgrade plugins with truffle, adjusting for my needs, I got to the part where yo…

---

## [OpenZeppelin Upgrades: Step by Step Tutorial for Truffle](https://forum.openzeppelin.com/t/openzeppelin-upgrades-step-by-step-tutorial-for-truffle/3579)

<div class="topic-metadata">

**Author:** [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 4:00pm UTC](https://forum.openzeppelin.com/t/openzeppelin-upgrades-step-by-step-tutorial-for-truffle/3579 "2020-08-18T16:00:02Z")

</div>

OpenZeppelin Truffle Upgrades Smart contracts deployed with the OpenZeppelin Upgrades plugins can be upgraded to modify their code, while preserving their address, state, and balance. This allows you to iteratively add…

[Previous page](https://forum.openzeppelin.com/tag/upgrades-plugins/42.md?match_all_tags=true&tags%5B%5D=upgrades-plugins)

[Next page](https://forum.openzeppelin.com/tag/upgrades-plugins/42.md?match_all_tags=true&page=2&tags%5B%5D=upgrades-plugins)
