Skip to main content

Questions tagged [relay-chain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
2 answers
194 views

Is it possible to add 2nd order Relay-chain to Relay-chain

I was questioning this for a while. Having parachains are generally good for security and the ecosystem. As seen in the Polkadot whitepaper, 2nd order Relay-chain is mentioned. I believe it is not ...
Burak's user avatar
  • 903
7 votes
2 answers
426 views

Scalability beyond Asynchronous Backing

With the release of Asynchronous Backing, a good performance increase is expected (lower block time, increased block weight). Which further efforts are being undertaken with regards to Polkadot ...
Erasmus's user avatar
  • 71
7 votes
1 answer
116 views

From a parachain, how to get the current relay chain block number?

From a parachain, how to get the current relay chain block number? I would like to write a hook using the relay chain block as a trigger.
Timothée Delabrouille's user avatar
7 votes
2 answers
1k 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 ...
Alexandre Ribeiro's user avatar
5 votes
1 answer
282 views

(Parachain) cannot create a runtime error=Other("cannot deserialize module: unknown Opcode(192)")

I was following the substrate SDK official documentation for building a parachain on the Polkadot blockchain, and in the connect a local parachain tutorial(https://docs.substrate.io/tutorials/build-a-...
Akansha Banerjee's user avatar
5 votes
1 answer
310 views

How to deploy a parachain node and connect it to an existing relay chain node?

I deployed a relay chain node using the provided docker container: docker run \ --detach \ --name=polkadot \ --volume="$(pwd)/data:/data" \ --network=host \ --entrypoint=...
Rtsne42's user avatar
  • 379
5 votes
1 answer
172 views

Local Relay Stops Finalizing

I've been working on getting a test relay up and running in the cloud (Docker containers running on Debian virtual machines) for remote testing, and we've got everything running. The relay chain is ...
Romulus10's user avatar
  • 121
5 votes
0 answers
53 views

How to properly use backed-up DBs for parachain recovery?

We are currently backing up our parachain DB on a daily base: /path/to/db/full/, I thought it can be used for recovery when the DB gets accidentally deleted/corrupted. But it seems that once the ...
Kailai's user avatar
  • 383
4 votes
2 answers
125 views

Collation wasn't advertised to any validator. version: polkadot-v0.9.36

When i am start running my parachain i am getting this issue Collation wasn't advertised to any validator. During this issue the parachain cannot produce and block also. Please help me if you have ...
Pankaj's user avatar
  • 2,021
4 votes
1 answer
121 views

Where and how is the information about a parachain block stored within the relay chain?

I'm reading the "parachain implementers guide" here and I understood that the parachain block journey ends when it is finally "approved" and included in the relay chain. My ...
Davide Galassi's user avatar
4 votes
1 answer
90 views

Pallets extrinsics not showing in a relay-chain/parachain setup

I followed the steps in this cumulus tutorial, all is running fine and smooth, but I can't find the template-pallet or any other pallet I try to add in the parachain. Is it normal ? I've read that: ...
lucgerrits's user avatar
4 votes
2 answers
144 views

How to configure polkadot + parachain locally to validate parachain block each 6 sec?

I want to spin up parachain LOCALLY faster. each 6 sec. How to configure polkadot with parachain? I have seen this and this and this post So my zombienet contains polkadot(obviusly😊) and two ...
rust.dev's user avatar
  • 519
4 votes
1 answer
298 views

Parachain not producing blocks ? Error: Could not decode the head data

I try to start a parachain using the tutorial and don't want to use the polkadot-launch so I can fully understand the underlying structure. The relay chain works and I the parachain & relay chain ...
lucgerrits's user avatar
4 votes
1 answer
133 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 ...
Ramsey - Decentration's user avatar
4 votes
1 answer
82 views

How can I ask a parachain which relay it is connected to?

I can get a parachain's name and a parachain's id from the RPC system calls, but how can I get it to hint at which relay chain it is connected to? (The genesis hash of the relay would do)
Squirrel's user avatar
  • 3,849
4 votes
1 answer
85 views

Failed to Decode Error?

I was trying to transfer nft from relay chain to parachain through transact instruction of Xcm. Here is snippet of code I am using Xcm(vec![Transact { origin_kind:OriginKind::Xcm, ...
Ipsa Gupta's user avatar
4 votes
1 answer
55 views

Error- Connecting Parachain to Relay Chain: Unsupported or Invalid BabeApi Version

I have already run a relay chain on two ports, but when I try to connect my parachain to the relay chain, I encounter the following error. I have attached a screenshot of the error to this message. I ...
support's user avatar
  • 135
4 votes
2 answers
179 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 ...
William Freudenberger's user avatar
3 votes
3 answers
263 views

Can I access storage of relay chain pallet from my parachain?

For eg: I want to get the balance of an account in Polkadot before I can execute the extrinsic in my parachain. Is it possible to do so?
Fenn Saji's user avatar
  • 145
3 votes
2 answers
254 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 ...
Sudip Ghimire's user avatar
3 votes
2 answers
298 views

Parachain blocks stopped finalizing after adding another collator

I had setup the relay chain and parachain (collator-1) in a local testnet environment on different servers and blocks was finalising for both. But after 1 month I tried adding another collator(...
Shivam Kushwaha's user avatar
3 votes
2 answers
97 views

How much do relaychain node hardware requirements dictate the parachain collator hardware requirements?

Cumulus ties the parachain and the relaychain together, allowing to exchange essential information necessary for the block production of the parachain. Since a parachain collator must build a block (...
sea212's user avatar
  • 549
3 votes
3 answers
1k views

1010: Invalid Transaction: Transaction has a bad signature

I am getting this error on the block explorer "Extrinsics" tab the moment I add a debug related code into a Hello pallet into the node-template repo. E.g: #[pallet::call_index(0)] #[pallet::...
abhi3700's user avatar
  • 131
3 votes
1 answer
137 views

Upgrade parachain without sudo

I have a parachain with no sudo pallet. However, in order to perform an upgrade, the first step authorize requires Root origin. As a workaround, I have tried to run ForceScheduleCodeUpgrade from the ...
magecnion's user avatar
  • 244
3 votes
1 answer
56 views

Horizontally scaling one chain

Is it possible to combine a relay chain with several compatible parachains to create one single logical chain with shared account balances?
user2959071's user avatar
3 votes
2 answers
142 views

cannot bind unix socket: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } error

I'm getting the following error while running rococo alice validator node in kubernetes cluster: cannot bind unix socket: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system&...
Oleg Kalenik's user avatar
3 votes
1 answer
84 views

RPC node is rebooting itself from time to time

Node is working correct but there is a moment that shows the following error messages and reboots: 2023-10-12 19:39:26 Accepting new connection 170/10000 2023-10-12 19:39:26 Accepting new connection ...
Diego Forziati's user avatar
2 votes
3 answers
146 views

What should be ideal hardware specifications for a Parachain?

We are working on a parachain and planning to integrate with Polkadot relay chain. When we deployed our parachain on testnet and tried to integrate with Rococo, we realised that less than 500 GB and 8 ...
Boleng's user avatar
  • 523
2 votes
1 answer
227 views

How to ensure parachain block validity without fishermen

In the Polkadot white paper and W3F research papers and lots of other articles, Fishermen is frequently described. This Fishermen (parachain full node) role checks validity of blocks by pointing out ...
Shunsuke's user avatar
  • 432
2 votes
1 answer
284 views

When there is a new Chain Spec version how do we know where to add things?

We're updating our relay chain test and its time to create a chain spec. When i generate a plain chain spec (from polkadot repo) it seems i still get some raw output: ./target/release/polkadot build-...
Ramsey - Decentration's user avatar
2 votes
1 answer
56 views

Error with block built on Import failed: Unexpected epoch change

I am using release-v1.0.0 of polkadot. I am going through this tutorial and running two relay chain node but got this error, Error with block built on ...
go11li's user avatar
  • 1,241
2 votes
1 answer
109 views

Can we migrate the existing solo chain blocks to another substrate chain?

I've been working on data migration from the existing solo chain to the Relay Chain. I've already fetched most of the data but i need to know about fetching the blocks. Is there any way to fetch the ...
Arunjot Singh's user avatar
2 votes
1 answer
38 views

Error generating Raw Chainspec from Plain Chainspec in Substrate

I am trying to generate raw chain spec from plain chain spec, but it won't let me: ✗ ./target/release/node-template build-spec --chain plain-local-chainspec.json --raw > chain-spec.json Error: ...
Gogosama's user avatar
2 votes
1 answer
114 views

Error while generating polkadot relay chain specs

I am using following link to run polkadot relay chain and connect substrate parachain node with it as parachain. https://docs.substrate.io/tutorials/connect-relay-and-parachains/prepare-a-local-relay-...
Syed Kamran's user avatar
2 votes
1 answer
78 views

Get sender accountid when transfering assets from relaychain to parachain

I have a local rococo relay chain and my own parachain. For AssetTransactor type of xcm_executor I use my own implementation of TransactAsset trait. When I send tokens from relaychain to parachain ...
N1ght's user avatar
  • 31
2 votes
1 answer
209 views

Parachain keeps trying to start collation over and over again, without success. But no Error or Panic occurred

I'm using the Parity Tech Github as source for the Relay, with some simple modifications in the node\service\src\chain_spec.rs and cli\src\command.rs to build a personalized chain specification file. ...
Alexandre Ribeiro's user avatar
2 votes
3 answers
142 views

How do I modify the chain spec for a local relay chain to have an additional relay chain validator? (I already have two: Alice and Bob)

I am referring this documentation on preparing a local relay chain in which they have provided a plain sample relay chain spec. Also, I have cloned this release locally. The documentation says that ...
RRR's user avatar
  • 43
2 votes
1 answer
59 views

What version of polkadot relaychain and substrate-parachain-template can be used?

I am following this tutorial: https://docs.substrate.io/tutorials/build-a-parachain/prepare-a-local-relay-chain/ While downloading the source code for relaychain I encountered the error: "fatal: ...
Syed Kamran's user avatar
2 votes
1 answer
33 views

Rococo Slot Request problem on adding file

When requesting Rococo slots here, there are two options: Upload your Genesis Head (genesis state) - Do not submit a compressed file. Upload your Validation Code (genesis runtime Wasm) - Do not ...
go11li's user avatar
  • 1,241
2 votes
1 answer
32 views

Is it possible to start a parachain from block number greater than 1?

Basically I am asking if we can slot in an existing parachain that has been running for sometime, so has a few hundred blocks into a relay chain like kusama/polkadot. I know the relay chain requires ...
Purple_Turtle's user avatar
2 votes
1 answer
107 views

How to create a Polkadot chain spec for development purposes?

I want to setup my own custom Relay chain for development purposes. Is there a way to generate a local chain spec for Polkadot (Rococo) something like this: ./target/release/polkadot build-spec --...
Bruno's user avatar
  • 8,315
2 votes
2 answers
614 views

1002: Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm `unreachable`

I've added pallet-nft and pallet-uniques in Relay Chain. All the things are working fine but when I'm signing the transaction in the pallet-uniques fn create(collection,admin), it is showing me this ...
Arunjot Singh's user avatar
2 votes
1 answer
327 views

Transfer Assets with XCM

We have successfully created the HRMP channel between two parachains and a relay chain.We want to transfer assets from one parachain(p1) to another parachain(P2), the channel is created from P1 to P2 (...
Arunjot Singh's user avatar
2 votes
2 answers
298 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-...
Anuj Dhiman's user avatar
2 votes
0 answers
21 views

Has anyone made a barebones rococo relay chain?

I am curious if anyone made a rococo relay chain using node-template? Similar to this (https://github.com/buraktabn/relay-chain) but using rococo instead of kusama.
Steven Yao's user avatar
2 votes
0 answers
29 views

Remove validators from relay chain [duplicate]

what are the commands to remove both validators (Alice and bob) from Relay-chain in Linux OS ?
Deepak Chaudhary's user avatar
1 vote
2 answers
64 views

Send upward message to unlock parachain

After PR5451, it is possible to "unlock" parachain so that the state can be set by the parachain account on relaychain. But its unclear how to send this message from the parachain to ...
1x2454's user avatar
  • 150
1 vote
1 answer
151 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 ...
Mojo's user avatar
  • 95
1 vote
2 answers
503 views

Bulding polkadot (release-v0.9.24) fails while compiling a dependency (prost-build v0.10.4)

I'm trying to build Polkadot as a relay chain for a tutorial but compiling one of its dependencies fails! I may be missing some tools. Could you help? Platform: MacOS (Intel) Compiling prost-build v0....
stano's user avatar
  • 238
1 vote
1 answer
173 views

In custom Rococo staging and Westend staging network parachain is not producing blocks

I have made the rococo relay chain and parachain network successfully following this tutorial, and was also able to generate the network with custom keys on relay chain and parachain with rococo-local ...
Shubham Gupta's user avatar