Uniswap / v2-core

🦄 🦄 Core smart contracts of Uniswap V2
https://uniswap.org/docs
GNU General Public License v3.0
2.89k stars 3.11k forks source link

yarn test meet error #194

Open SunZhiC opened 1 year ago

SunZhiC commented 1 year ago

yarn compile works fines. but yarn test meet error. such as merkle-patricia-tree callback is already called I find a workaround and run yarn test successfully.

I work with a M1 Macbook, and my node version is v18.16.0. it can't run yarn test. I switch to node 12 and run command line with Rosetta, cause node 12 doesn't support arm64. Finally, it works well.

If someone else is experiencing similar problems, hope he can help you.

Sisiann commented 1 year ago

hello @SunZhiC this is a testnet problem, i experienced a similar issue but it was resolved. I will suggest you talk with a representative from uniswap multichain Developer's live chat support page. UNISWAP DEVELOPER'S SUPPORT. Engage in a conversation regarding your issue with the uniswap representative, they will look into the transaction and help you escalate and resolve this issue right away.

hacklili commented 1 year ago

anything

voidcenter commented 6 months ago

same thing here still. why would it be a testnet problem, does the tests even talk to the testnet?

voidcenter commented 6 months ago

changing node to 12 does the trick, thanks to https://github.com/trufflesuite/truffle/issues/3008