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

Fixes local network in /scripts/run-node.py #1719

Merged
merged 4 commits into from
Jun 11, 2024
Merged

Conversation

cordt-sei
Copy link
Contributor

Corrected order of operations to handle "local" mode properly, fixes 'nil validator set' error.

Corrected version handling, working directory and interrupting main script at proper time when "local" mode selected.

Corrected the order of operations to handle "local" mode properly, fixes 'nil validator set' error.
Several streamlining and UX improvements/fixes

- Refactored script logic into manageable functions
- Implemented logging using the logging module
- Improved error handling throughout the script
- Added prompts for environment and database backend selection
- Ensured correct directory and file creation with appropriate permissions
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.53%. Comparing base (35a7bf0) to head (79235e8).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1719      +/-   ##
==========================================
- Coverage   60.62%   60.53%   -0.10%     
==========================================
  Files         370      370              
  Lines       27436    27436              
==========================================
- Hits        16634    16608      -26     
- Misses       9661     9689      +28     
+ Partials     1141     1139       -2     

see 2 files with indirect coverage changes

@cordt-sei cordt-sei merged commit 033cf29 into main Jun 11, 2024
47 checks passed
@cordt-sei cordt-sei deleted the update-launch-script branch June 11, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants