Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot create instance of IERC20; no code at address #15

Open
yuzhongrong opened this issue Jul 4, 2022 · 0 comments
Open

Error: Cannot create instance of IERC20; no code at address #15

yuzhongrong opened this issue Jul 4, 2022 · 0 comments

Comments

@yuzhongrong
Copy link

why?

Everything is up to date, there is nothing to compile.

Contract: TestDyDxSoloMargin
1) "before each" hook for "flash loan"

0 passing (1s)
1 failing

  1. Contract: TestDyDxSoloMargin
    "before each" hook for "flash loan":
    Error: Cannot create instance of IERC20; no code at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
    at Object.checkCode (node_modules/truffle/build/webpack:/packages/contract/lib/utils/index.js:263:1)
    at Function.at (node_modules/truffle/build/webpack:/packages/contract/lib/contract/constructorMethods.js:73:1)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at Context. (test/test-dydx-solo-margin.js:20:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant