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

Move development network files to OS temporary directory #748

Open
ericglau opened this issue Feb 15, 2023 · 0 comments
Open

Move development network files to OS temporary directory #748

ericglau opened this issue Feb 15, 2023 · 0 comments

Comments

@ericglau
Copy link
Member

Currently the network files for Hardhat networks (if the hardhat_metadata RPC method is detected) is written to the OS temporary directory as described in https://docs.openzeppelin.com/upgrades-plugins/1.x/network-files#temporary-files

More generically, if a dev network is detected (e.g. through the web3_clientVersion RPC method), we should do something similar and use the OS temporary directory instead of the .openzeppelin folder.

By doing this, the remaining files in .openzeppelin would be files that are for live networks and should be included in version control.

@ericglau ericglau changed the title Move dev network files to tmp Move development network files to OS temporary directory Feb 15, 2023
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