Comments (5)
Would be great if buidler could include deployedByteCode
, sourceMap
, deployedSourceMap
, sources
and id
(to map back to sources) :)
Is there any reason or benefit for not using truffle's artifact format?
from hardhat.
Truffle's artifact format is both incomplete and bloated. It doesn't include linkReferences
, which makes linking libraries unnecessarily tricky, and it includes many things that are not used.
I'm not sure if the artifact is the right place to store information about deployments. I haven't came up with a clear alternative, but I think something better could be done.
I'd love to include source maps, but I need to play with tools that uses them first, to figure out what is the right way of doing it. Can you point me to any tool with source maps support?
from hardhat.
evmlab has some source map support. I'm not a fan of including deployment info either. I think that requires a separate format.
from hardhat.
My mistake. I don't want deployment details in artifacts, but runtimeBytecode
and runtimeSourceMap
, I think truffle calls it deployedBytecode
.
@alcuadrado sol-trace also uses source-map to trace revert opcode.
from hardhat.
I like the separation between deployment info and other artifact information. zos-cli places deployment info in the root of the project in another .json
file, which I prefer. I'd like to be able to completely nuke my artifacts directory and re-instantiate it by compiling without losing any information.
from hardhat.
Related Issues (20)
- Document multi-chain development workflows and use cases
- Design an ESM compatible plugin system for HHv3
- Create a design doc explaining the problem of ESM and HH plugins
- Create an POC of an ESM-only Hardhat HOT 1
- Design an improved compilation pipeline
- Improved compilation pipeline initial problem statement
- Support multiple test runners as part of HHv3
- Boilerplate error: the transaction is executed but errors are printed in the HH node HOT 2
- Can you set pauses in test script? HOT 2
- hardhat chai matchers: `emit(...).withArgs` does not properly work with BigInt `closeTo` in the callback HOT 5
- Cannot deploy NickFactory: invalid opcode error HOT 1
- Forking config seems not working HOT 1
- npx hardhat compile never runs the optimizer. HOT 1
- Allow environment extension before parsing cli arguments
- Out of memory when trying to install hardhat v2.21.0 HOT 5
- ProviderError: Unsupported type 126 HOT 3
- looking for gitlab CI-CD image HOT 1
- An etherscan endpoint could not be found for this network. ChainID: 11155111. The selected network is sepolia. HOT 3
- Overriding a storage slot of a fork does not work anymore [duplicate] HOT 1
- Overriding a storage slot of a fork does not work anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hardhat.