Arbitrum standard token bridge. Error: invalid address or ENS name (argument="name", value=undefined, code=INVALID_ARGUMENT, version=contracts/5.5.0) #2635
Unanswered
purevolcano106
asked this question in
Q&A
Replies: 1 comment 1 reply
-
maybe |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here's my test code.
const { providers, Wallet, BigNumber, utils } = require('ethers')
const { Provider, TransactionRequest } = require('@ethersproject/providers')
const { Contract, ContractFactory, Overrides } = require('@ethersproject/contracts')
const { Bridge, networks } = require('arb-ts')
const L1TokenABI = require("../artifacts/contracts/L1Token.sol/L1Token.json")
const L2TokenABI = require("../artifacts/contracts/L2Token.sol/L2Token.json")
const main = async () => {
}
main()
.then(() => process.exit(0))
.catch(error => {
console.error(error)
process.exit(1)
})
results:
L1 balance: 3000000000000000000
L2 balance: 0
allowance: 3000000000000000000
deposit starts ...
Error: invalid address or ENS name (argument="name", value=undefined, code=INVALID_ARGUMENT, version=contracts/5.5.0)
at Logger.makeError (E:\My Work\Emax, John Murrish\arbitrum-bridge\node_modules@ethersproject\logger\src.ts\index.ts:225:28)
at Logger.throwError (E:\My Work\Emax, John Murrish\arbitrum-bridge\node_modules@ethersproject\logger\src.ts\index.ts:237:20)
at Logger.throwArgumentError (E:\My Work\Emax, John Murrish\arbitrum-bridge\node_modules@ethersproject\logger\src.ts\index.ts:241:21)
at E:\My Work\Emax, John Murrish\arbitrum-bridge\node_modules@ethersproject\contracts\src.ts\index.ts:120:16
at step (E:\My Work\Emax, John Murrish\arbitrum-bridge\node_modules@ethersproject\contracts\lib\index.js:48:23)
at Object.next (E:\My Work\Emax, John Murrish\arbitrum-bridge\node_modules@ethersproject\contracts\lib\index.js:29:53)
at fulfilled (E:\My Work\Emax, John Murrish\arbitrum-bridge\node_modules@ethersproject\contracts\lib\index.js:20:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
reason: 'invalid address or ENS name',
code: 'INVALID_ARGUMENT',
argument: 'name',
value: undefined
}
How can I solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions