Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Avoid re-defining the entire Proxy type per-runtime  #12007

@kianenigma

Description

@kianenigma

Just thinking out loud: re-writing all of this HIGHLY risky logic every time seems very dangerous to me. Ideally, we would have a base proxy builder that constructs the default NonTransfer, Any, Cancel etc, and we only extend it with the custom ones.

Originally posted by @kianenigma in paritytech/cumulus#1346 (comment)

The answer can be a builder pattern or a macro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I7-refactorCode needs refactoring.J0-enhancementAn additional feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions