-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parachain config & Add zombienet config (#216)
- Loading branch information
Showing
5 changed files
with
67 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[package] | ||
name = "contracts-node" | ||
version = "0.33.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
version.workspace = true | ||
authors.workspace = true | ||
description = "Substrate node configured for smart contracts via `pallet-contracts`." | ||
edition = "2021" | ||
license = "Unlicense" | ||
edition.workspace = true | ||
license.workspace = true | ||
build = "build.rs" | ||
homepage = "https://github.com/paritytech/substrate-contracts-node" | ||
repository = "https://github.com/paritytech/substrate-contracts-node" | ||
homepage.workspace = true | ||
repository.workspace = true | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This sample Zombienet configuration file can be used to spawn a local network with a relaychain | ||
# and a substrate-contracts-node parachain. | ||
# | ||
# Requirements: | ||
# - Install zombienet from https://github.com/paritytech/zombienet/releases. | ||
# - Build `polkadot`, `polkadot-execute-worker` and `polkadot-prepare-worker` from `polkadot-sdk` and make the binaries available in your path. | ||
# - Build or install `substrate-contracts-node` and make the binary available in your path. | ||
# | ||
# Usage: | ||
# zombienet spawn --provider native zombienet.toml | ||
|
||
[relaychain] | ||
chain = "rococo-local" | ||
command = "polkadot" | ||
|
||
[[relaychain.nodes]] | ||
name = "alice" | ||
args = [ "--alice", "-lruntime=debug,parachain=trace" ] | ||
|
||
[[relaychain.nodes]] | ||
name = "bob" | ||
args = [ "--bob", "-lruntime=debug,parachain=trace" ] | ||
|
||
[[parachains]] | ||
id = 100 | ||
addToGenesis = true | ||
chain = "contracts-parachain-local" | ||
|
||
[parachains.collator] | ||
name = "collator01" | ||
rpc_port = 9944 | ||
command = "substrate-contracts-node" | ||
args = [ "-lerror,runtime::contracts=debug,runtime::contracts::strace=trace" ] |