throws the following error, I checked that client.web3.eth.defaultAccount holds the correct address, has the backend API changed?
Error: invalid address (argument="address", value={}, code=INVALID_ARGUMENT, version=address/5.3.0) (argument="HostingContractAddress", value={}, code=INVALID_ARGUMENT, version=abi/5.0.7)
at Logger.makeError (index.js:173)
at Logger.throwError (index.js:182)
at Logger.throwArgumentError (index.js:185)
at AddressCoder._throwError (abstract-coder.js:38)
at AddressCoder.encode (address.js:14)
at array.js:57
at Array.forEach (<anonymous>)
at pack (array.js:43)
at TupleCoder.encode (tuple.js:19)
at AbiCoder.encode (abi-coder.js:82)
I troubleshooted the issue:
This line seems to be the issue
client.ethoFSContract.methods.GetHostingContractAddress(client.web3.eth.defaultAccount, index).call().catch(reject)
throws the following error, I checked that
client.web3.eth.defaultAccount
holds the correct address, has the backend API changed?