Skip to content

sp-api: Use EncodeAs for parameters #5951

@bkchr

Description

@bkchr

We should use EncodeAs for the parameters passed to a generated trait function. This should make it easier from the node side to call these runtime functions as in the end everything that encodes to the same type can be passed. Internally the parameters are forwarded using SCALE any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    D1-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.I5-enhancementAn additional feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions