When asking questions related to the Upgrades Plugins, you may be directed here to gather logs and files from your environment in order to receive support. This represents a minimum set of information that is needed for us to begin investigating your issue.
If asked to do so, please gather the following information and include it in your post/thread by copying the text from the corresponding files or console output, and pasting them as snippets using blockquotes, for example:
Enable debug logging by running the following command:
After debug logging is enabled, re-run your script or command that was encountering an issue, then copy and paste all of the console output into your post.
Provide the network file for the network that you are using. This is a file in the
.openzeppelin folder and is named as either
If using Hardhat, provide the
If using Truffle, provide the
CAUTION: Ensure you remove any sensitive data (such as API keys or private keys or seed phrases) from your config files before sharing them.
Provide the Hardhat or Truffle scripts that are encountering the issue.
Provide the exact command that you are using to run your script.
If contracts were deployed to a mainnet or testnet, provide the following addresses:
- Proxy address
- Implementation addresses before the upgrade and after (if applicable)
Provide the versions of the packages that you are using (Contracts, Hardhat, Truffle, plugins).
Also provide the installed version of
npm list @openzeppelin/upgrades-core
If you can share your contract source code publicly, please provide the source code for the original and updated versions of your implementation contract(s).
Otherwise, provide code snippets (or simplified examples) for the parts of your implementation contract(s) that are relevant to the issue.