MeshJS / mesh

TypeScript open-source library to advance Web3 development on Cardano
https://meshjs.dev
Apache License 2.0
221 stars 65 forks source link

Not possible to unlock script input without datum #360

Open twwu123 opened 2 weeks ago

twwu123 commented 2 weeks ago

Describe the bug It was previously impossible to unlock script inputs without a datum, and so Mesh has sanity checks to disallow script inputs without any datums. However, since PlutusV3 onwards, it has become possible for Datums to actually be None.

Expected behavior It should be possible to attach script inputs into transactions without Datums.