telosnetwork / api-telos-net

api.telos.net
MIT License
0 stars 1 forks source link

Contract Verification is Broken #125

Closed jbuice closed 5 months ago

jbuice commented 5 months ago

It appears that a change on Sourcify's side has broken contract verification.

Current requests for https://sourcify.dev/server/files/contracts/40 are being met with a 404 and:

"error": "Cannot fetch more than 200 contracts (1075 full matches, 152 partial matches), please use /contracts/{full|any}/40 with pagination", "message": "Cannot fetch more than 200 contracts (1075 full matches, 152 partial matches), please use /contracts/{full|any}/40 with pagination"

I am going to try modifying the script to use https://sourcify.dev/server/files/contracts/full/40, which appears to work and does not require pagination (yet).

jbuice commented 5 months ago

Committed changes to dev branch here: https://github.com/telosnetwork/api-telos-net/blob/develop/src/libs/sourcify.mjs