Starting with the node-template, I switched my chains block authoring from Aura to Babe, which compiles fine but does not manage to finalize any blocks. I suspect it's a wrong genesis configuration. The RPC call for grandpa roundState shows the following:


Not sure what I can extract from that.

My question is which part of the code is responsible for proper finalization.

  • You can take a look at this template. BABE and GRANDPA come built-in to the template.
    – Burak
    Apr 20 at 15:07
  • Thanks, I'll check it out Apr 20 at 15:15
  • How many nodes are you running? Are blocks being produced? Apr 21 at 9:18
  • Are you getting an Unexpected epoch change error? Please include the errors coming from the terminal logs if there are any. This could be what you're looking for: github.com/paritytech/substrate/issues/4464 Apr 21 at 11:10

2 Answers 2


Run the command of windows Power shell for update nightly:

  1. rustup update nightly

  2. rustup target add wasm32-unknown-unknown --toolchain nightly

  3. rustup update

  4. after that run build command: cargo build --release


I eventually solved it by removing the AuthorityDiscovery pallet, which I had integrated as well and was most likely just misconfigured.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.