Questions tagged [block-production]
The block-production tag has no usage guidance.
23
questions with no upvoted or accepted answers
6
votes
0
answers
71
views
No block produced/validated on parachain for almost a day
We upgraded our testnet Shibuya yesterday, for which we have our own validator network, and block production stalled for almost a whole day. The block on which it was stuck was the one where the ...
4
votes
0
answers
92
views
How does primary slots and secondary vrf slots work?
I am struggling to understand some behaviour on a custom 7 validators solochain.
Currently using babe with a 1/4 primary slots probability, the block time is 20 sec, and we have ...
3
votes
1
answer
48
views
How to add vector fields in the block header?
I want to add a vector fields in the block header of substrate chain. Is this possible?
If yes, How can i do that? Do we have any reference code for it?
Thanks in advance
3
votes
0
answers
41
views
How to assign some number to the miners in POW substrate chain?
I'm working with POW substrate chain and I want to assign some number to the miners according to the work they have done earlier. Is it possible? If yes can we fetch those numbers during the block ...
3
votes
0
answers
65
views
Recovering a Bricked (no block production) Parachain on Rococo, Kusama, & Polkadot
Introduction
In the Substrate ecosystem, a bricked parachain – one that has halted block production – presents a unique set of challenges. This situation can occur in various environments, notably on ...
3
votes
0
answers
50
views
How to add custom process without exceeding the block time?
The question can seem weird but here is the geist of it :
In a custom chain with 20 sec block time, we have a different format of header that includes more information. At the end of the block, we ...
3
votes
0
answers
109
views
Proposals not getting processed, Consensus Issues on Rococo
Context:
A parachain in Rococo is missing more block slots than I would expect it to at fairly random times.
Version: Polkadot v0.9.42
Number of Collators: 3
Logging:
(Perhaps I am missing the correct ...
3
votes
0
answers
83
views
Validator node dropping peers after producing a block followed by a reorg
We are seeing some strange behaviour with some (not all) of our validator nodes. We are using the standard BABE / GRANDPA pallets.
When it is their turn to produce a block, they produce the block, but ...
2
votes
0
answers
57
views
Recovering chain from a backup
Prerequisites:
A small subset of validators controlled by my company and a much larger set of external validators.
A backup of the db folder was created 4 hours (1 epoch) before an incident.
...
2
votes
0
answers
78
views
How to solve Failed to get runtime version issue?
I recently upgraded the chain from version 0.9.36 to 1.0.0. Following this update, when attempting to perform a runtime upgrade on the blockchain, I encountered an error that resulted in the chain no ...
2
votes
0
answers
108
views
Collator not producing block
Changes made
In previous version things were fine. In this change, I added pallet-staking in the collator.
Here Staking is pallet_staking::{Pallet,...}
Configured pallet_staking with reference ( but ...
2
votes
0
answers
51
views
Rococo Status & Issues
lately Rococo has been producing blocks very slowly.
Not sure if this is the best place to ask, but where can we find more information about this? Or where to ask about this if this isn't the correct ...
1
vote
0
answers
22
views
Parachain stopped producing block with: Failed to finalize election round. reason ElectionError::Fallback("`NoElection` cannot do anything.")
My config:
Relay chain - Westend local
Parachain1 - Westmint
Parachain2 - Custom parachain
I have launched relay chain and parachains then reserved paraId for my parachains.
Connected parachains to ...
1
vote
0
answers
22
views
parachain not producing blocks?
I am using relay chain of polkadot with branch 1.1.0 of polkadot sdk.
i have my relay chain running with era and epoch time of 2 minutes each . while changing lease period to 10 minutes and keeping ...
1
vote
0
answers
27
views
How to Fetch data at the time of block production?
Can I implement a pallet which holds the node information and at the block production time we can use this node information?
1
vote
0
answers
42
views
No Block production with multiple nodes / AURA
I have a solo-chain with PoA consensus, MILLISECS_PER_BLOCK of 1000, 5MB of MAX_BLOCK_SIZE, and 400ms of MAXIMUM_BLOCK_WEIGHT. The chain produces and finalizes blocks when there's a single authoring ...
1
vote
0
answers
109
views
how to solve Networking or low-level protocol error?
I am running solochain so randomly my chain stop producing blocks and giving this error.
Every time when chain giving this error i need to stop and re-run the node.
substrate version using: v1.0.0
Can ...
0
votes
1
answer
14
views
Running some large computation
What will happen if I loop through 1000 or 10000 values in a vector. Will the transaction fail or block time will increase?
0
votes
1
answer
16
views
How to Sync Two Boot Nodes for Redundancy?
I'm working on a blockchain project and want to ensure uninterrupted block production even if one of our boot nodes goes down. How can we effectively sync two boot nodes so that if one goes offline, ...
0
votes
0
answers
14
views
What is the expected time from sending a extrinsic to a block it's in being finalised?
Can we predict an average time derived from consensus, async backing and what other factors can impact this time?
Thanks
0
votes
0
answers
99
views
Rococo testnet Parachain is not Producing Blocks?
I'm trying to connect to rococo testnet as a parachain using own customized parachain !
It works locally and produces blocks when connected to local Relay chain
But when connected to Rococo it doesn't ...
0
votes
0
answers
29
views
Our on_initialize function takes approximately 5 seconds, this breaks the parachain eventually
We need to run an on-initialize function that runs for 5 to 6 seconds. The error we run into when we do this is "Block production took too long".
We have tried to increase the ...
0
votes
0
answers
163
views
Node Does not Produce Blocks
I've been trying to implement a PoW consensus for my node. It was based on node template, the recipe and Kulupu's implementation of PoW. So I did quite a lot of changes to the node template and thus I'...