Skip to main content

Questions tagged [substrate-parachain-template]

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Unable to build substrate-parachain-template?

As i was building substrate-parachain-template on tag polkadot-v1.0.0, I encountered the following error Can anyone guide me through this.
Ipsa Gupta's user avatar
0 votes
0 answers
41 views

Mitigating Single Point of Failure in a Distributed Blockchain Network Setup(Substrate & Polkadot)

We have deployed a blockchain network using five cloud machines distributed across various geographical locations, with each machine running a specific node type crucial for the network’s ...
Humayun Ahmad Rajib'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
1 answer
17 views

How to add new collator to a running parachain at runtime?

I have a parachain with kusama as relay chain and it is live. I am looking for the right set of steps to add new collators to the running chain in runtime. The initial chainspec does not have any info ...
Mrigesh Patni's user avatar
0 votes
1 answer
29 views

Build Error with `tikv-jemalloc-sys v0.5.4+5.3.0-patched` in Substrate Node Template

I am encountering a build error when running cargo build --release on a Substrate Node Template project. Here is the error message: error: failed to run custom build command for `tikv-jemalloc-sys v0....
Humayun Ahmad Rajib's user avatar
1 vote
1 answer
31 views

Unified accounts / AccountId20

Is there any parachain template to start with , that uses unified accounts as default like moonbeam ?
Faiz Sarwar's user avatar
0 votes
0 answers
16 views

Why my collator node produce only #1 block and not finalize it?

I am trying to running collator node by using this tutorial, I have secured testnet and everything is configured by my side but the issue is just #1 block produce but it is not finalizing. Can someone ...
Ganesh11's user avatar
  • 1,241
0 votes
1 answer
43 views

execute_block, initialize_block, apply_extrinsic, finalize_block, offchain_worker exists for struct `Executive` but its trait bound were not satisfied

I developed substrate parachain with custom pallets. Actually I wanna add OCW functionality to one of my pallets. After I updated runtime code and added CreateSignedTransaction implementation I tried ...
Artem Levchuk's user avatar
0 votes
0 answers
28 views

Parachain Not Compiling

We are updating parachain template in v1.6.0,when building by using cargo build --release, we're getting weird error. Can someone suggest what we are doing wrong? Github repo ErrorFile Link ...
Ganesh11's user avatar
  • 1,241
0 votes
0 answers
18 views

Not able to add any crates in substrate-node-template

I am working on substrate.where I want to use some of create like pinata_sdk,Openssl etc but I am not able to import or add in cargo.tmol file where I add I get this error: ` --- stderr Compiling sp-...
manish singh's user avatar
1 vote
1 answer
44 views

Must-have Parachain pallets

Which are the absolute must-have pallets that need to be added to a runtime to make it parachain-compatible? I am looking at the parachain template. Are the XCM helpers necessary?
lime's user avatar
  • 121
4 votes
1 answer
133 views

Parathread not producing block on Rococo registered using CoreTime

I am trying to list a parathread on Rococo using core time. I have followed all instructions mentioned here. I followed below steps: I registered a ParaId and onboarded Parathread as usual but didn't ...
Boleng's user avatar
  • 497
1 vote
0 answers
41 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
43 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
0 votes
1 answer
75 views

Up-to-date substrate template

Since code was migrated to polkadot-sdk monorepo, what is the recommended way to obtain up-to-date parachain or standalone substrate template? I am interested in something that is migrated to v1.5.0 ...
Klapeyron's user avatar
  • 136
1 vote
1 answer
67 views

Rococo testnet Parachain is not peering and Producing Blocks

I found similar questions but it doesn't help me. I am struggling to peers two node and produce block. Everything works fine in rococo-local, Below is the process that I followed, collator-node01 ./...
Ganesh11's user avatar
  • 1,241
1 vote
1 answer
36 views

unexpected argument 'key' found while generating keys

I want to generate keys for my parachain-template-node but using this command gives me error. ganesholi@Ganeshs-MacBook-Air xcav-parachain % ./target/release/parachain-template-node key generate --...
Ganesh11's user avatar
  • 1,241
0 votes
0 answers
98 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 ...
Muhammad Tabish's user avatar
2 votes
1 answer
42 views

Error on Simulate parachains in a test network

I am trying to Simulate parachains in a test network and following this tutorial but I am getting this error. Someone please advice what I am doing wrong? Error: Error: Command failed with exit ...
Ganesh11's user avatar
  • 1,241
0 votes
1 answer
65 views

What does Alice polkadot account mean?

In the polkadot account there is a private key and a public key. What does the predefined account "Alice" means? I mean in the pre defined account is "Alice" is the title of the ...
Syed Kamran's user avatar
-1 votes
1 answer
56 views

Polkadot v43 failed to send issue with tx pool

Zombienet + polkadot v43 two errors: DEBUG tokio-runtime-worker txpool: [0xd7165975185efe4f63425ab930021c89f166fda20d0e4f564f61c9ebd491640e] Error importing: TooLowPriority { old: 13700, new: 513 } ...
rust.dev's user avatar
  • 519
2 votes
2 answers
116 views

How to fix the trait `parity_scale_codec::MaxEncodedLen` is not implemented for `parity_scale_codec::Compact<sp_runtime::Perbill>`?

When building my parachain, I run into the error: error[E0277]: the trait bound `parity_scale_codec::Compact<sp_runtime::Perbill>: parity_scale_codec::MaxEncodedLen` is not satisfied --> /...
Ganesh11's user avatar
  • 1,241
1 vote
1 answer
93 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,241
2 votes
1 answer
215 views

panicked at 'assertion failed: `(left == right)`

I am having a setup of relay chain and two parachains are connected to it, I was running some test cases and during that i encounter an error thread 'test::...
Ipsa Gupta's user avatar
0 votes
1 answer
47 views

How to test parachain after slots acquired?

I have acquired parachain in rococo test chain with parachain 4,285. After that I try to start the collator node using following command as shown in Acquire a testnet slots tutorial, ./target/release/...
Ganesh11's user avatar
  • 1,241
1 vote
1 answer
107 views

Getting Command failed with exit code when running substrate-parachain-template version polkadot-v1.0.0 with zombienet

I am getting the below error when I build and run substrate-parachain-template using zombienet. I am using the latest release (master branch of substate-parachain-template) which uses the latest ...
Neo's user avatar
  • 323
1 vote
1 answer
36 views

why assigned rococo parachain slots in parathread?

My assigned slots Id in rococo, it was listed in parachain-overview section but now it is in Parathread section with leases 456 - 460. What is the meaning of this? Someone please explain.
Ganesh11's user avatar
  • 1,241
1 vote
1 answer
49 views

What after slot assigned?

We now assigned slots here. and I can see my paraId in Network->Parachains->Overview section. I also started the collator node but not blocks are producing. this is log after running collator ...
Ganesh11's user avatar
  • 1,241
0 votes
1 answer
18 views

Token Symbol doesn't change in extend-parachain-template

I have changed properties of token here github repo, but symbol of token doesn't change while running node in dev mode ./target/release/parachain-template-node --dev. Is this because of parachain?
Ganesh11's user avatar
  • 1,241
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 ...
Ganesh11's user avatar
  • 1,241
2 votes
1 answer
61 views

What is the difference between port vs rpc-port?

While starting node, what is the difference between --port and --rpc-port?
Ganesh11's user avatar
  • 1,241
0 votes
1 answer
62 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,241
2 votes
1 answer
55 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,241
0 votes
1 answer
82 views

Can't configure the test network settings

I am trying to Configure the test network settings. I am following this tutorial. This is my config.toml file [relaychain] default_command = "./binaries/polkadot/polkadot" default_args = [&...
Ganesh11's user avatar
  • 1,241
0 votes
1 answer
20 views

No block are producing in substrate parachain template

I am using substrate parachain template. I run node using ./target/release/parachain-template-node --dev command. No block are producing. Should I need to add pallet-grandpa as well?
Ganesh11's user avatar
  • 1,241
1 vote
1 answer
44 views

When sending Transact XCM Instruction, how to specify the pallet which contains the extrinsic to execute on target parachain?

When sending Transact XCM Instruction from parachain A, how do I specify (or how does the xcm-executor know) the pallet / pallet id on the target Parachain B which contains the extrinsic to be ...
Neo's user avatar
  • 323
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
2 votes
1 answer
63 views

How to programmatically execute xcm message from Patachain A to execute an extrinsic on Parachain B

I have a local relaychain setup with 2 parachains Parachain A and Parachain B . I will like to execute an XCM message from Parachain A to execute an extrinsic on Parachain B using the Transact ...
Neo's user avatar
  • 323
1 vote
1 answer
32 views

New to Rust: Seeking Clarification on RuntimeEvent Type Resolution in Substrate-Parachain-Template

I'm a newcomer to Rust and have been working with the Substrate-Parachain-Template. So far, I've managed to get everything to compile and run without issue, which is a good start. However, I've come ...
AnonDao's user avatar
  • 23
0 votes
0 answers
24 views

Unpredicatable Block time in parachain?

I connected two parachains with Relay chain. While working on xcm functionality, I discovered that block time of parachain changes. Generally block time of parachain in parachain-node-template is 12 ...
Ipsa Gupta's user avatar
0 votes
2 answers
58 views

No governance within substrate-parachain-template

Does anyone know why the template provided in this repo doesn't include any governance? I noticed that the Cumulus repo does include a sudo. I run a parachain using this template and was unable to ...
magecnion's user avatar
  • 242
3 votes
4 answers
136 views

Getting ump.InvalidFormat at relaychain when sending XCM message

I am getting ump.InvalidFormat when I sending a XCM / UMP from local a local parachain setup to relay chain to. the message instruction is[1][withdraw, buydeposit, deposit] on the relaychain I am ...
Neo's user avatar
  • 323
3 votes
2 answers
119 views

error: `<C as TrieCacheProvider<H>>::Cache<'_>` does not live long enough

I'm adding ping pallet in the parachain and i'm facing this issue Can anyone guide me through this?
Ipsa Gupta's user avatar
0 votes
1 answer
65 views

How to use pallet Instance in Xcm?

I was using xcm and while filling parameters in destination, I encountered through a field Interior:xcmv2multilocationJunction and i selected x1 there . After that there is x1:xcmv2Junction which ...
Ipsa Gupta's user avatar
1 vote
1 answer
52 views

Can we modify storages using Cross Chain Message Passing(XCM)?

I am currently working on transferring NFTs from one chain to another using XCM. To accomplish this, I need to remove the NFTs from the storage of the source chain and add them to the storage of ...
Ipsa Gupta's user avatar
3 votes
0 answers
37 views

the function or associated item `offchain_worker` exists for struct

i wanna add a new pallet in substrate runtime.rs this is the contract of the file : #![cfg_attr(not(feature = "std"), no_std)] /// Edit this file to define custom logic or remove it if it ...
Mr Coder's user avatar
  • 923
3 votes
0 answers
43 views

How to execute/apply extra logic when xcm call delivered and deposit is succeed? or register callback?

I want to execute extra logic when xcm call deliver and deposit succeed. I can pass extra parameters in beneficiary MultiLocation with a description what todo next. I have a MultiLocation ...
rust.dev's user avatar
  • 519
3 votes
1 answer
50 views

Local Parachain blocks not getting finalized - logs show websocket error

I am following the build a parachain however, after I run the parachain collator and the relay chain validators, and then make a transfer from one account to another (Alice to Bob) on the parachain ...
Neo's user avatar
  • 323
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
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