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

Publish metadata of contracts while publishing package #180

Open
abhayks1 opened this issue Dec 9, 2019 · 0 comments
Open

Publish metadata of contracts while publishing package #180

abhayks1 opened this issue Dec 9, 2019 · 0 comments

Comments

@abhayks1
Copy link
Contributor

abhayks1 commented Dec 9, 2019

Problem

For compilation of contracts, publisher global truffle version is used. This is a problem since truffle global version can be different everytime mosaic contracts npm is published.

"compile": "truffle compile",

Solution

Use node modules truffle version for contracts compilation

"compile": "./node_modules/.bin/truffle compile",

Problem

Contracts are being compiled on different compiler version

Proposed Solution

Publish metadata of contracts when publishing package

@abhayks1 abhayks1 changed the title npm run compile should use node modules truffle version for contracts compilation Publish metadata of contracts while publishing package Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant