paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.88k stars 688 forks source link

Fix fallout after removing Polkadot & Kusama native runtimes #603

Closed bkchr closed 3 months ago

bkchr commented 1 year ago

After this pull request got merged, the polkadot node will not depend on the Polkadot & Kusama native runtimes anymore. This brings some substantial changes with it, that may lead to more complicated usage for things like benchmarking etc.

As the node will not be able to provide things like the Polkadot and Kusama dev chain specs we should add some tool to the fellowship repo to generate these chain specs. Things block overhead and benchmark extrinsic will also not work anymore as they rely on the native runtime.

Certain tools like staking-miner/generate-bags still depend on the native runtime of Kusama/Polkadot. They will also need to be rewritten in a way to get rid off the native runtime.

### Tasks
- [x] Write a tool to generate the chain specs in the fellowship repo
- [ ] Move benchmarking stuff over to use a runtime api for constructing the benchmarking data
- [x] Move existing tooling (staking-miner, generate-bags) to use a runtime api/subxt
bkchr commented 1 year ago

Apparently staking-miner with subxt already exists :) https://github.com/paritytech/staking-miner-v2

bkchr commented 1 year ago

We also need to remove the native runtimes of all the system parachains.

We also still have some imports of the native runtimes that still need to be fixed.

Polkadot-Forum commented 1 year ago

This issue has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/polkadot-release-analysis-v1-2-0/4451/1