So, I wrote a simple ERC-20 token. I deployed it on kovan using Infura. To test things, I was testing methods with truffle console (kovan network). Simple methods like, transfer, name, and symbol worked. But when I try to do something like “allowance” or “approval”. I get an error like,
" Unknown Error: {“jsonrpc”:“2.0”,“id”:7,“error”:{“code”:-32002,“message”:“project ID does not have access to archive state”,“data”:{“see”:"https://infura.io/dashboard"}}}"
Can someone help me with this?
P.S:- I am using Truffle and OpenZeppelin.