Skip to content

script_context_voting test gives inconsistent results #1203

@agaffney

Description

@agaffney

The script_context_voting test in the uplc crate produces inconsistent results in the generated script context structure. The redeemer datum is encoded with def-length encoding within the TxInfo and indef-length encoding for the redeemer field in ScriptContext::V3. This is because the redeemer datum is reproduced "incorrectly" in the test def. This doesn't actually impact the test, but it's very confusing when using the test as a reference point for a separate UPLC implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🪣 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions