Skip to content
This repository was archived by the owner on Aug 9, 2026. It is now read-only.
This repository was archived by the owner on Aug 9, 2026. It is now read-only.

Could not serialize the data: TypeError: Cannot read properties of undefined (reading 'plutuslist_new') #247

Description

@iburzynski

Using lucid v0.10.7, I receive the following serialization error when I use applyParamsToScript with my script and parameter:

Uncaught Error: Could not serialize the data: TypeError: Cannot read properties of undefined (reading 'plutuslist_new')
    at serialize (VM279 lucid-cardano.js:3981:13)
    at Object.to (VM279 lucid-cardano.js:3985:16)
    at applyParamsToScript (VM279 lucid-cardano.js:4819:85)

The script used is the compiledCode value for a basic parameterized vesting contract written in Aiken. The parameter value is a pubkey hash value for the vesting recipient:

applyParamsToScript(
"5901ce010000323232323232323223222232533300832533300953330093232323300100100222533301100114a026464a66601e66e3c008030528899802002000980a0011bae30120013758601e60206020602060206020602060206020601200260026010006294454cc029241376d7573745f62655f7369676e65645f6279286374782e7472616e73616374696f6e2c2062656e656669636961727929203f2046616c73650014a02a666012646464a66601866e1d200200113232533300e3371200e002294454cc03d2412474785f6561726c696573745f74696d65203e3d206d61747572697479203f2046616c73650014a06eb4c048004c02c00854cc035241134e6f6e2d66696e69746520696e74657276616c0014a0601a6ea8004c008c024c008c024004c038c03cc03cc03cc03cc03cc03cc03cc020c004c02000c5288a99805249426d7573745f73746172745f6166746572286374782e7472616e73616374696f6e2e76616c69646974795f72616e67652c206d6174757269747929203f2046616c73650014a029408c038004526153300949011856616c696461746f722072657475726e65642066616c73650013656375a0066eb80048c014dd5000ab9a5738aae7555cf2ab9f5742ae89", 
["3a5039efcafd4c82c9169b35afb27a17673f6ed785ea087139a65a5d"])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions