Skip to content

Grandpa

INFO

This section describes how to restart finalization on Testnet if it has stalled due to insufficient validator nodes.

If grandpa stalls on Testnet, do the following things:

  1. Locate the latest finalized block (eg: 123,456)

  2. Create proposal with Alice/Bob/Charlie:

councilCollective.propose:
    threshold: 3
    call:
        doas.doasRoot:
            grandpa.noteStalled:
                delay: 10
                bestFinaliedBlockNumber: 123456
    lengthBound: 1000
  1. Locate the proposal hash and index. (Network > Explorer > Events > CouncilCollective.Proposed)

  2. Cast votes with Alice, Bob and Charlie:

councilCollective.vote:
    proposal: HASH
    index: INDEX
    approve: Yes
  1. Close proposal with Alice/Bob/Charlie:
councilCollective.close:
    proposalHash: HASH
    index: INDEX
    proposalWeightBound:
        refTime: 50000000000
        proofSize: 30000
    lengthBound: 1000