Questions tagged [cumulus]
Questions about the library used to convert a Substrate chain to a Polkadot Parachain.
23
questions
0
votes
1
answer
12
views
trait `parity_util_mem::malloc_size::MallocSizeOf` is not implemented for `unchecked_extrinsic::UncheckedExtrinsic<Address, Call, Signature, Extra>`
I was trying adding Frontier as a dependency to my parachain project...
After fixing a few errors and adding UncheckedExtrinsic & CheckedExtrinsic:
pub type UncheckedExtrinsic =
...
0
votes
1
answer
19
views
error: failed to select a version for `parity-db`
I was trying to add Frontier as a dependency of my parachain(Substrate Cumulus based) project...
$ cargo build -r
Updating git repository `https://github.com/PNetwork/frontier`
Updating ...
1
vote
1
answer
56
views
How to calculate weight on cumulus
I am a bit confused about this. If I have a pr on Substrate that requires a companion on Cumulus that adds to the weight file for a given pallet, how do I calculate the weight? I can run the benchmark....
1
vote
1
answer
31
views
Cumulus extrinsic weight
Are the benchmarks run on the same machine in the cumulus repository as the ones in the substrate? That is, is the weight in weights.rs files the same in these two repositories?
Edit: The weights in ...
1
vote
0
answers
32
views
Pending Extrinsic not executed on block producing parachain
I have followed the tutorial and have reached the step where parachain is now producing and finalising block with a local relay chain. Transactions on chain and DMP (teleport asset) all works well. I ...
0
votes
1
answer
39
views
Sending assets from parachain to relaychain resulting in asset not found
I am trying to send assets from parachain to relaychain from polkadotXcm extrinsic reserveTransferAssets and teleportAssets in polkadotjs app, but it is giving me Asset Not Found error, I am not sure ...
1
vote
1
answer
67
views
parachain-system can not get ParachainInherentData After runtime upgrade
Before this setCode upgrade, our parachain works well.
After setCode upgrade, we get the following error log.
Jun 02 09:39:36 Parami-AWS-SFO-DANA-01 parami[490]: 2022-06-02 09:39:36 ⚠️ ParachainSystem ...
1
vote
1
answer
10
views
Example of MockValidationDataInherentDataProvider usage
Is there any example of how to use MockValidationDataInherentDataProvider to run a parachain with mock validation? I've been looking all over and can't seem to find any documentation or example of it'...
5
votes
1
answer
37
views
What is the current state of Swappable Consensus and Re-Genesis
I've found these two open issues:
Re-Genesis #7458
Swappable Consensus #1304
and would be interested if there is more practical guidance on an example basis?
1
vote
1
answer
30
views
Why is the collator node producing and finalizing blocks at such a fast rate?
I am reading the Cumulus docs on running a node:
https://github.com/paritytech/cumulus#build--launch-a-node
Why is it that when I run:
./target/release/polkadot-collator --tmp --chain westmint
...
0
votes
2
answers
37
views
Parachain config for Rococo public test network
How to config a locally tested parachain to connect it to the Rococo public test-network?
I mean on the startup phase (before the Rococo Slot Request Form), following the Cumulus tutorial: after ...
3
votes
1
answer
70
views
How to deploy a parachain node and connect it to an existing relay chain node?
I deployed a relay chain node using the provided docker container:
docker run \
--detach \
--name=polkadot \
--volume="$(pwd)/data:/data" \
--network=host \
--entrypoint=...
6
votes
1
answer
107
views
My parachain has not been able to issue a block after submitting the upgrade transaction
network: rococo live
this is my parachain log.
0
votes
1
answer
51
views
How many collators of a registered parachain must be synchronised with the Rococo relay chain for that parachain to generate and finalize blocks?
I want to determine the minimum amount of collators that a specific parachain that is registered on the Rococo network must have running in order for them to generate and finalize blocks once they ...
-1
votes
1
answer
50
views
XCM message transfer failed. relaychain report `Error: Barrier`
When I was doing cross-chain messaging (parallel chain A to parallel chain B), parallel chain A sent an XCM message (successfully). After receiving the message, the relay chain was supposed to send it ...
4
votes
1
answer
25
views
How to deregister a parathread?
If I want to de register a parathread I have previously registered, which steps should I follow ?
What happens with the deposit ?
3
votes
1
answer
30
views
how to specify the node's telemetry name for the relay chain when running a parachain node
when running a parachain, we can specify arguments for the relay chain, by adding a double-dash (--) separator between parachain and relay chain arguments, like so:
$ calamari \
--name '🦑 marmara'...
6
votes
2
answers
28
views
What is head data and how do I get it?
When registering a parachain on a relay-chain you need to provide something called head data (or also referred as genesis state) and wasm.
What is this head data and how do I get that?
-3
votes
1
answer
32
views
function or associated item not found in `parachain_info::Pallet<Runtime>`
I referred to parachain_info normally, but couldn't call his get method
717 | Parachain(ParachainInfo::get().into())
| ^^^ function or ...
8
votes
1
answer
52
views
How to reset a parachain with a new genesis on rococo?
I want to reset a parachain currently active on the rococo testnet. There is documentation on how to register a new parachain. But what do I need to do in order to restart an existing parachain? I ...
7
votes
2
answers
128
views
How do I connect my parachain to Rococo?
I have completed the Cumulus tutorial and tested my parachain on rococo-local to work as expected. I would like to connect to the public testnet, but I don't have sudo capabilities to add my parachain....
4
votes
1
answer
31
views
Docker and Substrate with Apple Silicon/M1 Chips
Getting qemu errors when trying to build cumulus/polkadot on the container with the official image FROM docker.io/paritytech/ci-linux:production as builder
qemu-x86_64: could not open '/lib64/ld-linux-...
13
votes
1
answer
79
views
What is Cumulus?
How does Cumulus relate to Polkadot? What is the difference between the two?
Can I launch a chain without Cumulus? Are there any good documentation around the interactions between the two?