-
Notifications
You must be signed in to change notification settings - Fork 1
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
[JST-11] SDK cannot be used with ethers.js v6 #41
[JST-11] SDK cannot be used with ethers.js v6 #41
Comments
Looks like we will have to wait until ethers-io/ethers.js#3734 is fixed to properly fix this and upgrade this package to Ethers v6 |
@joewagner i set up a Linear sync for also, i was wondering if any of the old issues in the Linear teams for |
That would be great! You might be able to add the
I Haven't looked recently. If there are any issues that still exist in the code and are listed in the old repos, you can use github's "transfer issue" feature to move them. If for some reason that doesn't work re-creating them is ok with me. Thanks again for dealing with this. |
cool, sounds good, happy to help! |
context
A user reported this bug in Discord here https://discord.com/channels/592843512312102924/1077277654132215960
initial report
The initial report is from a user running the basic sdk example from the docs:
This results in:
Error: RUN_ERROR: signer.getChainId is not a function
details
Ethers.js v6 was recently released https://docs.ethers.org/v6
With this release the signer interface no longer has the
getChainId
method. The chainId is potentially available elsewhere within the ethers v6 signer, but we might want to decide if there's a more robust way to get the chainId.The v3 SDK had the requirement that a specific network had been connected to, which made this problem a little easier.
ideas for a solution
JST-11
The text was updated successfully, but these errors were encountered: