Skip to main content
15 votes

How to open HRMP channels between parachains?

Feel free to update/modify this if you see something that can be improved upon Opening HRMP channels between parachains If you are new to XCM, read the following: https://polkadot.network/blog/xcm-...
Bruno's user avatar
  • 8,315
11 votes
Accepted

How do I spin up a testnet with Zombienet?

You'll need to download the Zombienet executable. You can find linux and macOS executables of the Zombienet CLI here: https://github.com/paritytech/zombienet/releases Download the Zombienet CLI ...
Bruno's user avatar
  • 8,315
5 votes
Accepted

How to make Zombienet test files from a docker-compose yaml file?

There are a few things that jumped at me looking at those configurations: apt-get install -y wget; should be done as part of the container setup, if you need this, derive another container from ...
drahnr's user avatar
  • 386
4 votes
Accepted

Zombienet: Substrate-Parachain-Template ... How to write the Dockerfile?

I have pushed a new version of zombienet (v1.2.36) and created this demo repo substrate-parachain-template-zombienet from the parachain-template and I added two dockerfile options (one injecting the ...
pepoviola's user avatar
  • 792
4 votes
Accepted

Error creating asset in moonbeam with zombienet

This is not a Zombienet issue. This is a CallFilter issue. It may be that your moon-xxx chain is running with a NormalFilter: /// Normal Call Filter /// **We dont allow to create nor mint assets**, ...
Bruno's user avatar
  • 8,315
4 votes
Accepted

Zombienet error running polkadot v0.9.37

The issue is not with Zombienet, is with your binary. You have to downgrade to nightly 1.68 and build your binary again. See this previous StackExchange discussions where this was fixed: Cannot run ...
Alex Bean's user avatar
  • 5,757
4 votes
Accepted

How to create wrapped DOT asset on local setup

To my knowledge this has to do with not being able to pay for fees. Yes. To configure any customized asset to pay XCM fees, you must set the fee payment unit per second with xcAssetConfig....
Shaun's user avatar
  • 111
3 votes
Accepted

Error running Astar parachains with zombienet

I changed the first id to 2006 and It worked.
Ruben G's user avatar
  • 333
3 votes
Accepted

Zombienet: test fails after changing parachain id

https://github.com/paritytech/polkadot/blob/decdbedea6d49b0604fee3241970a7ff383fe1db/parachain/test-parachains/adder/collator/src/main.rs#L87 If there is none provided via the CLI, the adder collator ...
drahnr's user avatar
  • 386
3 votes
Accepted

Parachains not producing blocks with polkadot release-v1.4.0

as I mention in my comment using the latest version of zombienet will work with that config but you need to compile polkadot with fast-runtime to reduce the epoch time (parachains start to producing ...
pepoviola's user avatar
  • 792
2 votes

Zombienet: how to build a docker image with my parachain and adder-collator binary?

the adder-collator is very simple collator used for testing purposes and is compiled from the polkadot repo cargo build --profile testnet --verbose -p test-parachain-adder-collator And then injected ...
pepoviola's user avatar
  • 792
2 votes

Zombienet: cannot exec into a container in a completed pod; current phase is Succeeded

the issue here is the command for exporting the genesis-state / genesis-wasm. launching temp-collator pod with image gcr.io/p-network-202104/collator:latest with command: bash -c adder-...
pepoviola's user avatar
  • 792
2 votes
Accepted

Zombienet: How to confirm if my parachain is producing blocks?

yes looks like the parachain is producing blocks. Also, I will fix the tail logs command asap and draft a new release. For reference, in this case should be kubectl logs -f collator01 -c collator01 -n ...
pepoviola's user avatar
  • 792
2 votes

Zombienet: how to test custom parachain collator - block height(producing blocks) test

looks like your parachain collator is based on cumulus (and not on one of the testnet like adder-collator), in that case you need to use the flag cumulus_based in the parachain definition. [relaychain]...
pepoviola's user avatar
  • 792
2 votes
Accepted

How to use a RPC port during Zombienet tests?

There are two nodes inside a collator. One is the relaychain the other is the parachain. When you type ./collator --rpc-port xxx -- --rpc-port xxx. The first parameter(the one before the --) apply to ...
AurevoirXavier's user avatar
  • 10.7k
2 votes

zombienet vs parachain-launch

As you said for beginners point of view the are very similar, so is up to you which with one you feel more comfortable and which one is easier for you. You can read this discussion on the Polkadot ...
Alex Bean's user avatar
  • 5,757
2 votes

Debugging zombienet config after using hrmp channels

thanks for using zombienet and open this questions. The keys to set an hrmp channel are max_capacity and max_message_size (you can check the docs. With this change the network should spin as expected. ...
pepoviola's user avatar
  • 792
2 votes
Accepted

limitedReserveTransferAssets WeightNotComputable error

As far as i can see the issue must be related with your local setup: You are configuring both parachains in zombienet (1000/2000) with the Statemine runtime and my guess is that this Statemine ...
Hector Bulgarini's user avatar
2 votes

Getting Command failed with exit code when running substrate-parachain-template version polkadot-v1.0.0 with zombienet

quick workaround for this issue (as described here https://github.com/paritytech/zombienet/issues/1237#issuecomment-1675507189), is to run zombienet with concurrency set to 1. zombienet-macos -p ...
pepoviola's user avatar
  • 792
2 votes
Accepted

Opening crowdloan for already running parachain with same ParaId

There are two things to consider here, non of which are changed with RFC-14: A paraID can't have a Crowdloan Fund if there is already an existing fund mapped to that paraID (source). A Crowdloan Fund ...
Santiago Balaguer's user avatar
1 vote
Accepted

Can't configure the test network settings

Switch to release-v1.0.0 branch and recompile. This is due to the fact that on master, since this PR, polkadot has two other binaries (workers) that you need to compile.
Daan van der Plas's user avatar
1 vote
Accepted

Running a local network with zombienet doesn't work

first let me point that the answer you use as reference is pointing to download zombienet from the releases page but the wget command used as example is downloading and old version. One easy way to ...
pepoviola's user avatar
  • 792
1 vote

How to use a RPC port during Zombienet tests?

You need to specify the --rpc-port in your network file in Zombienet tests. See how I can specify port 6969 to be my collator RPC port: [parachains.collator] name = "collator01" image =...
Russo's user avatar
  • 1,193
1 vote
Accepted

Remove --parachain-id flag from zombienet

the flag for the parachain is cumulus_based. Should work with this config. Thanks!! [[parachains]] id = 100 cumulus_based = true [parachains.collator] name = "collator01" ...
pepoviola's user avatar
  • 792
1 vote
Accepted

Where does zombienet store the chainstate?

zombienet was build with the goal of spawn and test ephemeral networks and with that purpose it will create an use a new directory in your /tmp directory for each network that you spawn by default (in ...
pepoviola's user avatar
  • 792
1 vote
Accepted

How to run Zombienet with native built binaries?

thank you for Zombienet team's quick reply! For my fixed network file above: default_command = "polkadot" => Rename your built polkadot validator binary to "polkadot" command = &...
Russo's user avatar
  • 1,193
1 vote
Accepted

Run JavaScript Js scripts in Zombienet tests and assert on the completeness or return value

thanks for your feedback! The custom js script must export a function call run that zombienet will call as part of the assertion. You can check as example https://github.com/paritytech/zombienet/blob/...
pepoviola's user avatar
  • 792
1 vote
Accepted

How to setup custom parachain name, Kubectl, Minikube in Zombienet tests in Github CICD

The cause 1: git rebase did not work properly! Solution: overwrite the code with your latest main branch code, then add your Zombienet & docker files: add new files: .dockerignore, docker/, ...
Russo's user avatar
  • 1,193
1 vote
Accepted

Zombienet: Substrate-Parachain-Template ... block height(block producing) test failed

See the correct Dockerfile and Zombienet network definition file at Zombienet: Substrate-Parachain-Template ... How to write the Dockerfile?
Russo's user avatar
  • 1,193
1 vote
Accepted

What files do I need to make a docker image for running Zombienet tests?

you only need to add copy the parachain-collator binary to the image to use in CI. You can check the collator_injected.Dockerfile from the polkadot repo.
pepoviola's user avatar
  • 792

Only top scored, non community-wiki answers of a minimum length are eligible