I'm trying to migrate my dapp to goerli as previous step to go to mainnet but when I try to use getCode the network returns 0x
Example:
https://goerli.etherscan.io/address/0xad4d62346983d1d894fb79b2ee7259c6af3186a6
This is how I call it:
const code = await w3.eth.getCode(checksumAddress, 'latest');
where checksum is the address after toChecksumAddress (the same as the one in the etherscan explorer.
Can someone point me were is the problem?
Thanks
where checksumdoesn't give any information – Julissa DC Sep 30 '22 at 13:15