Questions tagged [relay-chain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
54 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
  • 31
0 votes
0 answers
23 views

Designing a Mechanism to Improve the Efficiency of Applications Deployed on Parachains?

As I was going through the mechanism of working of parachains , I came across a scenario that currently the time taken from collator producing a block on a parachain, to that block becoming finalised, ...
Ipsa Gupta's user avatar
2 votes
0 answers
31 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
1 vote
1 answer
37 views

Incorrect transaction fee estimation when payout

I have been working on payout in my L0 relay chain blockchain .While making payout I have observed the transaction fee that is deducted from my account and the actual fee that is been deducted are ...
Karanvir Singh's user avatar
2 votes
1 answer
36 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
1 vote
1 answer
57 views

can't start test network using zombienet-macos

I am using polkadot from polkadot-sdk github repo and from this article to Simulate parachains in a test network, it says to checkout latest release of polkadot which might be git checkout release-v1....
Ganesh11's user avatar
  • 1,208
1 vote
0 answers
17 views

RelaychainwithChainbridge

We have tried to connect my relay chain with Chainbridge, but I got errors (SUB to ETH and ETH to SUB). I could not replace the existing relay chain with my relay chain. Please let me know the ...
support's user avatar
  • 135
0 votes
2 answers
38 views

How a parachain will connect to polkadot relaychain when the hundred parachain limit is reached?

There is a limitation of polkadot, such that a total of 100 slots for parachains. I have following questions: How many slots are auctioned till date? How a parachain will connect to polkadot ...
Syed Kamran's user avatar
2 votes
1 answer
28 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 ...
Ganesh11's user avatar
  • 1,208
0 votes
1 answer
44 views

Thread 'main' panicked at 'Validator in session 1 missing keys!'

Now I am acquiring testnet slots in rococo, In modify-the-chain-specification-file steps 5, it says Add the public key for your account to the session keys section. I added like this, but while ...
Ganesh11's user avatar
  • 1,208
2 votes
1 answer
48 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 ...
Ganesh11's user avatar
  • 1,208
0 votes
2 answers
129 views

unexpected argument '--ws-port' found

I am preparing local relay chain from this tutorial. Configure polkadot and added raw-local-chainspec.json file but while running first validator, it gives this error. ganesholi@Ganeshs-MacBook-Air ...
Ganesh11's user avatar
  • 1,208
2 votes
1 answer
28 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
0 votes
1 answer
38 views

How do you EOL/wind up/shutdown a relay chain and parachain?

Is there any documentation on how to gracefully and securely wind up a relay, parallel or on-demand (aka parathreads) chain? Here the chain(s) are in the wild/live/production. They could be either ...
Begley Brothers Inc's user avatar
3 votes
1 answer
64 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
0 votes
1 answer
51 views

How to recover a parachain?

I was working on Xcm functionality and using the function limitedTeleportAsset to transfer assets from one parachain to another parachain. I performed runtime upgrade in one parachain and suddenly ...
Ipsa Gupta's user avatar
5 votes
1 answer
146 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
1 vote
1 answer
50 views

Getting error while biding in relaychain for adding my parachain into relay-chain

I'm trying to connect my parachain to a relay-chain locally via auction. I bid in the auction and set the auction ending period to 2 minutes, The bidding process is done but after the bidding I got ...
Wakar Seraj Khan's user avatar
2 votes
1 answer
231 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
3 votes
1 answer
92 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
  • 148
4 votes
1 answer
48 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
0 votes
2 answers
165 views

Other: IO error: lock hold by current process, acquire time 1685847508 acquiring thread 196910: /tmp/chains/dev/frontier/db/LOCK: No locks available

I'm adding EVM compatibility to relay chain whie doing so I faced this error after running my blockchain.
Arunjot Singh's user avatar
-1 votes
2 answers
77 views

the trait bound `<RuntimeApi as ConstructRuntimeApi<sp_runtime::generic::Block<, OpaqueExtrinsic>>` is not satisfied

`the trait bound` `<RuntimeApi as ConstructRuntimeApi<sp_runtime::generic::Block<sp_runtime::generic::Header<u32, BlakeTwo256>, OpaqueExtrinsic>, sc_service::client::client::Client&...
Arunjot Singh's user avatar
0 votes
1 answer
45 views

How polkadot open their slot for auction?

I was make a private network in relay-chain and parachain and connected parachain into relay chain through sudo assign slot pallet & slot locally. but i want to add my parachain into relay-chain ...
Wakar Seraj Khan's user avatar
0 votes
0 answers
87 views

How to connect to Polkadot Relay-Chain through the code of moonbeam parachain?

I want to connect polkadot relay chain but i'm not able to select keys for the customSpec generated by the binary of Moonbeam-Parachain. The customSpec is this-> { "name": &...
Wakar Seraj Khan's user avatar
0 votes
1 answer
37 views

What happens when parachain is waiting for slot?

Is there a way to produce and finalize blocks when a parachain is waiting for a slot on polkadot. Lets consider a scenario where there is a parachain who has applied for the slot on polkadot but did ...
Shubham Gupta's user avatar
4 votes
2 answers
125 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
  • 509
5 votes
1 answer
238 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
3 votes
2 answers
79 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
  • 539
0 votes
1 answer
63 views

the trait `From<xcm::v3::NetworkId>` is not implemented for `AccountId`

I was making a new way to add sovereign accounts for a particular Network ID. Like in this https://github.com/paritytech/polkadot/blob/HEAD/xcm/xcm-builder/src/location_conversion.rs pub struct ...
Arunjot Singh's user avatar
2 votes
1 answer
65 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,130
3 votes
3 answers
454 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
54 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
120 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
1 vote
2 answers
55 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
2 votes
1 answer
107 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
31 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
0 votes
0 answers
100 views

How to migrate data from Solo to Relay Chain?

I'm trying to migrate data from one existing solo chain to relay chain. How should I achieve it? I`m taking ideas from Centrifuse chain which is migrating accounts and their balances, proxy,and ...
Arunjot Singh's user avatar
1 vote
1 answer
66 views

What is the purpose of Sovereign account? How is the balance of Soverign for a Parachain decided or calculated?

I think that balance of Sovereign account on Relay chain should be total token supply for that parachain? Basically what's the relation between soverign account balance and parachain? How does it ...
waahaha's user avatar
  • 11
1 vote
1 answer
76 views

Command to insert keys in Polkadot Relay Chain and Parachain for Custom Validators in ChainSpec?

I have the keys separate in a file. I don't want to insert keys for polkadot js app for each node running the relay chain. Same for collator for parachain. What is command to insert keys through CLI?
Rohitas_atr894's user avatar
0 votes
1 answer
36 views

How to get PeerID or local node identity in bash script to enable running other node using it as bootnode in a command in script?

I want to write a script that runs node01, node02, node03 in relay chain network setup. How do I get local node identity generated from running node 01? Also I am confused on how the first validator ...
Rohitas_atr894's user avatar
4 votes
2 answers
97 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
  • 1,896
2 votes
3 answers
96 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
  • 413
1 vote
1 answer
144 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
0 votes
1 answer
108 views

Xcm V2Traits Error UntrustedTeleportLocation

When I'm sending assets from relay chain to a parachain by using Limited Teleport assets. I`m facing this issue
Arunjot Singh's user avatar
1 vote
1 answer
81 views

What reference hardware can a parachain use to benchmark & generate weights?

The 2022 tracking issue for Substrate benchmarks mentions that Polkadot uses this reference hardware of this specification to generate weights: Reference Hardware The transaction weights in Polkadot ...
Nuke's user avatar
  • 1,822
2 votes
1 answer
275 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
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 ...
William Freudenberger's user avatar
2 votes
1 answer
86 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
69 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