When I use ethers v5, it is working well. But When I convert to ethers v6, error occurs. 