From fb53909fc420d2bbd877538281ed0c770667ab3b Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 4 Jun 2024 05:27:27 +0800 Subject: [PATCH] Add zombienet --- .gitignore | 12 ++++++------ .maintain/zombienet.toml | 23 +++++++++++++++++++++++ README.md | 2 +- .maintain/mission.png => logo.png | Bin 4 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 .maintain/zombienet.toml rename .maintain/mission.png => logo.png (100%) diff --git a/.gitignore b/.gitignore index d2d8f18f7..505adf130 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1,17 @@ # System .DS_Store -# Integrated Development Environment +# Integrated development environment .idea .vscode -# Package Manager -## cargo +# Package manager +## Cargo target -# nix +# Nix shell.nix -## npm +## NPM node_modules # Test data -test-data +tmp diff --git a/.maintain/zombienet.toml b/.maintain/zombienet.toml new file mode 100644 index 000000000..b87bd1f93 --- /dev/null +++ b/.maintain/zombienet.toml @@ -0,0 +1,23 @@ +[relaychain] +chain = "rococo-local" +default_args = ["--database=paritydb", "-lparachain=debug"] +default_command = "tmp/polkadot" + +[[relaychain.nodes]] +name = "alice" +validator = true +[[relaychain.nodes]] +name = "bob" +validator = true + +[[parachains]] +chain = "koi-local" +id = 2105 + +[parachains.collator] +args = ["--database=paritydb", "--force-authoring", "-lparachain=debug"] +command = "tmp/darwinia" +name = "collator01" + +[settings] +provider = "native" diff --git a/README.md b/README.md index 03deedccf..4fed26e58 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-![mission](./.maintain/mission.png) +![mission](./logo.png) [![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![CI](https://github.com/darwinia-network/darwinia/actions/workflows/checks.yml/badge.svg)](https://github.com/darwinia-network/darwinia/actions/workflows/checks.yml/badge.svg) diff --git a/.maintain/mission.png b/logo.png similarity index 100% rename from .maintain/mission.png rename to logo.png