Skip to content

Reference input scripts are in wrong format #252

Closed
@nielstron

Description

@nielstron

Describe the bug
looking at the bytes of a utxo.output.script I see b'\x01\x00\x002222222222222222222222222222222222222...' while the real script looks like this b'Y,\x1e\x01\x00\x0022222222222222222222222222222222222...'

PlutusV2Script(cbor2.loads(x)) == utxo.output.script passes, but it should be utxo.output.script == x --> one wrapping of cbor is missing. This is painful for later, where the hashing of the script fails and produces the wrong policyId for token minting

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