Questions tagged [substrate-parachain-template]

Filter by
Sorted by
Tagged with
0 votes
0 answers
1 view

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,217
0 votes
1 answer
29 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
25 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,217
0 votes
0 answers
15 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
38 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
2 votes
0 answers
70 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
  • 445
0 votes
0 answers
17 views

Getting inconsistent block time even after implementing asynchronous backing in parachain

i am getting block time of parachain 12 to 30 sec even after implementing asynchronous backing in it.what can be the issue??
arpit's user avatar
  • 1
1 vote
0 answers
38 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
42 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
69 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
  • 111
1 vote
1 answer
58 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,217
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,217
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
39 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,217
0 votes
1 answer
50 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
54 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
  • 509
2 votes
2 answers
106 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,217
1 vote
1 answer
81 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,217
2 votes
1 answer
178 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
40 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,217
1 vote
1 answer
101 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
  • 293
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,217
1 vote
1 answer
48 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,217
0 votes
1 answer
17 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,217
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,217
2 votes
1 answer
51 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,217
0 votes
1 answer
59 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,217
2 votes
1 answer
53 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,217
0 votes
1 answer
81 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,217
0 votes
1 answer
19 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,217
1 vote
1 answer
40 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
  • 293
4 votes
1 answer
81 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
58 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
  • 293
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
56 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
  • 200
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
  • 293
3 votes
2 answers
117 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
61 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
  • 893
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
  • 509
3 votes
1 answer
49 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
  • 293
1 vote
1 answer
53 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
8 votes
1 answer
138 views

Support WeightV2 in a substrate chain?

I started working from the substrate-parachain-template and added the pallet_contracts to the runtime. When I open the Contracts UI, I'm getting the error message that states the node does not support ...
Snowmead's user avatar
  • 625
5 votes
1 answer
152 views

How to make a parachain runtime upgrade

I´m trying to make a parachain runtime upgrade without a migration, as a way to understand the process before trying with a migration. I´m using version 0.9.40 of polkadot for the relay chain and the ...
Xavier's user avatar
  • 415
4 votes
2 answers
139 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
2 votes
1 answer
66 views

How do i verify i have the correct version of substrate binaries and libraries as required by substrate-parachain-template?

How do I verify I have the correct version of substrate binaries and libraries as required by substrate-parachain-template, and How do I write a rust-toolchain.toml file that matches the versions ...
Akansha Banerjee's user avatar
5 votes
1 answer
274 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