ar-io / arns-service

Koa microservice that leverages Warp to support the ArNS Portal and ar.io observers.
https://api.arns.app
GNU Affero General Public License v3.0
19 stars 4 forks source link

feat(warp): bump warp-contracts to leverage safeGet on smartweave #52

Closed dtfiedler closed 10 months ago

dtfiedler commented 10 months ago

This bump is needed so we can properly evaluate safeGet interactions on the testnet-contract

"height": 1293667,
"input": {
"function": "tick"
},
"owner": "QGWqtJdLLgm2ehFWiiPzMaoFLD50CnGuzZIPEdoDRGQ",
"valid": false,
"error": "TypeError: SmartWeave.safeArweaveGet is not a function\n    at tick (eval at create (/usr/src/app/node_modules/warp-contracts/lib/cjs/core/modules/impl/HandlerExecutorFactory.js:163:42), <anonymous>:2480:26)\n    at JsHandlerApi.handle [as contractFunction] (eval at create (/usr/src/app/node_modules/warp-contracts/lib/cjs/core/modules/impl/HandlerExecutorFactory.js:163:42), <anonymous>:2661:16)\n    at JsHandlerApi.runContractFunction (/usr/src/app/node_modules/warp-contracts/lib/cjs/core/modules/impl/handler/JsHandlerApi.js:103:76)\n    at async JsHandlerApi.handle (/usr/src/app/node_modules/warp-contracts/lib/cjs/core/modules/impl/handler/JsHandlerApi.js:34:16)\n    at async CacheableStateEvaluator.doReadState (/usr/src/app/node_modules/warp-contracts/lib/cjs/core/modules/impl/DefaultStateEvaluator.js:186:32)\n    at async CacheableStateEvaluator.eval (/usr/src/app/node_modules/warp-contracts/lib/cjs/core/modules/impl/CacheableStateEvaluator.js:62:16)\n    at async HandlerBasedContract.readState (/usr/src/app/node_modules/warp-contracts/lib/cjs/contract/HandlerBasedContract.js:122:28)",
"id": "PHJiuSm1GHdHOmmKN54fOlUypNt3gNssBrD1gExuhOA"
},