sei-protocol / sei-chain

Apache License 2.0
2.67k stars 797 forks source link

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

Closed cordt-sei closed 3 weeks ago

cordt-sei commented 3 weeks ago

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.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1719/graphs/tree.svg?width=650&height=150&src=pr&token=DG7ZZJ3PVV&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1719?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol) ```diff @@ 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](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1719/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)