warp-contracts/warp

[BUG] Failed to evaluate the state of U contract by warp sdk

xiaojay opened this issue · 1 comments

Describe the bug
Failed to evaluate the state of U contract by warp sdk locally

To Reproduce
the evaluate script is https://github.com/xiaojay/warptest/blob/main/src/u2.ts

Expected behavior

Screenshots

https://6xyaozsp5s25dqfthiwpuf655bkf2fpuvg3waq7eqw3dl2kw6z5a.arweave.net/9fAHZk_stdHAszos-hfd6FRdFfSpt2BD5IW2NelW9no

Desktop (please complete the following information):

  • OS: ubuntu
  • Node.js version: v18.14.2
  • warp-contracts SDK version: 1.4.14
  • warp-contracts plugins being used: no
  • Browser: no
  • Version: no

Additional context
I think the exception is raised by the related contract i-2T9huigZODi0XnvN6ZegJwc3Z-F4i3PCsAt4_ppyw set a ""useConstructor":true" evaluate option, but don not have __init func.
I walkaround this issue by this commit xiaojay@72d6dfb

fixed in 1.4.18