-
Notifications
You must be signed in to change notification settings - Fork 92
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
Move ethers from devDependencies to dependencies #560
Comments
Created a PR here: #561 |
Got the same problem in a node.js project using "devDependencies": {
"@balancer-labs/sdk": "^1.1.5",
"ethers": "5.7.2",
"ethers-v6": "npm:[email protected]",
} Then, you can simply adjust your imports like this: const { ethers } = require('ethers-v6');
// or in ES6 syntax
import { ethers } from 'ethers-v6'; |
This issue is still relevant. I had to downgrade to ethers ^5.0.0 to use balancer-sdk |
Trying to understand more about the issue here. Can anyone who has this issue confirm what version of the SDK is being used and even point me towards a repo where I can replicate? |
@johngrantuk For my case, I use When I have these two as dependencies and run tests I see this
That fails because all interfaces in balancer-sdk extend |
Thanks for patience here. Should be live on package: v1.1.6-beta.18 and please just let us know if there's any issue. |
Thanks @johngrantuk ! |
Hello,
I'm trying to make balancer-sdk work in a project that uses ethers v6 and I'm having issues with it because balancer-sdk uses ethers v5 (and it uses
Interface
class underethers.util
, in the latest versions it'sethers.Interface
).Can you consider moving ethers to dependencies so balancer-sdk uses its own
ethers
version?The text was updated successfully, but these errors were encountered: