Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
11 votes
1 answer
152 views

Understanding service.rs in substrate-node-template

Recently, I have been trying to understand the block import for Aura and Grandpa but I don't understand some parts in substrate-node-template/node/service.rs: 1- In the new_partial() method when ...
dadzerlaze's user avatar
  • 1,093
2 votes
2 answers
107 views

No authoring in network using custom keys, a local Rococo chain specification, and a modified substrate-parachain-template

I have read through the documentation on Substrate.io and have created a network of nodes in both a relay and parachain with custom keys. The network is running in Kubernetes (I would like to have ...
Niels Vistisen's user avatar
0 votes
1 answer
28 views

Node template based network runs with multiple peers using the same identity

I noticed some interesting behavior while running a local test net on my machine. I booted up a network between the default Alice and Bob accounts that are used in all the tutorials, and they ...
domoarigato's user avatar
0 votes
1 answer
200 views

NPoS with Aura - no planned era

UPDATE: The election always finalizes with Election Fallback and set of validators doesnt't and neither does the Era, but sessions keep increasing. I understand that an era is just a couple of ...
Muhammad Talha Dar's user avatar
1 vote
0 answers
51 views

Can I Delete AURA and GRANDPA?

In this tutorial it is explained how to create a PoW node. Neither AURA nor GRANDPA are used throughout the tutorial. Also here it's stated that such node will not finalize produced blocks. The ...
CREESTL's user avatar
  • 484
6 votes
2 answers
181 views

Advantages of BABE/GRANDPA over Aura for sovereign chains when weights are equal

I've read through various documentation on consensus algorithms, along with the fellow SE post What is the difference between Babe, Aura, and Grandpa?. I'm unsure what the posited advantage of BABE/...
Kayaba's user avatar
  • 125
9 votes
1 answer
102 views

How does a collator or validator choose their signing key?

If I were to insert multiple (valid) author keys over RPC, how does a collator or validator choose which key to sign with when producing a block? As far as I know this cannot be set on start-up.
Gregory Hill's user avatar
8 votes
2 answers
415 views

How to revert a bricked chain due to bad setCode

I upgraded a chain that uses Grandpa/Aura with code for instant seal by mistake. I believe it may be possible to revert some blocks: https://github.com/paritytech/substrate/pull/1479 But cannot find ...
twhitehead's user avatar
12 votes
1 answer
794 views

What is the difference between Babe, Aura, and Grandpa?

Substrate supports "pluggable consensus" so a developer can choose from among several consensus algorithms. The main Substrate repository contains four algorithms: Aura Babe Proof of Work ...
JoshOrndorff's user avatar
  • 1,211