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

LinkedList npm package with hard pragma #92

Open
vauvenal5 opened this issue Oct 11, 2018 · 1 comment
Open

LinkedList npm package with hard pragma #92

vauvenal5 opened this issue Oct 11, 2018 · 1 comment

Comments

@vauvenal5
Copy link

What is it?

Since the pragma in the npm package LinkedList is hard restricted to version 0.4.21 it is not possible to reuse the library in a useful manner.

Problem

The linked library code in this repository has a soft ^0.4.18 version restriction. The code in the npm package however has a hard 0.4.21 restriction. This makes it impossible to simply reuse the library without changes, for example with the current truffle.

Solution

Redeploying the npm package with a soft restriction ^0.4.21 would allow to reuse the code and the on-chain deployed library in current projects without the need for workarounds.

@cbdotguru
Copy link
Member

cbdotguru commented Oct 11, 2018

Got it, thanks for the report. This was a very short lived idea because of differing opinions on how to pin the compiler version. We realized that holding to a strict version was not more secure nor useful. This gives us a reason to fix :). Thanks for taking the time on it!

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

2 participants