Questions tagged [substrate-parachain-template]
The substrate-parachain-template tag has no usage guidance.
136 questions
0
votes
0
answers
24
views
Zero-knowledge Cross-Chain
I have an idea about integrating ZKP (Zero-Knowledge Proof) into XCM communication. Currently, when performing cross-chain operations between two parachains, we need to go through a relay and open an ...
0
votes
1
answer
5
views
Issues with Dependency Version Mismatch and Rust Toolchain Version for Frontier polkadot-v1.8.0 Branch
Problem Description I cloned the polkadot-v1.8.0 branch of the Frontier repository and am attempting to build the Substrate chain using Cargo. However, I'm encountering issues with mismatched library ...
0
votes
0
answers
15
views
substrate chain's blocks are getting mined very slow all of a sudden
Earlier the blocks were getting mined with an average of 6 seconds. Now the average time to mine a new block since a day is 9 minutes. All the validator nodes are active.They're running their nodes on ...
1
vote
1
answer
30
views
Invalid JSON blob: unknown field `allianceMotion`
I am trying to generate raw json file but encounter with this error
./target/release/dip-consumer-node-template build-spec --chain plain-parachain-chainspec.json --disable-default-bootnode --raw > ...
0
votes
0
answers
9
views
How are boot nodes fetched for system chains / parathreads?
The Polkadot JS API api.rpc.syncstate.genSyncSpec, that fetches boot nodes for the relay chains, is not an available function for system chains.
What is the process of gathering boot nodes for system /...
1
vote
2
answers
12
views
Where to get more ROC? I am trying to add parathread. Need 150 ROC. Can only get 100 from faucet
I am trying to follow the "reserve a parachain identifier" on the Rococo network. https://docs.substrate.io/tutorials/build-a-parachain/acquire-a-testnet-slot/
I installed pokadot{js} ...
0
votes
1
answer
29
views
How to convert PoA to nPOS and POS?
I am using Substrate parachain template from here.
How I can change it consensus from PoA to:
nPoS
PoS (pure PoS not nPoS)
0
votes
2
answers
29
views
looking for resource to create my evm compatible chain with native currency
I am looking for a quick and existing solution to fork and create my own EVM-compatible chain with a native currency
0
votes
0
answers
21
views
Error while configuring pallet_ethereum in substrate parachain template
I am trying to configure pallet_ethereum with my substrate parachain.
I am following along this tutorial:
https://www.youtube.com/watch?v=V9KfvhoqLJ4
I implemented following commits as per ...
1
vote
1
answer
30
views
How to run substrate-parachain-template as parachain testnet?
everyone.
Could you please help me on deploying my substrate-parachain-template as testnet?
https://docs.substrate.io/test/set-up-a-test-network/
I am following this reference. But I receive this ...
0
votes
1
answer
22
views
Error While Configuring EVM in Substrate Parachain: Conflict in 'syn' Crate
I am trying to configure the EVM for my Substrate parachain and encountered an issue during the process. I am following along with this tutorial.
After implementing this commit as instructed in the ...
0
votes
0
answers
16
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.
0
votes
0
answers
48
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 ...
0
votes
0
answers
14
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 ...
0
votes
1
answer
29
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 ...
0
votes
2
answers
77
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....
2
votes
2
answers
53
views
Unified accounts / AccountId20
Is there any parachain template to start with , that uses unified accounts as default like moonbeam ?
0
votes
1
answer
49
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 ...
0
votes
0
answers
29
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
...
0
votes
0
answers
19
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-...
1
vote
2
answers
65
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?
4
votes
1
answer
146
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 ...
2
votes
0
answers
50
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 ...
0
votes
0
answers
51
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 ...
0
votes
1
answer
77
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
...
1
vote
1
answer
69
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
./...
1
vote
1
answer
40
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 --...
0
votes
0
answers
101
views
Rococo testnet Parachain is not Producing Blocks? [closed]
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 ...
2
votes
1
answer
46
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 ...
0
votes
1
answer
92
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 ...
-1
votes
1
answer
60
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 }
...
2
votes
2
answers
129
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
--> /...
1
vote
1
answer
106
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....
2
votes
1
answer
249
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::...
0
votes
1
answer
54
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/...
1
vote
1
answer
113
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 ...
1
vote
1
answer
38
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.
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 ...
0
votes
1
answer
20
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?
2
votes
1
answer
37
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
...
2
votes
1
answer
67
views
What is the difference between port vs rpc-port?
While starting node, what is the difference between --port and --rpc-port?
0
votes
1
answer
68
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 ...
2
votes
1
answer
58
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 ...
0
votes
1
answer
91
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 = [&...
0
votes
1
answer
22
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?
1
vote
1
answer
47
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 ...
4
votes
1
answer
91
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,
...
2
votes
1
answer
71
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 ...
1
vote
1
answer
36
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 ...
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 ...