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

Specify node version that this repo works with #1

Closed
andreiashu opened this issue Jan 25, 2021 · 6 comments
Closed

Specify node version that this repo works with #1

andreiashu opened this issue Jan 25, 2021 · 6 comments

Comments

@andreiashu
Copy link

andreiashu commented Jan 25, 2021

Running the tests in node v14 throws errors in before/after hooks: Error: Callback was already called.

Might be worth:

  • updating the Readme to explain which node versions are supported
  • adding an engines specification in package.json

Let me know your thoughts. I can send a PR but just wanted to get your thoughts first.

PS: thanks for this great work
Edit: forgot to mention, but everything works as expected with v12.11.1

@vdg0
Copy link

vdg0 commented Jan 26, 2021

Weird...
I got errors with node v12.11.1 but everything fine in a fresh manjaro, with base-devel, python2.7 and node [lts/erbium] v12.20.1 (npm v6.14.11).

@andreiashu
Copy link
Author

@vdg0 what kind of errors are you getting?
on v12 I only get warnings about the license identifier but no errors.

@vdg0
Copy link

vdg0 commented Jan 27, 2021

I don't remember specifics anymore and don't catch that log.
But, in v12.11.1 was some trouble with dependencies compilation. But, 0 errors with v12.20.1 lts/erbium.

@abcoathup
Copy link

Hi @andreiashu! Thanks for the suggestion, it is really appreciated.

The project owner will review your suggestion as soon as they can.

Please wait until we have discussed this idea before writing any code or submitting a Pull Request, so we can go through the design beforehand. We don’t want you to waste your time!

@tinchoabbate
Copy link
Contributor

Thanks @andreiashu for reporting! I'll take a closer look during the weekend, I never had a problems with node's version during testing, but it might be the case some dependencies don't work with specific versions. I'll come back here once I have it clearer.

@tinchoabbate
Copy link
Contributor

I have been able to install all dependencies and run all challenges with version 12.20.0 of node. have added a "Troubleshooting" section to the README specifying this.

Thanks for reporting @andreiashu and @vdg0

gcutrini added a commit to gcutrini/damn-vulnerable-defi that referenced this issue Feb 13, 2021
Attacker transfers tokens to pool causing pool's tracking of pool
balance to be out of sync with actual pool balance. Pool's ability to
execute flash loans is halted because an equality assertion is made
between queried value of pool balance before loan and tracked valued of
pool balance within contract.
assafom added a commit to assafom/damn-vulnerable-defi that referenced this issue Aug 12, 2021
assafom added a commit to assafom/damn-vulnerable-defi that referenced this issue Aug 12, 2021
agusduha added a commit to agusduha/damn-vulnerable-defi that referenced this issue Sep 8, 2021
RomiRand pushed a commit to RomiRand/damn-vulnerable-defi that referenced this issue Nov 5, 2021
* Partial work on v2

* Add Free Rider challenge

* Change package scripts

* Add Puppet v2

* Ease wording

* Limit ETH in climber

* Further cleanup before release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants