kilt-node icon indicating copy to clipboard operation
kilt-node copied to clipboard

[CHAIN MAINTENANCE] Use `polkadot-parachain-lib`

Open kianenigma opened this issue 1 year ago • 3 comments

Hey there!

Based on your former feedback, one of the features of polkadot-parachain-lib is that it allows for u64 block number. This means you can remove your node implementations entirely, use polkadot-parachain-lib, and create your custom instances of it with your chain-spec and block number type.

See here for an example

https://github.com/AcalaNetwork/acala-node

Be aware that we might rename the crates, but otherwise the API is stable.

https://github.com/paritytech/polkadot-sdk/issues/5566

Do you need any help? please ping me or @serban300 :)

kianenigma avatar Sep 03 '24 13:09 kianenigma

Although, I just realized that this crate is no released, so you might need to wait for the next polkadot-sdk release :)

kianenigma avatar Sep 03 '24 13:09 kianenigma

It would also probably mean we can now split node and runtime repos, so that we can move faster on the node side without having to always catch up with the runtime.

ntn-x2 avatar Sep 13 '24 08:09 ntn-x2

You can also stay in the same repo, but start using the the proposed method above.

kianenigma avatar Sep 18 '24 11:09 kianenigma