Skip to content

Commit

Permalink
chore: cleanup some specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Meshiest committed Dec 15, 2024
1 parent db89f57 commit c940fde
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 27 deletions.
4 changes: 4 additions & 0 deletions crates/common/src/schema/nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ use crate::{
/// A document describing the node infrastructure for a test.
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct NodesDocument {
#[serde(default)]
pub name: String,
#[serde(default)]
pub description: Option<String>,

/// The network to use for all nodes.
///
/// Determines if /mainnet/ or /testnet/ are used in routes.
///
/// Also determines which parameters/genesis block to use
#[serde(default)]
pub network: Option<NetworkId>,

#[serde(default)]
Expand Down
22 changes: 0 additions & 22 deletions specs/canary-clients.yaml

This file was deleted.

File renamed without changes.
5 changes: 5 additions & 0 deletions specs/mainnet-clients.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
kind: snops/nodes/v1
network: mainnet
nodes:
client:
replicas: 4
2 changes: 0 additions & 2 deletions specs/persist-4-validators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ regen: 1

---
kind: snops/nodes/v1
name: my-local-mainnet

nodes:
validator/test:
replicas: 4
Expand Down
4 changes: 1 addition & 3 deletions specs/testnet-4-validators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ name: 4-validators
network: testnet

nodes:
validator/test:
validator:
replicas: 4
key: committee.$
height: 0
validators: validator/*
peers: []

0 comments on commit c940fde

Please sign in to comment.