Skip to main content

Questions tagged [relay-chain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
21 views

Custom hosted functions

We need to verify p256 signatures inside our parachain and after implementation we noticed that it's really slow inside WASM. It appears that one way to speed up this operation is to define a custom ...
Aramik M's user avatar
  • 151
0 votes
0 answers
14 views

i want to send XCM message from my own react app

Can anyone help on Xcm Message I want to send message from my parachain. It work when I use Polkadot.js/app.But its not working with my own frontend tool. It says incorrect format. Can anyone tell ...
manish singh's user avatar
0 votes
0 answers
17 views

How to perform remote transfer on a pure proxy account using xcm

Alice is a pure proxy account (keyless account) created on Kusama Relay Chain. Bob accidentally deposited DOT to Alice's address on Polkadot Relay Chain. Can Alice's controller craft an XCM call on ...
Chris Ling's user avatar
0 votes
0 answers
12 views

How to store and mapped XCM message on relaychain

I want to send a message (including name, age, gender, etc.) from a parachain to a relay chain. Then, I want to store and map that data with the particular account number on relaychain. Can anyone ...
manish singh's user avatar
0 votes
0 answers
15 views

How to send data from parachain to relaycahin

Hello everyone I am working on a project where I need to send some data or messages from my custom parachain to a custom relaychain, then I want to map with a particular account and store it on ...
manish singh's user avatar
0 votes
1 answer
37 views

Mangata parachain can not produce blocks on rococo

Mangata stopped producing blocks in Rococo. We have not done anything in this environment for a while. Every time the collator starts producing blocks, It prints the following entry log, 2024-02-20 08:...
Gonzalo Cerro's user avatar
0 votes
1 answer
31 views

Is there any oracle solutions available for substrate based relay chain?

We have a Substrate based relay chain where we need to fetch external data like important documents and specific data using off-chain workers right now. But these OCW doesn't work for reaching ...
Certusdevelopment's user avatar
1 vote
0 answers
43 views

Parachain doesn't produce blocks(collation wasn't advertised to any validator)

I'm currently engaged with the Polkadot relay chain version 1.1.0, and I've encountered an issue in the parachain where block production is not occurring. My configuration involves two validators in ...
Arunjot Singh's user avatar
0 votes
0 answers
46 views

Parachain does not producing blocks

When I link a relay chain to the parachain using the Local chain type, it successfully generates blocks. However, upon changing the chain type to live in chain_spec.rs, block production fails, and an ...
Arunjot Singh'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
  • 45
0 votes
0 answers
24 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
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
1 vote
1 answer
41 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
62 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
98 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....
go11li's user avatar
  • 1,241
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
44 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
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
0 votes
1 answer
63 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 ...
go11li's user avatar
  • 1,241
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
0 votes
2 answers
235 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 ...
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
0 votes
1 answer
42 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
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
0 votes
1 answer
58 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
174 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
55 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
2 answers
769 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
138 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
  • 344
4 votes
1 answer
60 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
314 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
100 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
48 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
1 answer
41 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
147 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
  • 529
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
3 votes
2 answers
98 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
0 votes
1 answer
69 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
111 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,335
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
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
143 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
65 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
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
39 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
103 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
81 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
109 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
48 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
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