Skip to content

[FRAME] VersionedCall #1138

Open
Open
@xlc

Description

@xlc

Previous discussion paritytech/substrate#12740 (comment)

We should introduce a VersionedCall that's opaque Call + transaction_version and it can validate stored transaction_version with current version and report error on mismatching.

And replace all stored calls to use VersionedCall to prevent unexpected bad execution due to breaking transaction version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.C2-good-first-issueA task for a first time contributor to become familiar with the Polkadot-SDK.D1-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.I4-refactorCode needs refactoring.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions