Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to save to deployment cache #1590

Open
iPaulPro opened this issue Dec 22, 2024 · 0 comments
Open

Add ability to save to deployment cache #1590

iPaulPro opened this issue Dec 22, 2024 · 0 comments

Comments

@iPaulPro
Copy link

🌟 Feature Request for hardaht-zksync plugins

💥 Plugin name

hardhat-zksync-deploy

📝 Description

When using hardhat-deploy I'm able to manually add deployments to the cache by doing something like:

const { save } = hre.deployments;

await save(contractName, {
  address: contractAddress,
  abi: abi,
});

The deployment-saver.ts file has similar functionality, but it's not exported for external use.

🤔 Rationale

When deploying contracts using a factory pattern, it's useful to be able to include those in the cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant