lens-protocol / core

The Lens Protocol
https://lens.xyz/
MIT License
2.77k stars 865 forks source link

Upgrade ethers to 6 #170

Closed fourcolors closed 4 months ago

fourcolors commented 1 year ago

Hi,

I'm running a remix project and have been running into issues with ethersv5 the tl;dr; is it doesn't support ESM

https://github.com/ethers-io/ethers.js/issues/3158

The main issue is how things are imported. I'll work on a PR later this week.

fourcolors commented 1 year ago

Ok for reference, if anyone's running into a problem with Remix or any SSR with lens and ethers, make sure you are matching the same ethers version in lens core as in your project or else you may run into issues.

"ethers": "5.5.1",

Docs should be update to reflect this (which they are, but only for npm, if you toggle to yarn, it switches to yarn 6)

donosonaumczuk commented 4 months ago

Using foundry now