paritytech / polkadot-sdk

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

Runtime Side: Remove `validation_code` runtime API #956

Open pepyakin opened 3 years ago

pepyakin commented 3 years ago

After we land https://github.com/paritytech/polkadot-sdk/issues/2343 and all nodes upgrade we can remove the API for querying the current validation code since all uses are satisfied with the validation_code_by_hash API and no users of validation_code API are left.

rphmeier commented 3 years ago

Does this require a runtime upgrade or simply node upgrades?

pepyakin commented 3 years ago

paritytech/polkadot-sdk#2343 is focused on the node side and requires node upgrade. After it is done and in the wild and there is no dependence on the runtime API we can proceed with this one, which requires a runtime upgrade.