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

LendingPoolConfigurator initialize local deployment fails with "Invalid Address" Error #281

Open
vibeshiftcapital opened this issue Mar 17, 2022 · 2 comments

Comments

@vibeshiftcapital
Copy link

Having issues deploying locally with command:

npx hardhat aave:dev --network buidlerevm_docker

I get as far as deploying DefaultReserveInterestRateStrategy for all 21 test tokens and then get the following error when batchInitReserve is called for the first one:

Error: invalid address or ENS name (argument="name", value=undefined, code=INVALID_ARGUMENT, version=contracts/5.6.0)
    at Logger.makeError (/Users/xxxxxxxx/xxxxxxxx/aave-protocol-v2/node_modules/@ethersproject/contracts/node_modules/@ethersproject/logger/src.ts/index.ts:261:28)
    at Logger.throwError (/Users/xxxxxxxx/xxxxxxxx/aave-protocol-v2/node_modules/@ethersproject/contracts/node_modules/@ethersproject/logger/src.ts/index.ts:273:20)
    at Logger.throwArgumentError (/Users/xxxxxxxx/xxxxxxxx/aave-protocol-v2/node_modules/@ethersproject/contracts/node_modules/@ethersproject/logger/src.ts/index.ts:277:21)
    at /Users/xxxxxxxx/xxxxxxxx/aave-protocol-v2/node_modules/@ethersproject/contracts/src.ts/index.ts:123:16
    at step (/Users/xxxxxxxx/xxxxxxxx/aave-protocol-v2/node_modules/@ethersproject/contracts/lib/index.js:48:23)
    at Object.next (/Users/xxxxxxxx/xxxxxxxx/aave-protocol-v2/node_modules/@ethersproject/contracts/lib/index.js:29:53)
    at fulfilled (/Users/xxxxxxxx/xxxxxxxx/research/aave-protocol-v2/node_modules/@ethersproject/contracts/lib/index.js:20:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  reason: 'invalid address or ENS name',
  code: 'INVALID_ARGUMENT',
  argument: 'name',
  value: undefined
}

Running npm run aave:evm:dev:migration successfully compile and deploys but doesn't hit the local node I booted up to test with.

I'm assuming I'm getting Invalid Address because either a null or address from a different change is being sent to batchInitReserve but I can't find where this is happening.

Happy to provide more info if that helps.

Thank you!

@pranavkirtani
Copy link

any update on this issue? I am facing the same thing

@Ruben1987Alex
Copy link

I have the same Issue and searching. I hope somebody has an idea :)

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

3 participants