Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Run "PT+PT" with the class of PlainText #28

@xhuan28

Description

@xhuan28

I have two const PlainText a and b and I would like to do a+b. As the class of PlainText only support the addition of PT and CT, I converted a and b to BigNumber with the conversion function. However, I met the following error:
image
that seems the conversion function only support non-const conversion. Can the conversion of const PlainText to BigNumber be supported some time in the future as well?

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