Questions tagged [parachain]
Questions about blockchains connected to relay chains like Polkadot or Kusama.
395
questions
0
votes
0
answers
3
views
Parachain stops producing blocks after runtime upgrade
I'm testing a parachain runtime upgrade locally, and after calling the enactAuthorizeUpgrade, the parachain stops producing blocks, and in the logs I start seeing the following error: Collation wasn't ...
1
vote
1
answer
35
views
How does parachain upgrade works?
Let we have a running parachain on kusama and want to do a runtime upgrade. New runtime is bigger then the old one by 100 kb. New runtime will be stored on the relay chain after runtime upgrade ...
2
votes
0
answers
15
views
Is it possible to register parathread with compact.compressed wasm file
In official guides they use wasm built with export-genesis-wasm command to register a parathread/parachain:
https://youtu.be/BaWcQxKRFmM?t=134
https://docs.substrate.io/tutorials/build-a-parachain/...
0
votes
0
answers
18
views
generate types from chain does not work. Documentation is not clear
I dont think typegen is working as expected per documentation, by following the provided example and adapting it to my parachain.
`
Found 244 errors in 5 files.
Errors Files
5 src/interfaces/augment-...
1
vote
1
answer
239
views
What is chain decimal?
I saw token decimal has different value like 12, 10, 6 in different substrate chain, What exactly it means and what is the use of it?
3
votes
0
answers
47
views
"Not Requested Block Data" synching a parachain node
I am facing an issue with syncing new nodes to the bootnodes of my parachain on Kusama. The bootnodes were synced using the following commands:
For fast sync: binary --chain <parachainchain> -- ...
1
vote
0
answers
27
views
I want to clone a stable coin project in Rust but having a lot of errors
I am facing too much errors when I clone this project, I want to create a stable coin in substrate I found this repository https://github.com/1010adigupta/ink-Stable-Coin
But after installing rust ...
1
vote
1
answer
20
views
What is a concrete use case for cumulus's ability to return custom head data
This question is about cumulus PR https://github.com/paritytech/cumulus/pull/825. What is an example of when I would want to use custom head data.
The PR description itself says:
This can be for ...
0
votes
1
answer
29
views
XcmError::TooExpensive When trasfering fungible assets between statemine & trappist parachains with rococo relay chain (limitedReservedTransferAssets)
I'm trying to test transfer of fungible assets from Statemine to Trappist with Rococo relay chain to integrate assets to my custom parachain. First of all, I tried to repeat the steps shown in the ...
1
vote
0
answers
43
views
Recovering a Bricked (no block production) Parachain on Rococo, Kusama, & Polkadot
Introduction
In the Substrate ecosystem, a bricked parachain – one that has halted block production – presents a unique set of challenges. This situation can occur in various environments, notably on ...
1
vote
1
answer
93
views
Parachain not including all transactions from tx pool into block
Context
OriginTrail Parachain Mainnet is pushing significant amount of transactions (175k/day) - with tendency of growth
Collators are filling blocks up at ~25% of block weight, with a large pending ...
1
vote
2
answers
56
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
...
3
votes
0
answers
32
views
Error in integration of pallet-session in chain-spec
I'm trying to add parachain-staking pallet in the solochain which is based on POA with Aura. For that I need to integrate pallet session but in the integrating of pallet-session in chain spec I'm ...
2
votes
1
answer
33
views
How to join substrate as infrastructure provider
I wanted to know the complete process of joining polkadot builders as infrastructure provider but could not get a proper guide explaining that. Can someone please tell the process and what happens in ...
1
vote
0
answers
15
views
How to log from parachain's validate_block function
I would like to investigate and debug the way my parachain runtime's validate_block function is executing. As a first attempt I've placed some log lines in my validate_block implementation.
The ...
2
votes
1
answer
66
views
Integrating Parachain-Staking Pallet in Solochain: Transitioning from POA to Proof of Stake
Is it possible to integrate the parachain-staking pallet into my solochain? I want to transition my chain's consensus mechanism from POA to proof of stake using a parachain-staking pallet in my ...
0
votes
0
answers
23
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, ...
1
vote
1
answer
17
views
How many collators are selected at a time or we can say same block height to authorise a parachain block?
"I'm trying to understand the mechanics of parachain block authorization in blockchain networks like Polkadot and similar multi-chain systems. Specifically, I'd like to know:
How many collators ...
2
votes
1
answer
30
views
Query for a polkadot connect parachain's lease time
Is there a simple way to query polkadot in order to get which block will be the last block of the lease period?
I want to be able to query polkadot in order to see how long a certain parachain has ...
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
0
answers
45
views
What is a ConsensusHook?
https://github.com/paritytech/polkadot-sdk/blob/769bdd3ff33a291cbc70a800a3830638467e42a2/cumulus/pallets/parachain-system/src/consensus_hook.rs#L61
The definition of a [ConsensusHook] trait for ...
2
votes
0
answers
44
views
How to solve Failed to get runtime version issue?
I recently upgraded the chain from version 0.9.36 to 1.0.0. Following this update, when attempting to perform a runtime upgrade on the blockchain, I encountered an error that resulted in the chain no ...
2
votes
1
answer
38
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: ...
3
votes
1
answer
40
views
Is it necessary to create a new coin when building a parachain?
Ethereum rollups (e.g. Optimism) use ETH as their base asset for paying gas fees.
Is it possible to use DOT for paying gas fees on a parachain? Or does the parachain creator need to create their ...
1
vote
0
answers
43
views
Parachain stuck at authoring runtime upgrade block
Our testnet parachain is stuck exactly at the block in which the runtime upgrade is authored. It was authorized and enacted via parachainSystem as recommended. The upgrade neither includes any ...
1
vote
0
answers
14
views
Trying to use sc-cli directly from path in polkadot-v0.9.28
I am trying to build a parachain using polkadot-v0.9.28 with the sc-cli lib in my project. I am trying this to hardcode a CORS origin in the run_cmd module.
I am doing all this because defining ...
1
vote
1
answer
58
views
An argument of type `ark_ec::short_weierstrass::Affine<BandersnatchConfig>` is missing
I wanna to build a parachain to run it localy .
The rust version I am using is : rustc 1.72.0 (5680fa18f 2023-08-23)
But when I run the command : cargo build --release it show me this error :
...
2
votes
2
answers
137
views
If a parachain has executed a lease swap, is the DOT in the original crowdloan still returned at the conclusion of the parachain's original lease?
If a parachain has executed a lease swap, is the DOT in the original crowdloan still returned at the conclusion of the parachain's original lease, or does it continue to be locked for the duration of ...
1
vote
1
answer
29
views
How to make a HRMP channel between two parachains in mock.rs?
I'm working on one pallet in which i have to initiate hrmp channel within the code of both "mock.rs" and in the "test.rs.". Can someone please guide me through this?
1
vote
1
answer
24
views
Is it possible to do xcm transfers between parachains without a channel opened?
I'm experiencing something that I consider some weird behavior :)
I set up two parachains and somehow I can transfer native tokens between them without opening a channel :O
Here you can find the ...
1
vote
0
answers
42
views
Error registering parachain using zombienet
Getting this message in the log
2023-08-12 02:58:12 [Parachain] Could not find the header of the genesis block in the database! block_hash=...
2
votes
2
answers
132
views
FailedToTransactAsset error while sending assets from local Statemint(AssetHub) to other Parachain
I'm facing the FailedToTransactAsset error while trying to send assets from Statemint to another parachain.
So basically I have the following configuration:
Relay chain
Polkadot relay chain running ...
1
vote
2
answers
62
views
XcmError "UntrustedReservedLocation" & "TooExpensive" while transfer assets between two parachains (limitedReservedTransferAssets)
I'm trying to integrate stablecoin into parachain.
First of all, I tried to repeat the steps shown in the video (https://www.youtube.com/watch?v=UfxU3hUprKo&t=1182s) with standard settings:
...
0
votes
1
answer
17
views
Incorrect output of prometheus metrics
has anyone come across the fact that prometheus metrics from the collator and embedded relay chain return the official name - rococo_local_testnet, although the collator name in chainspec is ...
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
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 ...
3
votes
0
answers
53
views
Failed to execute hrmp open request on polkadot
We recently sent XCM messages from Phala to Polkadot to send HRMP open requests to PolkaDex parachain. We constructed the message as usual, but the message failed to execute on Polkadot. I haven't ...
3
votes
0
answers
97
views
Proposals not getting processed, Consensus Issues on Rococo
Context:
A parachain in Rococo is missing more block slots than I would expect it to at fairly random times.
Version: Polkadot v0.9.42
Number of Collators: 3
Logging:
(Perhaps I am missing the correct ...
1
vote
1
answer
28
views
Way to force a new Session when using pallet_session?
There are likely reasons for this, but I'm not sure what they are yet.
In a parachain using pallet_session, is there a way for sudo/root/governance to force a session to rotate faster/cut a session ...
0
votes
1
answer
18
views
Is there a way to set a maximum balance for the assets registered in pallet-assets?
We want to register USDT on our parachain to receive USDT transfered from Statemint, but we need to set a limit to avoid receive too much USDT. Is there a way to do this?
6
votes
0
answers
54
views
No block produced/validated on parachain for almost a day
We upgraded our testnet Shibuya yesterday, for which we have our own validator network, and block production stalled for almost a whole day. The block on which it was stuck was the one where the ...
0
votes
0
answers
17
views
batchall.sign throws TypeError: Cannot read properties of undefined (reading 'specVersion')
Trying to form a batchAll command that carries out 2 activities:
Deposit 1 GLMR from wallet1 to wallet2
Cancel tokens' delegation revoke
When I try to sign the batch with wallet1 (batchAllExtrinsic....
0
votes
1
answer
16
views
Error upload smart contract
The pallet-contract version is 0.9.29
Error uploading new contract using Polkadot.JS
2
votes
1
answer
30
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 ...
0
votes
1
answer
38
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 ...
3
votes
2
answers
39
views
Is it possible to bootstrap a parachain node from pre-existing solo chainstate?
Let's imagine a scenario where a team is running a substrate private network and have all their chainstate that they want to move to a parachain after acquiring a slot. My question is, when the team ...
2
votes
0
answers
100
views
Troubleshooting Persistent Error Following Parachain Runtime Upgrade Despite Code Modification
We recently attempted a runtime upgrade on our parachain testnet (wss://moonbeam-integration-parachain.polkadex.trade) and made some modifications to the validate_unsigned code, specifically ...
1
vote
1
answer
191
views
Is parachain a data structure?
In Polkadot docs, Parachain is defined as:
A parachain is an application-specific data structure that is globally
coherent and can be validated by the validators of the Relay Chain.
Why have they ...
1
vote
1
answer
40
views
Address already in use
I am following a tutorial. What I am trying to connect two different nodes to each other who are Alice and Bob. Alice node works properly, but Bob node gets this following error:
2023-07-09 18:20:01 🏷...
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 ...