Questions tagged [parachain-collator]
The parachain-collator tag has no usage guidance.
68
questions
1
vote
1
answer
84
views
Parachain not including all transactions from tx pool into block
Context
OriginTrail Parachain Mainnet is pushing significant amount of transactions (175k/day) - with tendency of growth
Collators are filling blocks up at ~25% of block weight, with a large pending ...
2
votes
0
answers
16
views
Did validators reject my parachain candidate or not recieve it at all?
I'm running a local network based on rococo-local with two relay chain validators and a single collator on parachain 2000. I've set up the network according to the tutorial Part 1 relay chain and Part ...
0
votes
1
answer
15
views
Understanding the Concept of "Best Block" in Parachains, Relay Chains, and Solo Chains
I'm currently working to gain a deeper understanding of blockchain technologies, specifically in the context of parachains and relay chains, as well as solo chains. I'm having some confusion regarding ...
1
vote
1
answer
17
views
How many collators are selected at a time or we can say same block height to authorise a parachain block?
"I'm trying to understand the mechanics of parachain block authorization in blockchain networks like Polkadot and similar multi-chain systems. Specifically, I'd like to know:
How many collators ...
1
vote
0
answers
41
views
Parachain stuck at authoring runtime upgrade block
Our testnet parachain is stuck exactly at the block in which the runtime upgrade is authored. It was authorized and enacted via parachainSystem as recommended. The upgrade neither includes any ...
1
vote
1
answer
29
views
Parachain node frequently halted for and again start syncing
We setup polkadot parachain node for asset and node frequently halted for and again start syncing.
Dockr image - parity/polkadot-parachain:latest (docker hub)
here is the docker compose file
version: “...
1
vote
0
answers
28
views
Moonbase parachain collator not producing blocks using zombienet
I am trying to run zombienet tests with 2 polkadot relay chain nodes and 1 parachain collator running the moonbeam binary. The test config is as follows: test.toml
[settings]
timeout = 1000
[...
0
votes
1
answer
17
views
Incorrect output of prometheus metrics
has anyone come across the fact that prometheus metrics from the collator and embedded relay chain return the official name - rococo_local_testnet, although the collator name in chainspec is ...
0
votes
0
answers
20
views
Collator starts after more than 10 hours on Azure cloud
I am migrating from AWS to Azure Cloud. I have two parachain collators running. One on AWS (yet to migrate) and another on Azure Cloud (migrated).
Whenever I restart the service on AWS, it hardly ...
1
vote
1
answer
26
views
Way to force a new Session when using pallet_session?
There are likely reasons for this, but I'm not sure what they are yet.
In a parachain using pallet_session, is there a way for sudo/root/governance to force a session to rotate faster/cut a session ...
1
vote
1
answer
48
views
Simulate block finalization error
I would like to simulate how our parachain reacts to events like,
A collator produces a block that is not accepted by other collators in that parachain. Aka a malicious collator.
The relay chain ...
5
votes
2
answers
153
views
How does a parachain collator reliably know which parachain block (candidate recipt) got included on the relaychain to build the next block on?
I understand the entire path of a parachain block upto and including its candidateReciept being "included" on the relaychain, and its erasure coded PoVs being available with the relaychain ...
2
votes
1
answer
75
views
How to fix slow parachain block time on rococo-local?
Hello valuable Substrate community,
I started two rococo-local relaychain validators and one custom parachain. The target block time of the parachain is 12 seconds, but the actual block time is 24 ...
1
vote
1
answer
86
views
How to run a collator node for a parachain in Docker?
I'm working through the Acquire a testnet slot tutorial and used the following command to spin up a collator node:
./target/release/parachain-template-node --collator \
--chain raw-parachain-...
3
votes
1
answer
20
views
How we can assign any name to our collator?
Is it possible to give the name to the collator so that public can see that the particular collator is of which person or entity.
if yes. How we can do it?
0
votes
0
answers
75
views
revert option is not working
We are facing a returning "Too many sibling blocks inserted" error then all 4 collator nodes would stop block production. I did some research into the issue and one of the possible solution ...
5
votes
1
answer
115
views
How many collators should a new parachain have if it doesn't have much load on it?
How many collators should a new parachain have if it doesn't have much load on it?
What should be the analysis criteria to decide how many collators we need for our product.
Can you share some ...
0
votes
0
answers
37
views
How to remove "--force-authoring"? Parachain development with multiple nodes
so I've followed all steps in the doc https://docs.substrate.io/tutorials/connect-relay-and-parachains/prepare-a-local-relay-chain/ .
But now I'd like to have more than just one collator/parachain ...
3
votes
1
answer
119
views
Can a parachain recover from a "block taking too long" error?
We have a parachain testnet running on a local relaychain based on rococo v2.
The Parachain is based on Cumulus (Polkadot and Substrate) v0.9.36 - so at the time of writing is the most up-to-date ...
3
votes
2
answers
163
views
Sync a parachain node quickly
Is it possible to use a snapshot of the relay chain to synchronize a Substrate-based parachain and run a parachain node, as the process of synchronizing the relay chain can take a significant amount ...
3
votes
2
answers
139
views
How can I connect my old Parachain to my new Relaychain?
How can I connect my old Parachain to my new Relaychain?
The first thing I did is to recreate the chainspec using export-state: (9062 is my last block)
./target/release/my-parachain export-state \
--...
4
votes
0
answers
27
views
Inclusion of Collator In Parachain Lease
I understand that allocating a collator node (or a few) to each chain w/a Parachain slot per era is overkill from a trust perspective. However, from a developer's perspective, it would reduce a ...
0
votes
0
answers
17
views
Polkadot fast sync mode not fast enough [duplicate]
I tried running a parachain, which requires syncing relaychain before syncing parachain. On quick exploration I found out there is a "fast" sync mode that speeds up the chain sync process ...
1
vote
1
answer
71
views
Are there any incentives for collators?
Collators create PoV blocks and provide them with candidate blocks from the parachian to the relay chain. So they don't do any of the block authoring since this is done by the validators.
But is there ...
4
votes
2
answers
152
views
Para header not found after moving to another relay chain
In one of our testnets, we moved the parachain (:= P) to another relay chain (:= R). Unfortunately, we have not been able to produce blocks after moving over. I think to have overseen/misinterpreted a ...
1
vote
1
answer
123
views
How can we start a node in warp sync mode?
Recently tried to run a collator node with --sync warp flags. The node exited with error "Warp sync enabled, but no warp sync provider configured". I was not able to find any more info on ...
0
votes
1
answer
107
views
How to use custom keys for parachain collator instead of predefined Alice or Bob?
There is example how to use Alice predefined account to run
./target/release/parachain-template-node \
--alice \
--collator \
--force-authoring \
--chain raw-parachain-chainspec.json \
--base-path /...
2
votes
2
answers
197
views
ParaChain blocks are not producing and finalising with Relay chain ( when using with custom specs)
Hope you are doing well.
I would need your valuable insights on an issue. Currently I m facing a problem with para-chain(rococo-local) set-up locally with relay chain(rococo-local).
I have setup Relay-...
0
votes
1
answer
26
views
Issuing extrinsics Polkadot.JS/api using collatorSelection
I'm trying to utilize the Polkadot.JS api to query chain parameters and issue transactions under collatorSelection an example of which is:
const x = api.query.collatorSelection.candidates();
console....
0
votes
1
answer
84
views
Is there a way to start an archive node of a parachain using snapshots? How can we export/ import relaychain blocks?
Using export-blocks command we can export parachain blocks but when trying to export relay chain blocks we received error field RelaychainSpec not found. Is there a way to take snapshot of a parachain ...
1
vote
1
answer
74
views
production-like parachain setup and launch
I wanted to try out starting multple parachain node and not only one node-collator like in this documentation.
How can I remove the force-authoring successfully and have multiple nodes that uses the ...
2
votes
1
answer
35
views
How does a validator know that a given collator can author?
When a collator passes a PoV to a validator, how does the validator know that the node is a valid collator for a given parachain, and that they had permission to author a block in that slot?
2
votes
2
answers
38
views
How to restart network from parachain data that was left on the disk?
I am trying to restart our network using data left by previous collators. How do I apply that data to start a new ( or the same ) network without losing data? I am looking for a solution similar ...
2
votes
1
answer
369
views
Parachain doesn't produce blocks (collation wasn't advertised to any validator)
I am running a local testnet of a 2-validator-node polkadot Relay Chain (release-v0.9.27) and I am trying to connect a parachain-template to it (v0.9.27), with custom keys. The Relay Chain is working ...
6
votes
2
answers
842
views
How to properly set session keys for Relay and Parachain with custom keys
The Goal:
Deploying a Relay Chain with Custom Validator Keys, that a Parachain can start collation successfully.
The Issue:
Using the key subcommand in the Relay, I wasn't able to properly insert the ...
5
votes
1
answer
303
views
Parachain not syncing with peers
An instance is already running a parachain collator node and is producing block.
Is collating: yes
[Relaychain] 🏷 Local node identity is: 12D3KooWLhkaoFSGV2JfXea1BGTEAv2R5PE4v2b1nHZMo1ZGtXDG
[...
2
votes
1
answer
42
views
Migrating from short-term to long-term slot on Rococo
We had a temporary slot with para_id 3026 previously and wanted to request for long-term slot (now that we have launched on Kusama) with the matching 2119.
We thought the procedure is to:
generate ...
3
votes
1
answer
91
views
New collators not producing blocks
I'm locally testing adding a new collator to two existing collators.
I managed to:
set the aura key,
ext.session.setKeys to set public key
rpc.author.insertKeys to set private key
add it to the ...
1
vote
1
answer
132
views
Collator nodes are not working
I recently got a parachain ie, 4058 via subport issues request form
When I was starting my parachain-collator-template with the following command
./target/release/parachain-collator
--bob
--collator ...
2
votes
0
answers
88
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 ...
1
vote
1
answer
53
views
Where to find the path for my relay chain when starting a parachain?
I'm trying to use this code to start a parachain (from this tutorial):
./target/release/parachain-collator \
--alice \
--collator \
--force-authoring \
--chain rococo-local-parachain-2000-raw.json \
--...
0
votes
1
answer
43
views
./target/release/parachain-collator not found
Following this tutorial.
I'm trying to run this command in the substrate-parachain-template folder (found here):
./target/release/parachain-collator build-spec --disable-default-bootnode > rococo-...
1
vote
2
answers
127
views
How to use command line to register Parachain locally
Regarding this tutorial "Connect a local parachain": https://docs.substrate.io/tutorials/connect-other-chains/local-parachain/, it requires
using GUI in a browser to do Parachain ...
2
votes
1
answer
78
views
Is there any benchmarking tool for parachain collator node performance?
Like there is e.g. polkadot benchmark machine --chain kusama --verify-duration 60 for the relaychain, is there something similar for the parachains? If not maybe some custom tool for measuring ...
0
votes
1
answer
361
views
While running collator with our paraId having error
We were trying to run collator with our paraID registered on polkadot. We are able to connect with the same process on rococo test network. But while we are connecting with polkadot. It's throwing ...
1
vote
0
answers
38
views
How to solve the error of 'Block invalid'
I'm facing this issue after starting parachain:
Note: I have changed the consensus mechanism from aura to nimbus(moonbeam use this).
Can anyone please help me to solve this issue ?
Thanks in advance !...
0
votes
1
answer
199
views
Relay chain argument error: Invalid input: Error parsing spec file: unknown field `relay_chain` at line 75 column 1
I Need to Connect to Local Parachain .
I did step by step every thing in this page : Substrate
in section Start a collator node i run this command :
./target/release/parachain-collator \
--alice \
--...
1
vote
1
answer
72
views
What is relaychain validator spec & collator spec
I was following these tutorial: start a local relay chain and connect a local parachain. Everything went fine.
Then next I tried to run another collator ( let's call this custom-parachain) binary ...
3
votes
2
answers
240
views
How do relaychain, parachain, collators, validators work together
I always get confused and never got a clear picture of all these terms: parachain, relaychain, collators, validator, stand-alone node etc.
I can't figure out a way to understand connecting all these ...
1
vote
0
answers
137
views
purge-chain for local testnets requires rococo-native feature enabled
I completed the Connect a local parachain tutorial and during cleanup purge-chain for the collator node failed:
% ./target/release/parachain-collator purge-chain --base-path /tmp/parachain/alice
Error:...