I want to start a chain with Babe/Grandpa consensus. I'm able to start block production using Toolbox->RPC->author->insertKey()
in UI. But I don't know how to start block finalization.
I've tried setting grandpa keys the same way I sat babe keys in Toolbox->RPC->author->insertKey()
:
- keyType:
gran
- suri:
//Alice
- publicKey:
0x88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee
(I also triedsr25519
version0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d
)
And it didn't help.
Here you can see that block number increments properly while the finalized counter remains #0:
2020-01-16 15:03:19 Idle (1 peers), best: #101 (0x56ce…7c6a), finalized #0 (0x885c…85d7), ⬇ 0 ⬆ 0
2020-01-16 15:03:21 Imported #102 (0xe984…2776)
2020-01-16 15:03:24 Idle (1 peers), best: #102 (0xe984…2776), finalized #0 (0x885c…85d7), ⬇ 0.1kiB/s ⬆ 10 B/s
2020-01-16 15:03:27 Starting consensus session on top of parent 0xe98487a704c4fb20239df06ba4e8dda9e57c3fa1813b97819c16311c4ac92776
2020-01-16 15:03:29 Idle (1 peers), best: #102 (0xe984…2776), finalized #0 (0x885c…85d7), ⬇ 72 B/s ⬆ 76 B/s
2020-01-16 15:03:31 Imported #103 (0xc3ef…1438)
2020-01-16 15:03:34 Idle (1 peers), best: #103 (0xc3ef…1438), finalized #0 (0x885c…85d7), ⬇ 0.1kiB/s ⬆ 10 B/s