paritytech / substrate-connect

Run Wasm Light Clients of any Substrate based chain directly in your browser.
https://paritytech.github.io/substrate-connect/
GNU General Public License v3.0
233 stars 80 forks source link

Have some kind of bot that automatically updates chain specs with new checkpoints #739

Open tomaka opened 2 years ago

tomaka commented 2 years ago

As part of https://github.com/paritytech/substrate-connect/issues/543, we need an automated way to update the checkpoint found in the chain specifications found in this repo.

I would suggest having a script automatically open pull requests, and maybe a GitHub workflow merging them automatically after verifying that the author is correct and that nothing has been altered apart from the checkpoint.

Considering that the content of the checkpoint is critical for security, this should be done internally within Parity.

tomaka commented 2 years ago

After talking to Kirill, we could do the following:

tomaka commented 2 years ago

https://github.com/paritytech/substrate/pull/10832 being merged, we can wait for 0.9.18

raoulmillais commented 2 years ago

Does this mean we can close this issue @tomaka ?

tomaka commented 2 years ago

Almost

It just doesn't really work.

raoulmillais commented 2 years ago

This is now working

tomaka commented 2 years ago

Re-reading it, we also need this:

Additionally, have another GitHub Action that, if a chain spec file is updated, checks whether smoldot can successfully connect to it and is on the same chain as a public JSON-RPC node.