Skip to content

[FRAME] VersionedCall #1138

Open
Open

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.

Activity

  1. added
    C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.
    D1-mediumCan be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
    C2-good-first-issueA task for a first time contributor to become familiar with the Polkadot-SDK.
    I4-refactorCode needs refactoring.
    on Mar 13, 2024
  2. changed the title [-]VersionedCall[/-] [+][FRAME] VersionedCall[/+] on Mar 13, 2024
  3. 0xsouravm commented on Dec 12, 2024

    @0xsouravm

    Hello! I would like to take this up with your help. Is this still available?

  4. xlc commented on Dec 13, 2024

    @xlc
    ContributorAuthor

    I don't think anyone else is working on this so it is available
    But before you start coding, please share here how you plan to implement this just so we can help to ensure it is on the right direction.
    The last thing I want to see is you make a huge PR making breaking changes to 5 pallets

  5. deleted a comment from asggWa on Jan 12, 2025
  6. Stephenlawrence00 commented on Jan 15, 2026

    @Stephenlawrence00
    Contributor

    @Nathy-bajo I'm taking this if you're not working on it anymore. Been working on it already.

  7. Nathy-bajo commented on Jan 15, 2026

    @Nathy-bajo
    Contributor

    @Stephenlawrence00 Sure, go ahead. I have a few things on my plate already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions