Questions tagged [finality]
The finality tag has no usage guidance.
24
questions
1
vote
0
answers
11
views
how to solve Detected prevote equivocation in the finality worker issue?
I am getting this issue after performing the solution of this issue
How can we restart the chain if it becomes stuck during data migration?
Tried to run the existing chain with new chain spec and new ...
3
votes
0
answers
27
views
Are justifications of finalized block canonical?
Justifications are external to the signed part of the Substrate block, meaning they change after block is produced initially.
However, I'm wondering if there is any assumption in Substrate (or ...
3
votes
2
answers
105
views
How is an external observer supposed to reliably know when the GRANDPA authorities have changed?
The grandpa.proveFinality rpc provides the justification for the last block by a GRANDPA authorities set (of some set_id) and ancestry headers to prove the finality of a block within the same set_id. ...
3
votes
1
answer
72
views
Block Finalization Issue and Recovery on Ternoa's Testnet
Over the past few days, we have encountered an issue with block finalization on the Ternoa testnet. It appears that the finalization process stopped, possibly due to one of the validators being ...
9
votes
2
answers
218
views
Grandpa stuck at "Polling"
I am trying to spin up a small BABE PoS network of four nodes and not able to get GRANDPA to start.
It's hard to know what exact pieces of information to provide, here are some notes.
A few notes:
I ...
4
votes
1
answer
103
views
GRANDPA finality proofs validation and equivocations
I was exploring GRANDPA verification algorithm and stumbled upon this code by the link
https://github.com/paritytech/finality-grandpa/blame/master/src/lib.rs#L494
Source
This is the part of method ...
5
votes
2
answers
106
views
What's the best practice to check whether a block hash is in the canonical chain or not in Substrate?
Given a block hash that could be at any height, it's seemingly inefficient to traverse from the tip to the height and then compare if the block hash matches to see whether it's in the canonical chain. ...
2
votes
0
answers
43
views
Finality lagging
After about 50 blocks my block production slows down because none of the nodes are voting in the finality rounds. I'm working off a codebase that I added the grandpa pallet to, so it's possible I may ...
3
votes
1
answer
124
views
How can I make my node generate blocks only when they receive transactions?
In substrate node template we can see that blocks are producing and finalizing if no transaction happening so how I can make my node to only generate blocks when there are transactions happening.
0
votes
1
answer
63
views
Can a parachain experience a fork?
Under what circumstances will a parachain experience a fork where blocks later can be rearranged?
Blocks are created by the collators and if one of the collators are offline and misses its turn there ...
4
votes
1
answer
121
views
Finality 502 blocks behind production on our relay testnet
After fixing stalled finality which was due to 5 of 13 valdidators broken, finality is now 502 blocks behind, but it is not catching up to production.
We get this error:
2022-09-29 20:13:03 Safeguard ...
2
votes
4
answers
295
views
Cannot produce and finalize blocks with 2 node peer
I want to connect 2 nodes via custom chain specification via Internet IP public
https://docs.substrate.io/tutorials/get-started/trusted-network/
I. STEP 1: Create Aura and grandpa
--- NODE 01----
...
3
votes
1
answer
207
views
Why are finalized blocks zero?
I've created a local live staging network with 1 bootnode and 3 validators. They all run in separate VMs.
After block #52 I saw Backing off claiming new slot for block authorship: finality is lagging. ...
1
vote
0
answers
48
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 ...
3
votes
0
answers
103
views
Why has finalization stopped?
So I have a validator_count of 2, and 1 as minimum_validator_count. My validator is always online. I had my friend make another validator, had it enter the active validator set, and then join in as a ...
5
votes
1
answer
93
views
Web3 Foundation - Accountable light clients via BLS multisignature rollup
I listened to a talk at zksummit7 titled "Web3 Foundation
Accountable light clients via BLS multisignature rollup" given by Alistair from web3f. My interpretation of the talk is that ...
1
vote
0
answers
39
views
How would adding more weight to grandpa voting of my initial authority at genesis affect finality?
Currently I am starting my node with one authority, and the genesis config for grandpa looks like this :
grandpa: GrandpaConfig { authorities: vec![] },
Would it be possible to assign some privileged ...
5
votes
2
answers
219
views
How to find how many transactions are pending from address to be added to block?
In my application, I need to fire multiple transactions from same address, and want to create statusCheck() function, which will let me know how many transactions of total are still pending to be ...
0
votes
2
answers
75
views
What are the various consensus mechanism and how are they best leveraged [closed]
Just looking for a further rationale around each consensus mechanism and what they aim to solve.
9
votes
1
answer
154
views
GRANDPA not finalizing with 2 of 3 nodes on network
I setup a small 3 node network that is using BABE and GRANDPA. When all 3 nodes are connected, it can produce blocks and finalize them. When 2 of the 3 nodes are connected, it can produce blocks but ...
6
votes
2
answers
138
views
What is the internal logic of `--force-authoring` flag?
From where do I get the internal logic of --force-authoring flag?
Here is my scenario:
I've added a custom chain-spec that is similar to the default one where we are setting the environment for --dev ...
4
votes
1
answer
239
views
How to use noteStalled to recover from a finality lagging chain?
From the documentation:
Grandpa:
noteStalled (delay: u32, best_finalized_block_number: u32)
interface: api.tx.grandpa.noteStalled
summary: Note that the current authority set of the GRANDPA finality ...
8
votes
1
answer
437
views
Recovering from stalled finality (babe/grandpa)
While experimenting with a relay chain testnet, Decentration and I ran into this issue with multiple validators on the same node, stalled finality and got the chain into slow block-making mode.
We ...
12
votes
1
answer
529
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
...