-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test ci * Test ci 2 * Test ci 3 * Test ci 4 * Gitkeep state dir for temp genesis files * Test if ci works & revert python script * Remove comments of cis * Reduces unnecessary sleep * New script using git diff * Test ci works * Test ci * CI should work
- Loading branch information
Showing
4 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# Run make command | ||
make genesis | ||
|
||
sleep 1 | ||
|
||
# Check if script generates different genesis | ||
git diff --exit-code ./resources/ | ||
|
||
if [ $? -ne 0 ]; then | ||
echo "Differences found in genesis files." | ||
exit 1 | ||
fi | ||
|
||
echo "All directories are identical." | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# Compiler files | ||
cache/ | ||
out/ | ||
state/ | ||
state/*.json | ||
|
||
|
||
# Ignores development broadcast logs | ||
!/broadcast | ||
|
Empty file.