Skip to content

fix(scope): expectation signatures structured output is not keyed like configured in contract output element #294

Description

@antoinemzs

Description

structured output sent as

{ "signatures" : { "targets".... } }

Contract output element is configured as

expectation_signature = ContractOutputElement(
    type=ContractOutputType.ExpectationSignature,
    field="expectation_signature",
    isMultiple=True,
    isFindingCompatible=False,
    labels=["scan"],
)

Environment

  1. OS: { e.g. macOS 14, Windows 11, Ubuntu 22.04, etc. }
  2. Version: { e.g. 1.2.3 }
  3. Other environment details:

Reproducible steps

Steps to create the smallest reproducible scenario:

  1. { e.g. Run ... }
  2. { e.g. Click ... }
  3. { e.g. Error ... }

Expected output

Actual output

Additional information

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

    Structured outputbugType: something isn't working (fix:).solvedResolved (should be linked to the solving PR).technical improvementTechnical refactor or improvement is needed

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions