Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare consensus scripts to add tests to CI #90

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

MartinMinkov
Copy link
Contributor

No description provided.

refactor(run-compare.ts): remove usage comment, use process.exit for error handling and success scenarios in compareFiles function for better process control
… process precomputed blocks

feat(tests/consensus): add 'zip-blocks.sh' script to download, filter and zip precomputed blocks based on a date range for easier data handling and storage
feat(package.json): update scripts to support new consensus test flow
feat(download-precomputed.sh): add script to download and unzip precomputed blocks
refactor(run-compare.ts): replace environment variables with command line arguments
feat(run-consensus-apps.sh): add script to run consensus apps and compare results
refactor(select-consensus-precomputed.ts): replace environment variables with command line arguments
refactor(zip-blocks.sh): update script to download, process, archive and upload precomputed blocks

These changes were made to improve the consensus testing flow by adding support for downloading and processing precomputed blocks, running consensus apps, and comparing the results. The scripts in package.json were updated to support this new flow. The .gitignore file was updated to ignore test artifacts. Environment variables in run-compare.ts and select-consensus-precomputed.ts were replaced with command line arguments for better flexibility. The zip-blocks.sh script was refactored to download, process, archive and upload precomputed blocks.
…est related scripts

feat(tests/consensus/scripts): add new scripts for downloading, running consensus apps and uploading precomputed data
refactor(tests/consensus/scripts): improve scripts by adding error handling, usage instructions and making them more modular
remove(tests/consensus): delete old scripts as they have been replaced by new ones in scripts directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant