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

networks-inject reports success even if it couldn't inject addresse #32

Open
fleupold opened this issue Jun 30, 2020 · 1 comment
Open
Labels
bug Something isn't working

Comments

@fleupold
Copy link
Contributor

From discord

also I found a clear bug that if you make empty build/contracts and run yarn run networks-inject it will say that all is fine, but do nothing

If we cannot inject the addresses into the contracts we should fail the script and let the user know.

@fleupold fleupold added the bug Something isn't working label Jun 30, 2020
@bh2smith
Copy link
Contributor

Not sure if this is the desired solution, but perhaps we could run a build right before the injection script in package.json

"networks-inject": "node src/inject_network_info.js",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants