Questions tagged [substrate-parachain-template]
The substrate-parachain-template tag has no usage guidance.
114
questions
1
vote
1
answer
35
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
32
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
71
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 ...
1
vote
1
answer
30
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
36
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
50
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
89
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
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....
2
votes
1
answer
95
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
30
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
83
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
34
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
46
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
10
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
29
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
29
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
45
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
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 ...
0
votes
1
answer
73
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
17
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
26
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 ...
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,
...
2
votes
1
answer
53
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
29
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
0
answers
20
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 ...
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 ...
3
votes
4
answers
126
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 ...
3
votes
2
answers
111
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?
0
votes
1
answer
52
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 ...
1
vote
1
answer
50
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 ...
3
votes
0
answers
34
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 ...
3
votes
0
answers
39
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
...
3
votes
1
answer
47
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 ...
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 ...
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 ...
8
votes
1
answer
113
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 ...
5
votes
1
answer
136
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 ...
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 ...
2
votes
1
answer
61
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 ...
5
votes
1
answer
240
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-...
3
votes
1
answer
57
views
How to troubleshoot synchronisation issues between two nodes in a local Substrate blockchain network using server?
I am trying to set up a local blockchain network using the Substrate framework and two separate servers running on Alice (port 9944) and Bob (port 9944). However, I am encountering an issue where the ...
5
votes
0
answers
127
views
Subxt call to custom pallet method returning `wasm 'unreachable'` - (`TaggedTransactionQueue_validate_transaction`)
So I am trying to submit extrinsics to a running parachain node using subxt, but encounter a Codec error.
The parachain is based on the substrate-parachain-template, the relay chain is compiled ...
2
votes
1
answer
48
views
Cargo update error - " no matching package named `sp-beefy` found"
I am trying to run cargo update but I keep getting this error
error: no matching package named `sp-beefy` found
location searched: https://github.com/paritytech/substrate?branch=master
required by ...
2
votes
1
answer
41
views
Implementing contract token transfers between users in a Substrate-based DEX
I am working on a decentralized exchange (DEX) using the Substrate framework, and I need help with transferring non-native tokens between user accounts within the DEX.
Suppose a user creates a token ...
1
vote
0
answers
55
views
Why Balance is not deducted from source- signer in parity-bridges-common?
I was working on parity-common-bridges and was transferring balance from millau chain to rialto chain account using this script.
RUST_LOG=runtime=trace,bin-substrate=trace,bridge=trace \
./target/...
2
votes
1
answer
83
views
How to make orml-traits and orml-tokens compatible with sp-io version 7.0.0 in a Substrate project?
I am working on a Substrate project and want to use the orml-traits and orml-tokens crates in my custom pallet. I have added these crates to my Cargo.toml:
orml-tokens = { git = "https://github....
2
votes
2
answers
72
views
No authoring in network using custom keys, a local Rococo chain specification, and a modified substrate-parachain-template
I have read through the documentation on Substrate.io and have created a network of nodes in both a relay and parachain with custom keys. The network is running in Kubernetes (I would like to have ...
3
votes
2
answers
141
views
Is it possible to specify parachains in the Polkadot chain specification for local testing?
I noticed that the chain specification for Polkadot contains a paras field that is empty. I have not been able to find any documentation on what it is used for or if I can specify parachains there to ...
1
vote
0
answers
37
views
Parachain Implementation in local PC [duplicate]
We create a local parachain implementation in our PC followed by this steps:- (https://docs.substrate.io/test/set-up-a-test-network/) using cargo build --release steps i got error. I attached my ...
1
vote
2
answers
307
views
error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
Below is my block of code where I am implementing this trait Config. I am not sure what I am doing wrong here I keep getting error "the type parameter T is not constrained by the impl trait, self ...