yuichiroaoki / poly-flashloan-bot

Flashloan Bot on Polygon
https://yuichiroaoki.medium.com/flashloan-bot-on-polygon-part-2-3eae0ac33986?sk=80821da4ca1d0462c7c9ae617df56bdd
MIT License
302 stars 192 forks source link

ENS Error on Yarn Start #83

Closed VirtualConnectGroup closed 2 years ago

VirtualConnectGroup commented 2 years ago

Describe the bug When running Yarn Start I receive an error.

/Users/kyleborg/poly-flashloan-bot-main/node_modules/@ethersproject/logger/lib/index.js:199 var error = new Error(message); ^

Error: network does not support ENS (operation="ENS", network="matic", code=UNSUPPORTED_OPERATION, version=providers/5.5.2) at Logger.makeError (/Users/kyleborg/poly-flashloan-bot-main/node_modules/@ethersproject/logger/lib/index.js:199:21) at Logger.throwError (/Users/kyleborg/poly-flashloan-bot-main/node_modules/@ethersproject/logger/lib/index.js:208:20) at JsonRpcProvider. (/Users/kyleborg/poly-flashloan-bot-main/node_modules/@ethersproject/providers/lib/base-provider.js:2007:36) at step (/Users/kyleborg/poly-flashloan-bot-main/node_modules/@ethersproject/providers/lib/base-provider.js:48:23) at Object.next (/Users/kyleborg/poly-flashloan-bot-main/node_modules/@ethersproject/providers/lib/base-provider.js:29:53) at fulfilled (/Users/kyleborg/poly-flashloan-bot-main/node_modules/@ethersproject/providers/lib/base-provider.js:20:58) at processTicksAndRejections (node:internal/process/task_queues:96:5) { reason: 'network does not support ENS', code: 'UNSUPPORTED_OPERATION', operation: 'ENS', network: 'matic' }

To Reproduce Steps to reproduce the behavior: yarn start from terminal

Expected behavior Yarn install crashes

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

VirtualConnectGroup commented 2 years ago

My Contract Addr was wrong