paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.85k stars 669 forks source link

Deprecate `ValidateUnsigned` and `#[validate_unsigned]` #2436

Open ggwpez opened 11 months ago

ggwpez commented 11 months ago

Part of https://github.com/paritytech/polkadot-sdk/issues/2415

ValidateUnsigned can be deprecated with a rust attribute and #[validate_unsigned] by emitting a proc-macro-warning.
The logic should be moved to TransactionExtension.

philoniare commented 8 months ago

@ggwpez can you assign this to me?

kianenigma commented 7 months ago

@philoniare you are free to start, would be good if you open a draft PR sooner to signal you are working on this.

kianenigma commented 7 months ago

FYI, this should ideally wait until #2160 is done.

philoniare commented 7 months ago

Thanks for the reminder, I'll just wait until #2160 is done. Once it's in, this ticket looks pretty straightforward.

kianenigma commented 6 months ago

Note that the above PR is merged, but reverted and is now tracked in https://github.com/paritytech/polkadot-sdk/pull/3685