paritytech / polkadot-sdk

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

[FRAME] Remove deprecated calls from treasury pallet #3800

Closed muharem closed 2 months ago

muharem commented 6 months ago

As part of the deprecation process https://github.com/paritytech/polkadot-sdk/issues/138 the next call needs to be removed:

Scope:

mentor: @muharem

chungquantin commented 5 months ago

Hi, I am keen on working on this issue

chungquantin commented 5 months ago

@muharem I have created a PR for this issue. Could you please help me to review? There is only only task I am not sure.

set explicit coded indexes for Error and Event enums, remove unused variants and keep the same indexes for the rest;

I am trying to find an example of other people works for explicit coded indexes used in this codebase but could not find one. Could you suggest me an approach for this?

muharem commented 5 months ago

@chungquantin just commented, let me know if something not clear yet

shawntabrizi commented 5 months ago

I would like to also include these changes into any new release of the treasury pallet: https://github.com/paritytech/polkadot-sdk/pull/3970/files

So that we have only one set of breaking changes to the treasury pallet.