INFURA / infura

Official Public Repository for INFURA
https://infura.io
381 stars 62 forks source link

Calling contract methods with blockTag causes error. #196

Open eccentricexit opened 4 years ago

eccentricexit commented 4 years ago

As the title says. Executing the following code using MetaMask's provider works as expected:

;(async () => {
    ...
    const currentRuling = (
        await arbitrator.currentRuling(disputeID, { blockTag: blockNumber })
    ).toString()
   console.info(currentRuling) // '1'
})()

Response executing the call with Infura:

message: "Internal error"
code: -32603

Other info: Web3 library: ethersjs Chain: kovan Contract Address: 0x0a316852df14dc1313f4c4186fdcbba3f2f854e0