GithubHelp home page GithubHelp logo

Comments (7)

frangio avatar frangio commented on June 9, 2024

I think you mean OpenZeppelin/openzeppelin-upgrades#465 ?

from contracts-wizard.

ericglau avatar ericglau commented on June 9, 2024

Both. If differently named files are written during tests, those should also be ignored.

from contracts-wizard.

frangio avatar frangio commented on June 9, 2024

Yes, though alternatively we should be writing network files in /tmp, which is mentioned in OpenZeppelin/openzeppelin-upgrades#465 as well. In that case there would be nothing to ignore. I think this is the ideal scenario.


Well, that said, for now Wizard should definitely include the current file in .gitignore.

from contracts-wizard.

ericglau avatar ericglau commented on June 9, 2024

This is no longer needed due to OpenZeppelin/openzeppelin-upgrades#726, because manifests for Hardhat dev networks will be written under /tmp instead.

from contracts-wizard.

aashborn avatar aashborn commented on June 9, 2024

Hi,
But this documentation should be updated to reflect this change, right?: https://docs.openzeppelin.com/upgrades-plugins/1.x/
I had to come across this issue to understand why I can't find the network file at the root of my Hardhat project anymore.

from contracts-wizard.

ericglau avatar ericglau commented on June 9, 2024

Hi @aashborn, thanks for pointing this out. We updated https://docs.openzeppelin.com/upgrades-plugins/1.x/network-files#temporary-files but missed that page. Could you please open a new issue?

By the way, could you let us know what is your use case that led you to look for that file for Hardhat?

from contracts-wizard.

aashborn avatar aashborn commented on June 9, 2024

My bad, I had missed this section! I had upgraded to a higher version of Hardhat and I was confused not to see this file anymore๐Ÿ™‚

Currently I would just like to use this file to study the variation of the storage layout. I know that this information can also be produced with the compiler options, but as I was saying I also wanted to know why I was not seeing the network file anymore.

from contracts-wizard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.