Skip to content

Commit

Permalink
Update chain references
Browse files Browse the repository at this point in the history
  • Loading branch information
stakeworld committed Nov 15, 2024
1 parent 1ebbcf6 commit 8a33c3a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions scripts/sizeup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
# STAKEWORLD 2023
# Make size graphs of substrate nodes
# Run this script in crontab

Expand Down Expand Up @@ -98,6 +97,12 @@ do
if grep -q 'chain bridge-hub-kusama' "/etc/systemd/system/$i.service"; then
chain="bridge-hub-kusama"
fi
if grep -q 'chain coretime-kusama' "/etc/systemd/system/$i.service"; then
chain="coretime-kusama"
fi
if grep -q 'people-kusama.json' "/etc/systemd/system/$i.service"; then
chain="people-kusama"
fi
if grep -q 'chain bridge-hub-polkadot' "/etc/systemd/system/$i.service"; then
chain="bridge-hub-polkadot"
fi
Expand All @@ -107,7 +112,7 @@ do
if grep -q 'encointer-kusama' "/etc/systemd/system/$i.service"; then
chain="encointer-kusama"
fi
if grep -q 'paseo.raw.json' "/etc/systemd/system/$i.service"; then
if grep -q 'chain paseo' "/etc/systemd/system/$i.service"; then
chain="paseo"
fi
if grep -q 'asset-hub-paseo.raw.json' "/etc/systemd/system/$i.service"; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ do
if grep -q 'chain westend' "/etc/systemd/system/$i.service"; then
chain="westend2"
fi
if grep -q 'paseo.raw.json' "/etc/systemd/system/$i.service"; then
if grep -q 'chain paseo' "/etc/systemd/system/$i.service"; then
chain="paseo"
fi

Expand Down

0 comments on commit 8a33c3a

Please sign in to comment.