Skip to content

Support secret bytes20 #441

@lydiagarms

Description

@lydiagarms

Overview

Currently in starlight we do not support secret bytes, where fixed or dynamic sized, only public bytes can be used. We should support bytes20.

Tasks

Describe the solution you'd like

  • Remove the error message that currently is in place when a secret bytes20 is created in zolidity.
  • Create a test contract that includes examples of secret and public bytes20.
  • Add support for bytes20 into orchestration.
  • Add support for bytes20 into circuit, we can treat them like addresses.
  • Ensure the contract passes successfully.
  • Update the documentation, specifically the readme and status.md to take into account this change.

Optional

Describe alternatives you've considered
We considered supporting strings but we need to have a fixed size.

Definition of done

When is this task complete?
A contract with both secret and public bytes20 should be working successfully.

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