attestation
attestation copied to clipboard
Tests fail due to decommission of Rinkeby
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()
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