OpenZeppelin / OpenZeppelin/openzeppelin-upgrades
How to get previously deployed contract details?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 658
- Forks
- 286
- PR merge metrics
- No merged PRs in 30d
Description
In hardhat-deploy, it's possible to do this:
const deployment = await hre.deployments.get('...');
Is there a similar way to get contract details using @openzeppelin/hardhat-upgrades? I have a contract that depends on the address of another contract and would like to make the deployment as automated as possible.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the shown hardhat-deploy deployments.get('...') usage with the @openzeppelin/hardhat-upgrades API. The issue names no repository file or test; done would require establishing and documenting a supported way to retrieve previously deployed contract details for dependent automated deployments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100