-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for polkadot-dev
#1449
Comments
related to paritytech/polkadot-sdk#1256, ping @michalkucharczyk there is a way to generate the spec currently in master? I saw that the |
Bringing back chain-specs for kusama and polkadot is planned in: paritytech/polkadot-sdk#1984
Some internal structures of the chain spec (e.g. the layout of seession keys) needs to be temporarily hardcoded somewhere. |
Thank you both for the answers! I'm tagging @carlosala who works at @Zondax and needs this functionality to be able to test the new ledger app with the changes the new runtime will have. With Referenda #297 being voted on Kusama, this is a bit time critical now. For the moment, Carlo needs to be able to actually test the same runtime as Kusama locally with Zombienet. Two validator nodes would be more than enough in this case. Thanks! :)) |
there is also a tool, added by @bkchr , this may help: |
Hi @SBalaguer / @carlosala, as @michalkucharczyk shared you can use that branch to use the 1 - Generate the raw chain spec, from this branch of the runtime repo with
2- You can spawn the network using this network definition (in [relaychain]
default_image = "docker.io/parity/polkadot:latest"
default_command = "/tmp/polkadot-sdk/target/release/polkadot"
default_args = [ "-lparachain=debug" ]
chain = "kusama-local"
chain_spec_path = "/tmp/kusama-local-raw.json"
[[relaychain.nodes]]
name = "alice"
[[relaychain.nodes]]
name = "bob" Is you are using the ./zombienet -p native spawn <path to toml> (Note: this command assume that you have downloaded the latest version of zombienet and you make it executable) Ping me if you have questions. |
Closing here, this already landed in the latest version. |
I have to reopen this issue as it is not yet fully supported using runtimes from Right now it is only possible when using the chain_spec raw version, but that is limiting when used in a Zombienet Something like a new |
As workaround until we get the new tool from paritytech/polkadot-sdk#1984,
cc @SBalaguer / @NachoPal Closing here, please re-open if needed. |
Is your feature request related to a problem? Please describe.
In the past when the runtime was part of the release, one could run a local version of Polkadot buy passing the flag
--chain polkadot-dev
. Now, however, the Polkadot Runtime is being released from the fellowship repositorty (https://github.com/polkadot-fellows/runtimes), and therefore the Substrate Node and the Polkadot Runtime are released from different places.Describe the solution you'd like
Ideally I could run a local instance of Polkadot with Zombienet for testing purposes.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: