Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
--no-dkg-in-genesis \
--output generated \
--coinbase 0xbba20Bb99dA4E103721B754b25071Fc85e7028A1
cargo xtask generate-genesis \
--accounts 5 \
--no-dkg-in-genesis \
--output dev-generated \
- name: Compare with existing test genesis
run: |
# Compare the generated genesis with the existing test-genesis.json
Expand All @@ -42,6 +46,13 @@ jobs:
else
echo "Generated genesis matches test-genesis.json"
fi
if ! diff -u crates/chainspec/src/genesis/dev.json dev-generated/genesis.json; then
echo "Generated dev genesis differs from existing dev.json"
echo "Please update the dev.json file with the generated content"
exit 1
else
echo "Generated dev genesis matches dev.json"
fi

test:
name: test
Expand Down
Loading
Loading