-
Notifications
You must be signed in to change notification settings - Fork 27
Fix CI by using ganache from docker container #408
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
Conversation
61e1db3 to
01561b1
Compare
01561b1 to
1e9a348
Compare
Thanks for fixing this @dtebbs. Going forward, please be sure to either link to the CI run/job failing, and/or provide an excerpt of the error faced so we can have a better idea of what's going on under the hood and how the proposed change resolves the issue. It's good to know why from one day to another the CI stars to fail on some code that hasn't been touched, especially as such issue may appear again in the future. Without much context, this smells like an issue with managing dependencies (either a dependency release pushing a breaking change disguised in a minor, or we use loose versioning for some of the tools that run in the CI, i.e. don't constrain a specific node JS version or something - though I know this one is properly constrained as we specify node I can see that some CI runs failed on the |
Some docker base images will come with specific packages versions (e.g. a Python base image) or won't be supporting the latest versions of some packages etc, which may (or not) be why moving things in Docker fixes the issue. |
AntoineRondelet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It appears that something has happened in a dependency which breaks the ganache build, so that needs to be checked and addressed. AFAICT, the issue seems to be related to the @types/bn.js package, although after some investigation it's still not clear to me what could have changed.