Skip to content

Commit

Permalink
Add zombienet (#1508)
Browse files Browse the repository at this point in the history
* Rename

* Add zombienet
  • Loading branch information
AurevoirXavier authored Jun 4, 2024
1 parent c773c64 commit e043cf8
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions .maintain/zombienet.toml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">

![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)
Expand Down
File renamed without changes
12 changes: 6 additions & 6 deletions node/src/chain_spec/koi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ fn session_keys(keys: AuraId) -> SessionKeys {
pub fn development_config() -> ChainSpec {
ChainSpec::from_genesis(
// Fulfill Polkadot.JS metadata upgrade requirements.
"Koi D",
"koi-d",
"Darwinia Koi D",
"darwinia-koi-d",
ChainType::Live,
move || {
testnet_genesis(
Expand Down Expand Up @@ -92,8 +92,8 @@ pub fn development_config() -> ChainSpec {
pub fn local_config() -> ChainSpec {
ChainSpec::from_genesis(
// Fulfill Polkadot.JS metadata upgrade requirements.
"Koi L",
"koi-l",
"Darwinia Koi L",
"darwinia-koi-l",
// Fulfill Polkadot.JS metadata upgrade requirements.
ChainType::Live,
move || {
Expand Down Expand Up @@ -140,8 +140,8 @@ pub fn local_config() -> ChainSpec {

pub fn genesis_config() -> ChainSpec {
ChainSpec::from_genesis(
"Koi",
"koi",
"Darwinia Koi",
"darwinia-koi",
ChainType::Live,
move || {
RuntimeGenesisConfig {
Expand Down

0 comments on commit e043cf8

Please sign in to comment.