attestation icon indicating copy to clipboard operation
attestation copied to clipboard

Tests fail due to decommission of Rinkeby

Open jot2re opened this issue 2 years ago • 1 comments

Currently several tests of attestation.jar fails when trying to to verify against the smart contracts. The failure is the following error, which happens in SmartContract.java:

org.web3j.protocol.exceptions.ClientConnectionException: Invalid response received: 410; {
  "id":null,
  "error": {
    "code":-32601,
    "message":"Network decommissioned, please use Goerli or Sepolia instead",
    "data": {
      "see":"https://blog.infura.io/post/deprecation-timeline-for-rinkeby-ropsten-and-kovan-testnets"
    }
  }
}

The failure can be reproduced by running UseTicketTest.testSmartContractDecode()

jot2re avatar Oct 26 '22 10:10 jot2re

I made a new branch starting work to fix this. The issue is the URL in SmartContract.java:getWeb3j() I think maybe all that is needed is changing this URL and pushing the smart contract to the correct test network should do it

jot2re avatar Nov 04 '22 12:11 jot2re