paritytech / polkadot-sdk

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

revert finalized blocks #4491

Open xlc opened 6 months ago

xlc commented 6 months ago

I would like to have the revert subcommand to be able to revert finalized blocks

Also interesting that this is completely unused https://github.com/paritytech/polkadot-sdk/blob/d5fe478e4fe2d62b0800888ae77b00ff0ba28b28/substrate/client/service/src/client/client.rs#L1120

burdges commented 6 months ago

Can you be more specific? You want chains that run their own grandpa to be able to revert? Or you want a parachain to be able to revert after backing, inclusion, etc?

xlc commented 6 months ago

This is about relaychain/grandpa. I want to use it to fix a broken testnet