blockcoders / nestjs-ethers

Ethereum utilities for NestJS based on Ethers.js
Apache License 2.0
93 stars 23 forks source link

Compatibility issue between ethers version 6 and nestjs-ethers version 2.1.0 #157

Open jung410 opened 11 months ago

jung410 commented 11 months ago

[ ] Regression 
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

Current npm module and version in use "nestjs-ethers": "^2.0.3" "ethers": "^6.2.1"

In version 2.1.0 of nestjs-ethers, @0xsequence/multicall was added to the dependencies, and the multicall @0xsequence/utils was added to the dependencies. However, we found that @0xsequence/utils is not compatible with ethers 6 version. There is no problem when downgrading ethers to version 5.

The error that occurs is as follows.

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Nest version: ^9.0.0
Nest Ethers version: ^2.0.3


For Tooling issues:
- Node version: v18.16.1  
- Platform:  mac 
- Server:  fastify 

Others: