Is goerli acting up for anyone ?

I have intiated a signer with metamask that should allow me to approve a token.

This was working well until today , where it ignore the approval and treats it like a request to send ETH.

Here is a snippet of my code:


const token = new ethers.Contract(mockRIO, abi, signer)
const landNFT = new ethers.Contract(landContract, abi, signer)

try {
await token.approve(landContract, data.price)
} catch (e) {
console.log(`e`, e)
}

Sep 2, 2022, 8:23 AM
don't blame the blockchain/testnet for your errors
Sep 2, 2022, 8:29 AM
kek.. I was on the wrong testnet ... need sleep
Sep 2, 2022, 8:30 AM

© 2024 Draquery.com All rights reserved.