-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[FRAME] VersionedCall #1138
Copy link
Copy link
Open
Labels
C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.A 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.A 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.Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.I4-refactorCode needs refactoring.Code needs refactoring.
Metadata
Metadata
Assignees
Labels
C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.A 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.A 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.Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.I4-refactorCode needs refactoring.Code needs refactoring.
Type
Projects
Status
Backlog
Previous discussion paritytech/substrate#12740 (comment)
We should introduce a
VersionedCallthat's opaqueCall+transaction_versionand it can validate storedtransaction_versionwith current version and report error on mismatching.And replace all stored calls to use
VersionedCallto prevent unexpected bad execution due to breaking transaction version.